Lumiera  0.pre.03
»edit your freedom«
style-scheme.cpp
1 /*
2  StyleScheme - magic keys to access uniform styling scheme
3 
4  Copyright (C) Lumiera.org
5  2018, Hermann Vosseler <Ichthyostega@web.de>
6 
7  This program is free software; you can redistribute it and/or
8  modify it under the terms of the GNU General Public License as
9  published by the Free Software Foundation; either version 2 of
10  the License, or (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; if not, write to the Free Software
19  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 
21 * *****************************************************/
22 
23 
31 #include "stage/gtk-base.hpp"
32 #include "stage/style-scheme.hpp"
33 
34 namespace stage {
35 
36  const Literal TAG_ERROR{"ERROR"};
37  const Literal TAG_WARN{"WARN"};
38 
42  cuString CLASS_indication_flash{"indication-flash"};
43  const uint STYLE_FLASH_DURATION_in_ms = 1100;
44 
45 
46  /* ======== CSS selector names ======== */
47 
48  const Symbol NODE_fork{"fork"};
49  const Symbol NODE_frame{"frame"};
50 
51  cuString ID_element{"element"};
52  cuString ID_idlabel{"idlabel"};
53 
54  cuString CLASS_idlabel {"idlabel"};
55  cuString CLASS_idlabel_icon {"idlabel__icon"};
56  cuString CLASS_idlabel_menu {"idlabel__menu"};
57  cuString CLASS_idlabel_name {"idlabel__name"};
58  cuString CLASS_elementbox {"elementbox"};
59  cuString CLASS_elementbox_idlabel {"elementbox__idlabel"};
60 
61  cuString CLASS_elementbox_video {"elementbox--video"};
62  cuString CLASS_elementbox_audio {"elementbox--audio"};
63  cuString CLASS_elementbox_text {"elementbox--text"};
64  cuString CLASS_elementbox_auto {"elementbox--auto"};
65  cuString CLASS_elementbox_event {"elementbox--event"};
66  cuString CLASS_elementbox_effect {"elementbox--effect"};
67  cuString CLASS_elementbox_label {"elementbox--label"};
68  cuString CLASS_elementbox_ruler {"elementbox--ruler"};
69  cuString CLASS_elementbox_group {"elementbox--group"};
70  cuString CLASS_elementbox_meta {"elementbox--meta"};
71 
72  cuString CLASS_timeline {"timeline"};
73  cuString CLASS_timeline_page {"timeline__page"};
74  cuString CLASS_timeline_body {"timeline__body"};
75  cuString CLASS_timeline_fork {"timeline__fork"};
76  cuString CLASS_timeline_ruler{"timeline__ruler"};
77  cuString CLASS_slope_deep1 {"track-slope--deep1"};
78  cuString CLASS_slope_deep2 {"track-slope--deep2"};
79  cuString CLASS_slope_deep3 {"track-slope--deep3"};
80  cuString CLASS_slope_deep4 {"track-slope--deep4"};
81  cuString CLASS_slope_verydeep{"track-slope--verydeep"};
82 
83  cuString CLASS_timeline_head {"timeline__head"};
84  cuString CLASS_timeline_navi {"timeline__navi"};
85  cuString CLASS_timeline_pbay {"timeline__pbay"};
86 
87  cuString CLASS_fork_head {"fork__head"};
88  cuString CLASS_fork_bracket {"fork__bracket"};
89  cuString CLASS_fork_control {"fork__control"};
90 
91  cuString CLASS_background {"background"};
92 
93 
94  Literal ICON_placement {"placement"};
95  Literal ICON_arrow_hand_menu {"arrow_hand"};
96  Literal ICON_arrow_hand_down {"arrow_hand_down"};
97  Literal ICON_arrow_hand_up {"arrow_hand_up"};
98 
99 
100 }// namespace stage
cuString CLASS_background
opaque backdrop
cuString CLASS_elementbox_idlabel
only present on IDLabel widget within ElementBoxWidget
inline string literal This is a marker type to indicate that
Definition: symbol.hpp:85
Token or Atom with distinct identity.
Definition: symbol.hpp:126
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:46
cuString CLASS_indication_flash
CSS class added temporarily to make a widget "flash" in response to the corresponding UI-Bus message...
Definition of access keys for uniform UI styling.
A set of basic GTK includes for the UI.