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

How to draw frames at different times: when it's maximised or not, shaded or not, when it's focussed or not, and (for non-maximised windows), when it can be horizontally or vertically resized, both, or neither. More...

#include <src/ui/theme.h>

Collaboration diagram for _MetaFrameStyleSet:
[legend]

Data Fields

int refcount
 
MetaFrameStyleSet * parent
 
MetaFrameStyle * normal_styles [META_FRAME_RESIZE_LAST][META_FRAME_FOCUS_LAST]
 
MetaFrameStyle * maximized_styles [META_FRAME_FOCUS_LAST]
 
MetaFrameStyle * tiled_left_styles [META_FRAME_FOCUS_LAST]
 
MetaFrameStyle * tiled_right_styles [META_FRAME_FOCUS_LAST]
 
MetaFrameStyle * shaded_styles [META_FRAME_RESIZE_LAST][META_FRAME_FOCUS_LAST]
 
MetaFrameStyle * maximized_and_shaded_styles [META_FRAME_FOCUS_LAST]
 
MetaFrameStyle * tiled_left_and_shaded_styles [META_FRAME_FOCUS_LAST]
 
MetaFrameStyle * tiled_right_and_shaded_styles [META_FRAME_FOCUS_LAST]
 

Detailed Description

How to draw frames at different times: when it's maximised or not, shaded or not, when it's focussed or not, and (for non-maximised windows), when it can be horizontally or vertically resized, both, or neither.

Not all window types actually get a frame.

A theme contains one of these objects for each type of window (each MetaFrameType), that is, normal, dialogue (modal and non-modal), etc.

This corresponds closely to the <frame_style_set> tag in a theme file.

Field Documentation

◆ maximized_and_shaded_styles

MetaFrameStyle* _MetaFrameStyleSet::maximized_and_shaded_styles[META_FRAME_FOCUS_LAST]

◆ maximized_styles

MetaFrameStyle* _MetaFrameStyleSet::maximized_styles[META_FRAME_FOCUS_LAST]

◆ normal_styles

◆ parent

◆ refcount

int _MetaFrameStyleSet::refcount

◆ shaded_styles

◆ tiled_left_and_shaded_styles

MetaFrameStyle* _MetaFrameStyleSet::tiled_left_and_shaded_styles[META_FRAME_FOCUS_LAST]

◆ tiled_left_styles

MetaFrameStyle* _MetaFrameStyleSet::tiled_left_styles[META_FRAME_FOCUS_LAST]

◆ tiled_right_and_shaded_styles

MetaFrameStyle* _MetaFrameStyleSet::tiled_right_and_shaded_styles[META_FRAME_FOCUS_LAST]

◆ tiled_right_styles

MetaFrameStyle* _MetaFrameStyleSet::tiled_right_styles[META_FRAME_FOCUS_LAST]

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