|
marco 1.29.1
Window manager
|
How to draw a frame in a particular state (say, a focussed, non-maximised, resizable frame). More...
#include <src/ui/theme.h>
Data Fields | |
| int | refcount |
| Reference count. | |
| MetaFrameStyle * | parent |
| Parent style. | |
| MetaDrawOpList * | buttons [META_BUTTON_TYPE_LAST][META_BUTTON_STATE_LAST] |
| Operations for drawing each kind of button in each state. | |
| MetaDrawOpList * | pieces [META_FRAME_PIECE_LAST] |
| Operations for drawing each piece of the frame. | |
| MetaFrameLayout * | layout |
| Details such as the height and width of each edge, the corner rounding, and the aspect ratio of the buttons. | |
| MetaColorSpec * | window_background_color |
| Background colour of the window. | |
| guint8 | window_background_alpha |
| Transparency of the window background. | |
How to draw a frame in a particular state (say, a focussed, non-maximised, resizable frame).
This corresponds closely to the <frame_style> tag in a theme file.
| MetaDrawOpList* _MetaFrameStyle::buttons[META_BUTTON_TYPE_LAST][META_BUTTON_STATE_LAST] |
Operations for drawing each kind of button in each state.
Referenced by end_element_handler(), get_button(), meta_frame_style_unref(), and parse_style_element().
| MetaFrameLayout* _MetaFrameStyle::layout |
Details such as the height and width of each edge, the corner rounding, and the aspect ratio of the buttons.
Referenced by meta_frame_style_unref(), meta_frame_style_validate(), meta_preview_get_clip_region(), meta_theme_calc_geometry(), meta_theme_draw_frame(), meta_theme_draw_frame_by_name(), meta_theme_get_frame_borders(), meta_theme_get_title_scale(), and parse_toplevel_element().
| MetaFrameStyle* _MetaFrameStyle::parent |
Parent style.
Settings which are unspecified here will be taken from there.
Referenced by get_button(), meta_frame_style_draw_with_style(), meta_frame_style_new(), and meta_frame_style_unref().
| MetaDrawOpList* _MetaFrameStyle::pieces[META_FRAME_PIECE_LAST] |
Operations for drawing each piece of the frame.
Referenced by end_element_handler(), meta_frame_style_draw_with_style(), meta_frame_style_unref(), and parse_style_element().
| int _MetaFrameStyle::refcount |
Reference count.
Referenced by meta_frame_style_new(), meta_frame_style_ref(), and meta_frame_style_unref().
| guint8 _MetaFrameStyle::window_background_alpha |
Transparency of the window background.
0=transparent; 255=opaque.
Referenced by meta_frame_style_new(), and parse_toplevel_element().
| MetaColorSpec* _MetaFrameStyle::window_background_color |
Background colour of the window.
Only present in theme formats 2 and above. Can be NULL to use the standard GTK theme engine.
Referenced by meta_frame_style_unref(), and parse_toplevel_element().