摘要:
A programming interface provides functions for generating applications, documents, media presentations and other content. These functions allow developers to obtain services from an operating system, object model service, or other system or service.
摘要:
A system theme schema file format includes declarations of enumerations, properties, control parts, and control part states for providing extensible theming of the visual appearance of a computer operating system's user interface components. Custom theme schema files can extend the system theme schema by adding declarations of custom enumerations, custom properties, custom control part, and custom control part states, thereby participating in theming of the visual appearance of components of the computer's operating system. The schema files establish the allowable form and content of data that specifies how user interface components should be displayed in accordance with particular themes. Themes are defined and user interface components are displayed by the operating system in accordance with the information specified in the schema files.
摘要:
A system theme schema file format includes declarations of enumerations, properties, control parts, and control part states for providing extensible theming of the visual appearance of a computer operating system's user interface components. Custom theme schema files can extend the system theme schema by adding declarations of custom enumerations, custom properties, custom control part, and custom control part states, thereby participating in theming of the visual appearance of components of the computer's operating system. The schema files establish the allowable form and content of data that specifies how user interface components should be displayed in accordance with particular themes. Themes are defined and user interface components are displayed by the operating system in accordance with the information specified in the schema files.
摘要:
Several systems and associated methodologies are provided for rendering a themed image while mitigating pixelation and/or the disproportionate appearance thereof when the image is sized and/or scaled. The systems include at least one sizing module adapted to size components of a themed UI element. The systems also include at least one alignment module adapted to align at least one second component of a UI element within a first component of a UI element. The sizing modules are adapted to size the components with nine grid methodologies or based upon the ratio of the DPI of the context that the UI element is being rendered to the DPI that at least one of the components was designed under.
摘要:
A method of specifying a visual style for a set of graphical components is provided for use on a computer system having a graphical operating environment. The method includes providing a schema file of available graphical components for which a visual style can be created. In the schema file, each component is defined by a unique class name. The method further includes selecting graphical components from the schema file that are desired to have a defined visual style. Properties are then assigned to these selected components according to the desired visual style, and pairs of selected graphical components and corresponding assigned properties for the defined visual style together are grouped together in a class data file that defines the overall appearance for the defined visual style.
摘要:
A method of rendering a graphical component of a web page on the display of a computer is provided. The computer has an appearance manager that is adapted to render a graphical component upon receiving a request for the graphical component. The method includes a request by the web page for a graphical component to be rendered on the display. Next, it is determined whether a defined theme META tag is present in the web page. If the theme META tag is present, the rendering request for the graphical component is routed to the appearance manager of the computer. Upon receiving the rendering request, the appearance manager assigns themed appearance characteristics to the graphical component and renders the graphical component on the display.
摘要:
A system and method are described that use theming functions of a theme manager to render graphical components in a themed fashion. The theme manager uses a theme file that has theme properties for graphical components of all types. When an application is started a system is provided that determines whether the application supports theming. If the application supports theming a dynamic link controls library that supports theming is linked to the application. If the application does not support theming, the non-theming controls library is linked. If an application supports themes, application user controls and shell common controls are rendered with themes by using the functions of the theming controls library that interact with functions of the theme manager. Non-client window components are rendered using themes by intercepting render messages to windows and sending the messages to the theme manager. Non-client window components are also measured and rendered using a theme property file when appropriate in response to certain application program interface calls.
摘要:
A system and method are described that use theming functions of a theme manager to render graphical components in a themed fashion. The theme manager uses a theme file that has theme properties for graphical components of all types. When an application is started a system is provided that determines whether the application supports theming. If the application supports theming a dynamic link controls library that supports theming is linked to the application. If the application does not support theming, the non-theming controls library is linked. If an application supports themes, application user controls and shell common controls are rendered with themes by using the functions of the theming controls library that interact with functions of the theme manager. Non-client window components are rendered using themes by intercepting render messages to windows and sending the messages to the theme manager. Non-client window components are also measured and rendered using a theme property file when appropriate in response to certain application program interface calls.
摘要:
A method of specifying a visual style for a set of graphical components is provided for use on a computer system having a graphical operating environment. The method includes providing a schema file of available graphical components for which a visual style can be created. In the schema file, each component is defined by a unique class name. The method further includes selecting graphical components from the schema file that are desired to have a defined visual style. Properties are then assigned to these selected components according to the desired visual style, and pairs of selected graphical components and corresponding assigned properties for the defined visual style together are grouped together in a class data file that defines the overall appearance for the defined visual style.
摘要:
A method of communicating between a graphical component library and an appearance manager is provided that includes issuing a request, that includes component defining parameters, for rendering services by a graphical component library. The appearance manager receives the request for rendering services and assigns appearance characteristics to the graphical component based upon the provided parameters. A method of rendering graphical components on the display of a computer system is also provided that includes rendering the requested graphical component according to the appearance characteristics assigned by the appearance manager. A method is also provided for communicating between a graphical component library and an appearance manager that includes issuing a request, that includes component defining parameters, for information about the defined component. The appearance manager receives the request for information and provides the requested information to the graphical component library based upon the provided parameters.