C-Menu 0.2.9
A User Interface Toolkit
Loading...
Searching...
No Matches
ui_theme.h File Reference

UI theme definitions. More...

#include "ui_backend.h"
Include dependency graph for ui_theme.h:

Go to the source code of this file.

Data Structures

struct  UiTheme
 UI theme definition. More...

Enumerations

enum  UiRole {
  UI_ROLE_DEFAULT = 0 , UI_ROLE_NORMAL , UI_ROLE_NORMAL_REVERSE , UI_ROLE_NORMAL_HIGHLIGHT ,
  UI_ROLE_NORMAL_HIGHLIGHT_REVERSE , UI_ROLE_BOX , UI_ROLE_TITLE , UI_ROLE_LINENO ,
  UI_ROLE_CMDLINE , UI_ROLE_BOLD , UI_ROLE_FILL , UI_ROLE_BRACKET
}
 UI role definitions.These are used to identify the purpose of a UI element, and can be used to apply different styles to different elements. The default theme will use these roles to apply different colors and styles to different elements. More...

Functions

const UiStyleui_theme_style (const UiTheme *theme, UiRole role)
 Get the style for a given UI role.

Detailed Description

UI theme definitions.

Definition in file ui_theme.h.