marco 1.29.1
Window manager
Loading...
Searching...
No Matches
_MetaFrameStyle Struct Reference

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

#include <src/ui/theme.h>

Collaboration diagram for _MetaFrameStyle:
[legend]

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.
 

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.

Field Documentation

◆ buttons

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().

◆ layout

MetaFrameLayout* _MetaFrameStyle::layout

◆ parent

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().

◆ pieces

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().

◆ refcount

int _MetaFrameStyle::refcount

◆ window_background_alpha

guint8 _MetaFrameStyle::window_background_alpha

Transparency of the window background.

0=transparent; 255=opaque.

Referenced by meta_frame_style_new(), and parse_toplevel_element().

◆ window_background_color

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().


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