_MetaFrameStyle Struct Reference

How to draw a frame in a particular state (say, a focussed, non-maximised, resizable frame). More...


Data Fields

int refcount
 Reference count.
MetaFrameStyleparent
 Parent style.
MetaDrawOpListbuttons [META_BUTTON_TYPE_LAST][META_BUTTON_STATE_LAST]
 Operations for drawing each kind of button in each state.
MetaDrawOpListpieces [META_FRAME_PIECE_LAST]
 Operations for drawing each piece of the frame.
MetaFrameLayoutlayout
 Details such as the height and width of each edge, the corner rounding, and the aspect ratio of the buttons.
MetaColorSpecwindow_background_color
 Background colour of the window.
guint8 window_background_alpha
 Transparency of the window background.


Detailed Description

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.

Definition at line 669 of file theme.h.


Field Documentation

Reference count.

Definition at line 672 of file theme.h.

Referenced by meta_frame_style_new(), meta_frame_style_ref(), and meta_frame_style_unref().

Parent style.

Settings which are unspecified here will be taken from there.

Definition at line 677 of file theme.h.

Referenced by get_button(), meta_frame_style_draw(), meta_frame_style_new(), and meta_frame_style_unref().

MetaDrawOpList* _MetaFrameStyle::buttons[META_BUTTON_TYPE_LAST][META_BUTTON_STATE_LAST]

Operations for drawing each kind of button in each state.

Definition at line 679 of file theme.h.

Referenced by end_element_handler(), get_button(), meta_frame_style_unref(), and parse_style_element().

MetaDrawOpList* _MetaFrameStyle::pieces[META_FRAME_PIECE_LAST]

Operations for drawing each piece of the frame.

Definition at line 681 of file theme.h.

Referenced by end_element_handler(), meta_frame_style_draw(), meta_frame_style_unref(), and parse_style_element().

Details such as the height and width of each edge, the corner rounding, and the aspect ratio of the buttons.

Definition at line 686 of file theme.h.

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_get_frame_borders(), meta_theme_get_title_scale(), and parse_toplevel_element().

Background colour of the window.

Only present in theme formats 2 and above. Can be NULL to use the standard GTK theme engine.

Definition at line 691 of file theme.h.

Referenced by meta_frame_style_unref(), meta_frames_set_window_background(), and parse_toplevel_element().

Transparency of the window background.

0=transparent; 255=opaque.

Definition at line 695 of file theme.h.

Referenced by meta_frame_style_new(), meta_frames_set_window_background(), and parse_toplevel_element().


The documentation for this struct was generated from the following file:

Generated on Sat Aug 23 22:04:24 2008 for metacity by  doxygen 1.5.5