TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_theme.h
Go to the documentation of this file.
1#pragma once
2
6
9
10#include <map>
11#include <optional>
12#include <set>
13#include <span>
14#include <string>
15#include <string_view>
16#include <unordered_map>
17#include <vector>
18
19namespace tachyon
20{
23
24 class StyleManager;
25 class ITextSystem;
26
32 {
35
36 bool operator==(const AccentColors&) const = default;
37 };
38
41 {
42 std::string_view name;
44 };
45
47 inline constexpr AccentPreset kAccentPresets[] = {
48 { "Blue", { { 0x6B, 0x9B, 0xFF, 0xFF }, { 0x2F, 0x6F, 0xEB, 0xFF } } },
49 { "Teal", { { 0x34, 0xD1, 0xBF, 0xFF }, { 0x0E, 0x82, 0x77, 0xFF } } },
50 { "Violet", { { 0xA9, 0x8B, 0xFF, 0xFF }, { 0x6D, 0x4F, 0xD6, 0xFF } } },
51 { "Orange", { { 0xF5, 0x9E, 0x4B, 0xFF }, { 0xB8, 0x5C, 0x10, 0xFF } } },
52 };
53
56 using ThemeVariableOverrides = std::map<std::string, std::string, std::less<>>;
57
68
80 {
81 public:
86
93
94 // View panel toolbars: side bins (one reorderable group per side), the per-toolbar
95 // item container and the central content placeholder.
98
103
109
111
122
133
140
337 int32_t axisLabelWidth = 0;
357 int socketSize = 12;
405
413
509
641 static constexpr int kSpinnerFrames = 24;
646 IconID SpinnerIcon(float timeSecs) const;
648
674
695
704
711
715
718
721
733
736
782
783 // Line colors, from the palette's custom properties.
809 float disabledOpacity = 0.4f;
816 {
817 float header = 0.24f, headerLine = 0.38f;
818 float state = 0.26f, stateBorder = 0.50f;
819 float frameFill = 0.07f, frameBand = 0.20f, frameBorder = 0.45f;
820 };
834
843
846 int32_t tableRowHeight = 0;
847
852 int32_t treeTableIndent = 0;
854 int32_t treeTableIconSize = 0;
857
859 int32_t nodeGridSize = 0;
860
861 public:
865 void InitializeDefaultStyles(StyleManager& styleManager, ITextSystem* textSystem);
873 bool LoadTheme(StyleManager& styleManager, ITextSystem* textSystem, const std::string& themePath,
874 std::span<const std::string> styleFiles, float fontScale,
875 std::optional<AccentColors> accent = std::nullopt,
876 const ThemeVariableOverrides& overrides = {});
877
880 bool IsLight() const { return m_isLight; }
881
884 StyleRef GetStyle(std::string_view cssClass) const;
886 Result<StyleRef> FindStyle(std::string_view cssClass) const;
887
890 color4f GetColor(std::string_view varName, color4f fallback = {}) const;
891
897 std::span<const CustomPropertyInfo> GetVariables() const { return m_variables; }
899 const CustomProperty* GetVariable(std::string_view name) const;
900
906 bool ShowVariableColor(StyleManager& styleManager, std::string_view name, std::string_view value);
907
909 void ComputeRowMetrics(StyleManager& styleManager, ITextSystem& textSystem);
910 private:
912 struct NameHash
913 {
914 using is_transparent = void;
915 size_t operator()(std::string_view name) const noexcept { return std::hash<std::string_view>{}(name); }
916 };
917 std::unordered_map<std::string, color4f, NameHash, std::equal_to<>> m_paletteColors;
918 std::vector<CustomPropertyInfo> m_variables;
919 std::unordered_map<std::string, CustomProperty> m_variableValues;
920 std::unordered_map<std::string, uint16_t> m_colorVariables;
923 VisualColorStyleIndex VariableColor(StyleManager& styleManager, const char* name, color4f fallback);
924 bool m_isLight = false;
925 std::map<std::string, StyleRef, std::less<>> m_classStyles;
926 mutable std::set<std::string, std::less<>> m_missingWarned;
928 std::vector<std::pair<StyleRef, DropdownParts>> m_dropdownParts;
929 DropdownParts m_plainDropdownParts;
930 };
931
933} // namespace tachyon
The library's styles, icons and theme metrics, the defaults the controls draw with.
Definition gui_theme.h:80
StyleRef gradientEditorColumnsStyleRef
gradient editor: the two columns
Definition gui_theme.h:245
StyleRef commandSearchHintStyleRef
a field's placeholder while it is empty (SearchField)
Definition gui_theme.h:345
StyleRef timelineFpsStyleRef
the fps dropdown
Definition gui_theme.h:575
bool IsLight() const
Whether the loaded palette is a light one: its –bg-panel is closer to white than to black.
Definition gui_theme.h:880
StyleRef treeTableTextStyleRef
Definition gui_theme.h:303
IconID eyedropperIcon
picks a color from the screen
Definition gui_theme.h:739
StyleRef colorPickerStyleRef
color picker: the window
Definition gui_theme.h:174
StyleRef timelineTickMajorStyleRef
drawn: a tick every second (or the like)
Definition gui_theme.h:568
StyleRef timelineMuteStyleRef
an audio track's M; selected while muted
Definition gui_theme.h:623
StyleRef dockWindowLeafStyleRef
a torn-off window's root leaf: the title bar over the panel
Definition gui_theme.h:366
StyleRef progressStepBodyStyleRef
its name and bar
Definition gui_theme.h:541
StyleRef emptyVertWrapStyleRef
vertical flex, wrap
Definition gui_theme.h:90
StyleRef messageBoxItemMetaStyleRef
MessageDialog: an affected item's extra info.
Definition gui_theme.h:199
StyleRef nodeStateNestedMarkStyleRef
the mark at the end of a state holding a machine (its size)
Definition gui_theme.h:234
StyleRef nodeViewOverlayDividerStyleRef
the line before Fit in a node view's zoom bar
Definition gui_theme.h:232
StyleRef shortcutMutedStyleRef
a ShortcutButton's "Unassigned" and the comma between a chord's steps
Definition gui_theme.h:710
StyleRef imageStyleRef
default box for the Image() element
Definition gui_theme.h:117
StyleRef curveLabelStyleRef
drawn: a grid line's number
Definition gui_theme.h:583
StyleRef iconButtonEndStyleRef
the same, end-aligned (the trailing add button)
Definition gui_theme.h:396
StyleRef documentNameStyleRef
a tab's icon and name
Definition gui_theme.h:685
StyleRef tableHeaderLockedStyleRef
Locked column headers: default cursor, since they can't be dragged.
Definition gui_theme.h:288
Style gridViewItemBaseStyle
Parsed .grid-view-item, for cloning with another iconSize (registering is deduped).
Definition gui_theme.h:494
tachyon::VisualColorStyleIndex panelColor
a selected swatch's ring and gap
Definition gui_theme.h:832
tachyon::VisualColorStyleIndex nodeTransitionHoverColor
Definition gui_theme.h:801
StyleRef tooltipFooterStyleRef
its footer, under a line
Definition gui_theme.h:439
StyleRef gradientEditorLocationStyleRef
gradient editor: the location box
Definition gui_theme.h:251
IconID sortArrowUpIcon
table header: sorted descending
Definition gui_theme.h:719
StyleRef timelineTimeTotalStyleRef
"/ " and the length
Definition gui_theme.h:563
StyleRef timelineScrollThumbStyleRef
drawn: its thumb
Definition gui_theme.h:640
StyleRef tasksRowStyleRef
a task's row
Definition gui_theme.h:553
StyleRef groupLabelTitleStyleRef
Label with a caption: the title.
Definition gui_theme.h:393
int32_t gridViewListRowHeight
a list-mode grid view row, in pixels (ComputeRowMetrics)
Definition gui_theme.h:498
StyleRef messageBoxDetailsStyleRef
MessageDialog: the details, monospace in a well.
Definition gui_theme.h:201
tachyon::VisualColorStyleIndex timelineKeySelectedEdgeColor
Definition gui_theme.h:794
StyleRef groupLabelCaptionStyleRef
Label with a caption: the caption.
Definition gui_theme.h:394
StyleRef documentTabStyleRef
the bar and the active document's panels, a column
Definition gui_theme.h:684
IconID alertIcon
message severity: warning
Definition gui_theme.h:740
StyleRef collectionAreaStyleRef
card-like well behind the list & dictionary Field() helpers
Definition gui_theme.h:376
StyleRef dialogIconButtonStyleRef
dialog: a small borderless icon button (previous / next)
Definition gui_theme.h:238
StyleRef dialogDeleteButtonStyleRef
dialog: the same, in the error color
Definition gui_theme.h:240
StyleRef collectionRowStyleRef
list field: a row
Definition gui_theme.h:381
StyleRef documentListStyleRef
"N open", listing every document
Definition gui_theme.h:692
StyleRef tableFitContentBodyStyleRef
SectionSizing::FitContent section body.
Definition gui_theme.h:273
StyleRef timelineLoopEdgeStyleRef
drawn: its ends
Definition gui_theme.h:633
StyleRef rangeFieldStyleRef
RangeField: the row holding the slider and value box.
Definition gui_theme.h:152
StyleRef gradientEditorTableStyleRef
gradient editor: the stops table
Definition gui_theme.h:256
StyleRef dockWindowBodyStyleRef
a torn-off window's split layout, inset the same
Definition gui_theme.h:368
StyleRef toolbarSideHorzEmptyStyleRef
Zero-thickness top / bottom side bin for an empty side, used only while no drag is in flight (during ...
Definition gui_theme.h:106
tachyon::VisualColorStyleIndex curveSelectedKeyColor
Definition gui_theme.h:798
StyleRef sliderKnobStyleRef
Slider: knob painted by the custom-draw.
Definition gui_theme.h:151
StyleRef dialogContextStyleRef
dialog: what's being edited, after the title
Definition gui_theme.h:177
StyleRef dialogCloseStyleRef
dialog: the close button
Definition gui_theme.h:179
StyleRef nodeRowStyleRef
node property row (socket | body | socket)
Definition gui_theme.h:351
IconID reverseIcon
gradient editor: Reverse
Definition gui_theme.h:731
tachyon::VisualColorStyleIndex progressArcColor
–accent: a spinner's arc
Definition gui_theme.h:521
IconID distributeIcon
gradient editor: Distribute evenly
Definition gui_theme.h:732
StyleRef menuHeaderStyleRef
a section's name in a menu
Definition gui_theme.h:420
IconID curveBezierIcon
a smooth curve
Definition gui_theme.h:775
IconID chevronLeftIcon
previous
Definition gui_theme.h:728
StyleRef nodeFrameMenuStyleRef
a node frame's "..." button, at its title bar's end
Definition gui_theme.h:231
StyleRef plotToolbarStyleRef
Plot: the row of series chips over it.
Definition gui_theme.h:599
StyleRef tableStyleRef
Table: the table.
Definition gui_theme.h:265
StyleRef nodeViewOverlayStyleRef
panel floating over the node view (breadcrumb, zoom bar)
Definition gui_theme.h:327
StyleRef gradientEditorStyleRef
gradient editor: the window
Definition gui_theme.h:235
StyleRef tooltipRichStyleRef
property help's box, on the popup surface
Definition gui_theme.h:436
StyleRef nodeStateNestedStyleRef
the mark on a state that holds a machine of its own
Definition gui_theme.h:317
StyleRef timelineToolbarStyleRef
its toolbar: transport, time, fps, snap, zoom
Definition gui_theme.h:572
StyleRef timelineListHeaderStyleRef
"Tracks", the filter and the add button
Definition gui_theme.h:611
StyleRef toolbarSideVertEmptyStyleRef
the same, for left / right
Definition gui_theme.h:107
StyleRef gradientEditorTableRowStyleRef
gradient editor: a stop's row
Definition gui_theme.h:258
tachyon::VisualColorStyleIndex curveKeyEdgeColor
Definition gui_theme.h:797
StyleRef groupToggleStyleRef
.group-toggle
Definition gui_theme.h:131
StyleRef viewBackgroundStyleRef
solid backdrop (–bg-app) for the View panel's toolbar dock
Definition gui_theme.h:306
tachyon::VisualColorStyleIndex curveChannelColors[5]
A channel's color by CurveChannelColor, and the same at 55% for the channels not being edited.
Definition gui_theme.h:805
StyleRef tableHeaderLockedEndStyleRef
as tableHeaderLockedStyleRef, over cells aligned to the end
Definition gui_theme.h:290
StyleRef menuSeparatorStyleRef
a divider between menu items
Definition gui_theme.h:419
StyleRef iconMenuButtonStyleRef
A menu opened from an icon alone, without an arrow ("+", "..."): BeginMenu's button style.
Definition gui_theme.h:404
IconID questionIcon
message severity: question
Definition gui_theme.h:742
StyleRef tooltipStyleRef
the tooltip's box
Definition gui_theme.h:433
StyleRef tableBodiesRowStyleRef
row holding the table's body sections, bounded to the table
Definition gui_theme.h:270
StyleRef timelineMarkerStyleRef
drawn: a marker's line
Definition gui_theme.h:569
StyleRef breadcrumbSegmentStyleRef
a clickable path segment
Definition gui_theme.h:331
StyleRef titleBarStyleRef
a window's own title bar (BeginTitleBar)
Definition gui_theme.h:416
StyleRef colorPickerRangeStyleRef
color picker: the 0-255 / 0-1 toggle
Definition gui_theme.h:214
StyleRef toolbarThumbHorzStyleRef
a toolbar's drag thumb on a horizontal side
Definition gui_theme.h:101
IconID windowMaximizeIcon
title bar: maximize
Definition gui_theme.h:750
StyleRef titleBarTabBarStyleRef
the tab strip in a torn-off window's title bar
Definition gui_theme.h:369
StyleRef gradientEditorPresetStyleRef
gradient editor: a preset chip
Definition gui_theme.h:243
StyleRef timelineBodyStyleRef
the track list and lanes, scrolled together
Definition gui_theme.h:615
StyleRef buttonGroupStyleRef
.group-button
Definition gui_theme.h:128
tachyon::VisualColorStyleIndex lineGrayStyle
–text-3
Definition gui_theme.h:784
IconID timelineZoomInIcon
TimelineEditor: zoom in.
Definition gui_theme.h:762
StyleRef timelineTickStyleRef
drawn: a tick every quarter second (or the like)
Definition gui_theme.h:567
tachyon::VisualColorStyleIndex checkerBColor
transparency checkerboard
Definition gui_theme.h:830
StyleRef colorPickerSquareStyleRef
color picker: the saturation/value square
Definition gui_theme.h:207
tachyon::color4b scrim
dims a window under its modal dialog (fading in and out)
Definition gui_theme.h:806
StyleRef panelDropVisualizationStyleRef
overlay showing where a dragged panel or toolbar docks
Definition gui_theme.h:112
StyleRef colorPickerChannelValueStyleRef
color picker: a channel's value
Definition gui_theme.h:219
StyleRef sliderGrooveStyleRef
Slider: groove line painted by the custom-draw.
Definition gui_theme.h:149
StyleRef checkboxStyleRef
Checkbox: the control.
Definition gui_theme.h:202
StyleRef menuScrollButtonStyleRef
the scroll up / down arrows of a menu taller than the screen
Definition gui_theme.h:399
StyleRef skeletonShineStyleRef
the shine sweeping across it
Definition gui_theme.h:519
StyleRef curveTreeRowHiddenStyleRef
a hidden channel's row, faded
Definition gui_theme.h:592
static constexpr int kSpinnerFrames
ProgressBar's track, 6px high.
Definition gui_theme.h:641
StyleRef nodeStyleRef
single node container (vertical column with border + bg)
Definition gui_theme.h:307
StyleRef nodeFrameBandStyleRef
its title bar's band, over the top of the box
Definition gui_theme.h:310
StyleRef timelineAddTrackStyleRef
the add-track button
Definition gui_theme.h:614
StyleRef viewportAxisLabelStyleRef
drawn: an axis's letter at the top right
Definition gui_theme.h:607
IconID boldCheckIcon
a heavier check, small on a filled disc: a done step
Definition gui_theme.h:724
bool LoadTheme(StyleManager &styleManager, ITextSystem *textSystem, const std::string &themePath, std::span< const std::string > styleFiles, float fontScale, std::optional< AccentColors > accent=std::nullopt, const ThemeVariableOverrides &overrides={})
Parses the palette file themePath followed by styleFiles (in order; relative paths are next to the pa...
StyleRef timelineButtonStyleRef
a transport button: start, step, end
Definition gui_theme.h:558
IconID dockIcon
returns a torn-off panel to its dock
Definition gui_theme.h:738
StyleRef documentCloseStyleRef
the bar and the active document's panels, a column
Definition gui_theme.h:688
StyleRef colorPickerSwatchStyleRef
color picker: a swatch
Definition gui_theme.h:226
StyleRef toastStyleRef
one toast, on the popup surface
Definition gui_theme.h:653
IconID linkIcon
EdgesField / CornersField: the sides are linked (a chain).
Definition gui_theme.h:771
IconID searchIcon
SearchField.
Definition gui_theme.h:748
StyleRef taskProgressFailedStyleRef
the name with the error icon
Definition gui_theme.h:526
StyleRef checkboxLabelStyleRef
Checkbox: its label.
Definition gui_theme.h:204
int32_t tableRowHeight
Table row height in pixels, measured from real font metrics in ComputeRowMetrics.
Definition gui_theme.h:846
StyleRef gridViewRenameItemStyleRef
rename-mode cell: icon above inline editor
Definition gui_theme.h:478
StyleRef flexFillRowStyleRef
horizontal flex bounded to its parent (flex-basis:0)
Definition gui_theme.h:482
StyleRef colorPickerRowLabelStyleRef
color picker: Hex, HDR
Definition gui_theme.h:221
StyleRef curveRulerLabelStyleRef
drawn: a frame number on it
Definition gui_theme.h:597
StyleRef nodeTextCenterStyleRef
text-only property body, centered (both dots)
Definition gui_theme.h:359
StyleRef tableFillStyleRef
Table bounded to its flex container (flex-basis:0): it doesn't grow, its rows scroll.
Definition gui_theme.h:267
StyleRef nodeSocketStyleRef
A socket's hit target; overflow:visible so the dot and its hover halo aren't clipped.
Definition gui_theme.h:354
StyleRef timelineTimeCurrentStyleRef
the time now, monospace
Definition gui_theme.h:562
StyleRef colorAlphaCaptionStyleRef
ColorField: the "A" before it.
Definition gui_theme.h:173
StyleRef toolbarItemVertStyleRef
toolbar on a vertical side: column, thumb above body
Definition gui_theme.h:100
StyleRef gradientSwatchStyleRef
GradientField: the swatch.
Definition gui_theme.h:230
StyleRef shortcutButtonStyleRef
ShortcutButton: a flat row of keycaps.
Definition gui_theme.h:708
IconID powerIcon
message severity: quitting
Definition gui_theme.h:741
StyleRef vectorComponentStyleRef
a vector component's field
Definition gui_theme.h:338
StyleRef timelineLoopStyleRef
the loop toggle; selected while looping
Definition gui_theme.h:560
StyleRef dialogStatusStyleRef
dialog: the footer's status text
Definition gui_theme.h:181
tachyon::VisualColorStyleIndex timelineKeyColor
TimelineEditor's keys: a key, its edge, a selected key and its edge, a group's summary key,...
Definition gui_theme.h:793
tachyon::VisualColorStyleIndex progressTrackColor
–line-subtle: a spinner's ring
Definition gui_theme.h:520
StyleRef toastTitleStyleRef
the toasts, a column in the window's corner
Definition gui_theme.h:657
StyleRef gradientEditorTypeCellStyleRef
gradient editor: Type
Definition gui_theme.h:259
StyleRef groupButtonStyleRef
.group-button
Definition gui_theme.h:129
StyleRef curveTreeGroupStyleRef
a group's row, its chevron before its name
Definition gui_theme.h:590
StyleRef collectionHeaderTypeStyleRef
dictionary: the type
Definition gui_theme.h:391
StyleRef tooltipPinRowStyleRef
a pin's first line: its name, type and value
Definition gui_theme.h:446
StyleRef dockWindowPanelStyleRef
the panel inset under a torn-off window's title bar
Definition gui_theme.h:367
StyleRef settingsPageStyleRef
settings page body - dock-content layout + left padding off the sizer
Definition gui_theme.h:706
StyleRef menuBarDropdownStyleRef
a dropdown in the menu bar or title bar (BeginDropdownMenu)
Definition gui_theme.h:402
StyleRef fieldPlaceholderStyleRef
a field's placeholder while it is empty (SearchField)
Definition gui_theme.h:346
StyleRef sliderFieldFillStyleRef
filled half painted by the slider's custom-draw
Definition gui_theme.h:144
StyleRef nodeStateTimeStyleRef
the pill under a state machine's active state: its time in it
Definition gui_theme.h:233
StyleRef tableRowAltStyleRef
row backdrop (even rows)
Definition gui_theme.h:275
StyleRef timelineEventChipStyleRef
drawn: the chip under an event's name
Definition gui_theme.h:636
int scrollbarThickness
.scrollbar-vertical width (read from CSS, at the UI scale)
Definition gui_theme.h:166
StyleRef staticTextStyleRef
plain non-interactive text
Definition gui_theme.h:116
StyleRef curveFieldStyleRef
CurveField: the box the curve is drawn in.
Definition gui_theme.h:578
IconID menuCheckIcon
marks the current/checked item in a menu
Definition gui_theme.h:723
StyleRef titleBarButtonStyleRef
its minimize and maximize buttons
Definition gui_theme.h:417
StyleRef timelineRowStyleRef
a track's row; selected while it's the selected track
Definition gui_theme.h:617
StyleRef tooltipNoteStyleRef
a muted line: why it's disabled, where a pin's value comes from
Definition gui_theme.h:445
int32_t axisLabelWidth
Width shared by the component labels: the widest name (X..W, R..A) with its label's padding and borde...
Definition gui_theme.h:337
StyleRef nodeViewMinimapStyleRef
the node view's minimap
Definition gui_theme.h:329
StyleRef groupLabelHelpStyleRef
the same inside a label group
Definition gui_theme.h:450
StyleRef collectionIndexStyleRef
list field: a row's index
Definition gui_theme.h:382
tachyon::VisualColorStyleIndex clearColorStyle
fully transparent
Definition gui_theme.h:837
StyleRef timelineBoxSelectStyleRef
drawn: the box being dragged to select keys
Definition gui_theme.h:638
tachyon::VisualColorStyleIndex curveGridMajorColor
Definition gui_theme.h:797
StyleRef switchStyleRef
Switch: the control (track + label).
Definition gui_theme.h:153
StyleRef timelineLanesStyleRef
the lanes
Definition gui_theme.h:628
StyleRef gridViewStyleRef
BeginGridView's default.
Definition gui_theme.h:473
StyleRef tableCellNumberStyleRef
right-aligned number cell (TableColumn::cellStyle)
Definition gui_theme.h:294
StyleRef timelineZoomIconStyleRef
a magnifier beside the zoom slider
Definition gui_theme.h:609
IconID timelineZoomOutIcon
TimelineEditor: zoom out.
Definition gui_theme.h:763
StyleRef documentTabBarStyleRef
the tabs and "+"
Definition gui_theme.h:683
StyleRef firstIconStyleRef
.first-icon
Definition gui_theme.h:135
tachyon::VisualColorStyleIndex timelineKeySelectedColor
Definition gui_theme.h:793
StyleRef timelineSnapStyleRef
the Snap toggle; selected while snapping
Definition gui_theme.h:576
IconID timelineEndIcon
Timeline: go to the end.
Definition gui_theme.h:757
StyleRef curveTreeRowStyleRef
a channel's row; selected for the active one
Definition gui_theme.h:591
StyleRef tasksRowBodyStyleRef
its name and bar
Definition gui_theme.h:554
StyleRef menuBarTriggerStyleRef
flat top-level trigger inside the menu bar
Definition gui_theme.h:401
IconID SpinnerIcon(float timeSecs) const
The spinner frame at timeSecs: a turn every 0.8 s.
IconID timelineStepBackIcon
Timeline: a frame back.
Definition gui_theme.h:753
StyleRef tableHeaderEndStyleRef
as tableHeaderStyleRef, over cells aligned to the end (numbers)
Definition gui_theme.h:289
StyleRef colorPickerNewStyleRef
color picker: the add-swatch button
Definition gui_theme.h:229
StyleRef dockWindowStyleRef
floating dock window - no internal padding
Definition gui_theme.h:365
StyleRef tooltipPinValueStyleRef
... its value, monospace, at the end
Definition gui_theme.h:448
StyleRef vertReorderableGroupStyleRef
Definition gui_theme.h:462
StyleRef tasksPillStyleRef
BackgroundTasks' "3 tasks" pill.
Definition gui_theme.h:548
StyleRef timelineDividerStyleRef
a line between the toolbar's groups
Definition gui_theme.h:573
StyleRef toastActionStyleRef
the first action, in the link color
Definition gui_theme.h:664
StyleRef checkboxBoxStyleRef
Checkbox: the box.
Definition gui_theme.h:203
StyleRef progressStepsStyleRef
ProgressSteps: the rows.
Definition gui_theme.h:535
StyleRef flexFillColStyleRef
vertical flex bounded to its parent (flex-basis:0)
Definition gui_theme.h:483
StyleRef taskProgressNoteStyleRef
a note such as the time taken, monospace
Definition gui_theme.h:529
StyleRef timelineSoloStyleRef
an audio track's S; selected while solo
Definition gui_theme.h:624
tachyon::VisualColorStyleIndex alphaTrackColor
Definition gui_theme.h:831
StyleRef toolbarThumbVertStyleRef
a toolbar's drag thumb on a vertical side
Definition gui_theme.h:102
tachyon::VisualColorStyleIndex accentColor
Definition gui_theme.h:832
StyleRef typedFieldTypeStyleRef
TypedField: the type tag.
Definition gui_theme.h:379
StyleRef sliderFieldTrackStyleRef
SliderField: the track holding the parts below.
Definition gui_theme.h:142
StyleRef gradientEditorHeadCellStyleRef
gradient editor: a header caption
Definition gui_theme.h:261
DropdownParts DropdownPartsFor(StyleRef button) const
The parts of the trigger in button's style; the plain dropdown-text and dropdown-arrow for a style wi...
StyleRef nodeStateEdgeStyleRef
the ring round a state whose edge is hovered (a transition starts there)
Definition gui_theme.h:316
tachyon::VisualColorStyleIndex popupArrowLine
–line-strong: its edges
Definition gui_theme.h:841
StyleRef colorPickerSwatchRowStyleRef
color picker: one swatch row
Definition gui_theme.h:224
StyleRef listRowStyleRef
rounded row without stripes (tree views, TableState::rowStyle)
Definition gui_theme.h:277
StyleRef groupDragLabelHelpStyleRef
the same inside a label group
Definition gui_theme.h:452
StyleRef timelineClipStyleRef
drawn: an audio clip
Definition gui_theme.h:634
StyleRef progressStepErrorStyleRef
"failed", at the end of a failed step's line
Definition gui_theme.h:545
StyleRef vertReorderableGroupWrapStyleRef
Definition gui_theme.h:464
StyleRef gradientEditorLocationCellStyleRef
gradient editor: the stop's location
Definition gui_theme.h:264
StyleRef taskProgressStyleRef
TaskProgress: name row, bar, detail.
Definition gui_theme.h:523
StyleRef documentMarkStyleRef
the slot for the close button or the unsaved dot
Definition gui_theme.h:687
IconID treeArrowDown
tree expander: expanded
Definition gui_theme.h:717
StyleRef toastStackStyleRef
the toasts, a column in the window's corner
Definition gui_theme.h:652
StyleRef menuItemStyleRef
a menu item
Definition gui_theme.h:398
StyleRef tooltipTextStyleRef
its text
Definition gui_theme.h:434
tachyon::VisualColorStyleIndex alphaFillColor
a color's alpha bar
Definition gui_theme.h:831
StyleRef dockContainerStyleRef
a docking container
Definition gui_theme.h:696
StyleRef progressStepDoneStyleRef
a done step's glyph: a check on an –ok disc
Definition gui_theme.h:537
StyleRef switchTrackStyleRef
Switch: the track; its knob is painted by the custom-draw.
Definition gui_theme.h:154
StyleRef messageBoxItemStyleRef
MessageDialog: an affected item's row.
Definition gui_theme.h:196
StyleRef labelHelpStyleRef
a Label() with property help: underlined, dotted
Definition gui_theme.h:449
StyleRef gridViewRowStyleRef
one row strip of cells in the virtual grid
Definition gui_theme.h:476
StyleRef bannerPrimaryStyleRef
BannerActionKind::Primary.
Definition gui_theme.h:670
tachyon::VisualColorStyleIndex treeDropIndicatorStyle
drop indicator lines + closed-branch outline
Definition gui_theme.h:833
StyleRef curveFrameAllStyleRef
CurveEditor: Frame all, a flat button.
Definition gui_theme.h:574
StyleRef collectionHeaderStyleRef
dictionary: the header row
Definition gui_theme.h:388
StyleRef tableCellStyleRef
a cell
Definition gui_theme.h:293
tachyon::VisualColorStyleIndex treeGuideLineStyle
–tree-guide: tree guide lines (transparent: none)
Definition gui_theme.h:788
StyleRef viewportToolStyleRef
a tool's button; selected for the one in use
Definition gui_theme.h:606
StyleRef tooltipShortcutStyleRef
a shortcut chip after the text
Definition gui_theme.h:435
StyleRef timelineHeaderStyleRef
the row over the track list and the ruler
Definition gui_theme.h:610
StyleRef treeTableTextEditStyleRef
Inline-rename editor.
Definition gui_theme.h:285
StyleRef scrollbarHorizontalThumbStyleRef
Definition gui_theme.h:164
float disabledOpacity
–disabled-opacity: a disabled control, with all its parts, is drawn this opaque, unless its style set...
Definition gui_theme.h:809
StyleRef timelineEventStyleRef
drawn: an event's line
Definition gui_theme.h:635
int32_t gridViewItemLineHeight
Line height of a grid view cell's name in pixels, measured in ComputeRowMetrics so names never clip.
Definition gui_theme.h:497
StyleRef timelineScrollStyleRef
the scroll bar under the lanes
Definition gui_theme.h:639
StyleRef windowStyleRef
BeginWindow's default.
Definition gui_theme.h:364
StyleRef listItemBodyStyleRef
reorderable list item text/icon body
Definition gui_theme.h:471
StyleRef nodeFramePortsStyleRef
a collapsed frame's row, a wire in and one out
Definition gui_theme.h:318
IconID timelinePrevKeyIcon
TimelineEditor: the previous key.
Definition gui_theme.h:759
StyleRef collectionHeaderCaptionStyleRef
dictionary: the caption
Definition gui_theme.h:390
StyleRef nodeFramePortOutStyleRef
the name of the output on it
Definition gui_theme.h:320
StyleRef tableSizerStyleRef
a column's resize handle
Definition gui_theme.h:291
StyleRef timelineFrameStyleRef
the frame chip
Definition gui_theme.h:564
tachyon::VisualColorStyleIndex nodeTransitionSelectedColor
Definition gui_theme.h:801
StyleRef nodeFrameTitleStyleRef
the title on it
Definition gui_theme.h:311
StyleRef treeTableCellRowModeStyleRef
Row-mode tree cell: transparent hover/selected, so the row backdrop shows them.
Definition gui_theme.h:279
StyleRef dockSizerHorzStyleRef
vertical bar between left / right panes
Definition gui_theme.h:700
StyleRef colorPickerControlsStyleRef
color picker: the right column
Definition gui_theme.h:209
StyleRef listItemDragKnobHorzStyleRef
reorderable list item drag handle (horizontal list - drag along x)
Definition gui_theme.h:469
StyleRef progressStepNameStyleRef
the name of a step started or done
Definition gui_theme.h:542
StyleRef messageBoxTitleStyleRef
MessageDialog: the title.
Definition gui_theme.h:193
StyleRef curveTreeSwatchStyleRef
a channel's color square
Definition gui_theme.h:593
StyleRef gradientEditorLabelStyleRef
gradient editor: a row's label
Definition gui_theme.h:250
StyleRef sliderFieldTextStyleRef
label text overlaid on the track
Definition gui_theme.h:145
StyleRef dialogStatusDotStyleRef
dialog: the dot before it
Definition gui_theme.h:182
StyleRef sliderFillStyleRef
Slider: the groove's filled part, up to the knob.
Definition gui_theme.h:150
StyleRef gradientEditorValueCellStyleRef
gradient editor: the stop's hex
Definition gui_theme.h:263
tachyon::VisualColorStyleIndex popupArrowFill
–bg-popup: property help's arrow
Definition gui_theme.h:840
StyleRef timelineTransportStyleRef
its buttons
Definition gui_theme.h:557
tachyon::VisualColorStyleIndex curveZeroColor
Definition gui_theme.h:797
StyleRef progressStepPendingStyleRef
the name of a step to come
Definition gui_theme.h:543
tachyon::VisualColorStyleIndex curveChannelFadedColors[5]
Definition gui_theme.h:805
IconID unlinkIcon
and each is its own (a broken chain)
Definition gui_theme.h:780
StyleRef groupLabelTopStyleRef
Label with a caption: the container.
Definition gui_theme.h:392
StyleRef messageBoxDetailsToggleStyleRef
MessageDialog: "Details" with its chevron.
Definition gui_theme.h:200
StyleRef progressBarSmallStyleRef
the 4px track, for lists and the status bar
Definition gui_theme.h:513
StyleRef listItemDragKnobVertStyleRef
reorderable list item drag handle (vertical list - drag along y)
Definition gui_theme.h:470
StyleRef titleBarTitleStyleRef
the window's name when the tabs aren't in the bar
Definition gui_theme.h:373
StyleRef timelinePlayStyleRef
play / pause, in the accent
Definition gui_theme.h:559
StyleRef gradientEditorCountStyleRef
gradient editor: 2 / 3
Definition gui_theme.h:249
StyleRef tasksPopoverTitleStyleRef
"Background tasks"
Definition gui_theme.h:551
StyleRef ghostIconStyleRef
the icon in a drag ghost
Definition gui_theme.h:114
StyleRef emptyHorzStyleRef
horizontal flex, no wrap; groups elements without drawing anything
Definition gui_theme.h:87
tachyon::VisualColorStyleIndex curveGridColor
A curve editor's: the plot's grid, its major lines and its lines at zero; a key's edge (the plot's co...
Definition gui_theme.h:797
StyleRef breadcrumbCurrentStyleRef
the last segment
Definition gui_theme.h:332
StyleRef collectionEntryStyleRef
dictionary: a row
Definition gui_theme.h:386
StyleRef timelineOutsideStyleRef
drawn: the lanes outside the loop range
Definition gui_theme.h:631
StyleRef timelineChevronStyleRef
a group's expand / collapse
Definition gui_theme.h:618
StyleRef toastCircleStyleRefs[4]
.toast-circle-info, -success, -warning, -error
Definition gui_theme.h:654
StyleRef tooltipExpandStyleRef
text cut short, shown whole over itself: the box
Definition gui_theme.h:440
StyleRef nodeCategoryStyleRef
the category square in a node header
Definition gui_theme.h:324
StyleRef toastHeaderStyleRef
the title and its time
Definition gui_theme.h:656
StyleRef menuStyleRef
a menu's window
Definition gui_theme.h:397
IconID chevronRightIcon
next; a collapsed section
Definition gui_theme.h:746
StyleRef mainWindowStyleRef
a window without padding, its content in a column
Definition gui_theme.h:363
StyleRef circularProgressStyleRef
CircularProgress: its size and its percentage's text.
Definition gui_theme.h:517
StyleRef gradientEditorDividerStyleRef
gradient editor: a divider line
Definition gui_theme.h:254
StyleRef emptyHorzWrapStyleRef
horizontal flex, wrap
Definition gui_theme.h:88
StyleRef scrollbarVerticalTrackStyleRef
Definition gui_theme.h:161
StyleRef dialogFooterStyleRef
dialog: status and buttons
Definition gui_theme.h:180
StyleRef curvePlayheadStyleRef
drawn: the playhead's frame, in its pill
Definition gui_theme.h:598
StyleRef statusTextMonoStyleRef
a status bar's count, monospace
Definition gui_theme.h:547
StyleRef colorPickerModeRowStyleRef
color picker: space, Linear, range
Definition gui_theme.h:213
StyleRef collectionAddEntryStyleRef
dictionary: Add entry
Definition gui_theme.h:385
StyleRef iconButtonStyleRef
compact flat icon button (a list / dictionary row's remove)
Definition gui_theme.h:395
IconID timelinePlayIcon
Timeline: play (filled).
Definition gui_theme.h:754
StyleRef gradientEditorBarStyleRef
gradient editor: the gradient bar with its stops
Definition gui_theme.h:236
IconID tabCloseIcon
a tab's close button
Definition gui_theme.h:722
StyleRef iconLabelNoIconStyleRef
icon-label with no icon, left-padded to align under icon'd siblings
Definition gui_theme.h:120
StyleRef colorSwatchStyleRef
ColorField: the swatch.
Definition gui_theme.h:167
StyleRef collectionValueStyleRef
dictionary: a value
Definition gui_theme.h:387
StyleRef nodeTransitionLabelStyleRef
a state machine transition's label: its text and its chip
Definition gui_theme.h:313
StyleRef timelineListStyleRef
the track list
Definition gui_theme.h:616
IconID timelineEventsIcon
TimelineEditor: an events track (a flag).
Definition gui_theme.h:770
StyleRef groupDragLabelStyleRef
DragLabel() inside a label group.
Definition gui_theme.h:454
StyleRef colorFieldStyleRef
ColorField: swatch, hex and alpha in a row.
Definition gui_theme.h:168
StyleRef tableRowBarStyleRef
accent bar on a selected row's left
Definition gui_theme.h:276
tachyon::VisualColorStyleIndex marqueeFillColorStyle
selection-marquee fill (fixed translucent blue)
Definition gui_theme.h:835
StyleRef colorAlphaUnitStyleRef
ColorField: the % after it.
Definition gui_theme.h:172
StyleRef keycapStyleRef
a key in a ShortcutButton
Definition gui_theme.h:709
StyleRef listItemStyleRef
ListItem's default.
Definition gui_theme.h:467
StyleRef dialogSmallButtonStyleRef
dialog: a short button (Save preset, Reverse)
Definition gui_theme.h:237
StyleRef nodeHeaderStateStyleRef
a state machine's state: the title bar alone, no line under it
Definition gui_theme.h:322
StyleRef viewContentStyleRef
the central content placeholder
Definition gui_theme.h:110
StyleRef menuItemRowStyleRef
interactive row: icon slot + label + trailing shortcut/arrow
Definition gui_theme.h:427
StyleRef colorHexStyleRef
ColorField: the hex field.
Definition gui_theme.h:169
StyleRef dialogHeaderStyleRef
dialog: the title row
Definition gui_theme.h:175
StyleRef tasksPopoverCountStyleRef
the count running
Definition gui_theme.h:552
StyleRef settingsSizerStyleRef
between the page list and the page: a 1px line, lit while hovered
Definition gui_theme.h:707
IconID timelineAudioIcon
TimelineEditor: an audio track.
Definition gui_theme.h:769
StyleRef colorPickerSwatchesStyleRef
color picker: swatches and recent
Definition gui_theme.h:223
std::span< const CustomPropertyInfo > GetVariables() const
The theme variables the loaded style files describe with @property rules, in their order: each one's ...
Definition gui_theme.h:897
StyleRef knobStyleRef
.knob
Definition gui_theme.h:141
StyleRef progressSegmentStyleRef
the segment sliding along a bar of unknown length
Definition gui_theme.h:516
StyleRef gradientEditorHeadingStyleRef
gradient editor: Color stop
Definition gui_theme.h:248
StyleRef taskProgressDoneStyleRef
the name with the check
Definition gui_theme.h:527
tachyon::VisualColorStyleIndex nodeTransitionColor
A state machine's transitions: an arrow, a hovered one, a selected one; and the mark of its initial s...
Definition gui_theme.h:801
StyleRef GetStyle(std::string_view cssClass) const
The style of a CSS class from the loaded style files (library or app); an invalid style,...
StyleRef tasksPopoverHeaderStyleRef
"Background tasks" and the count running
Definition gui_theme.h:550
StyleRef gradientEditorActionsStyleRef
gradient editor: Reverse, Distribute
Definition gui_theme.h:255
StyleRef tableHeaderStyleRef
a column header
Definition gui_theme.h:286
StyleRef nodeFrameRenameStyleRef
the field over the title bar while renaming
Definition gui_theme.h:312
StyleRef iconTopStyleRef
icon above, text below
Definition gui_theme.h:138
ControlStyles toolbarControls
the .toolbar-* variants of those
Definition gui_theme.h:83
StyleRef listViewStyleRef
BeginListView's default.
Definition gui_theme.h:466
color4f GetColor(std::string_view varName, color4f fallback={}) const
A palette color by custom-property name ("--node-input"), or fallback when the loaded theme doesn't d...
StyleRef sliderFieldEdgeStyleRef
the line ending the fill
Definition gui_theme.h:147
IconID removeIcon
list / dictionary Field(): remove a row
Definition gui_theme.h:735
StyleRef colorPickerPreviewGroupStyleRef
color picker: preview and captions
Definition gui_theme.h:210
StyleRef gradientEditorTableHeadStyleRef
gradient editor: its header row
Definition gui_theme.h:257
StyleRef timelineGroupNameStyleRef
a group's name
Definition gui_theme.h:620
StyleRef iconLabelStyleRef
inline icon + text, centered (e.g. command cells)
Definition gui_theme.h:119
StyleRef nodeViewStyleRef
NodeView: the canvas.
Definition gui_theme.h:305
StyleRef breadcrumbSeparatorStyleRef
between two segments
Definition gui_theme.h:333
StyleRef timelineZoomStyleRef
the zoom slider and its icons
Definition gui_theme.h:608
int32_t treeTableIconSize
a node's icon
Definition gui_theme.h:854
StyleRef dockSplitHorzStyleRef
horizontal flex row (split into left / right)
Definition gui_theme.h:698
IconID addIcon
list / dictionary Field(): add a row
Definition gui_theme.h:734
const ControlStyles * controls
the bundle in use
Definition gui_theme.h:85
StyleRef curveToolbarStyleRef
the editor's rows over and under the plot
Definition gui_theme.h:580
IconID curveLinearIcon
straight lines
Definition gui_theme.h:774
StyleRef treeTableArrowStyleRef
Definition gui_theme.h:301
StyleRef treeTableIconStyleRef
Definition gui_theme.h:302
StyleRef switchLabelStyleRef
Switch: the label after the track.
Definition gui_theme.h:156
StyleRef scrollbarHorizontalTrackStyleRef
Definition gui_theme.h:163
void ComputeRowMetrics(StyleManager &styleManager, ITextSystem &textSystem)
Measures the font-dependent metrics above. Call after every LoadTheme.
IconID viewportRotateIcon
rotate (a turning arrow)
Definition gui_theme.h:778
StyleRef plotStyleRef
the plot; its padding holds the labels and the handles
Definition gui_theme.h:601
StyleRef treeTableArrowGlyphStyleRef
The arrow's NoInput glyph, inside a full-row-height hit wrapper (treeTableArrowStyleRef) for forgivin...
Definition gui_theme.h:282
StyleRef dragLabelHelpStyleRef
a DragLabel() with property help
Definition gui_theme.h:451
StyleRef colorPickerChannelLabelStyleRef
color picker: R, G, B, A ...
Definition gui_theme.h:217
StyleRef timelineStyleRef
Timeline: the row.
Definition gui_theme.h:556
StyleRef toolbarItemHorzStyleRef
toolbar on a horizontal side: row, thumb left of body
Definition gui_theme.h:99
StyleRef commandSearchListStyleRef
a field's placeholder while it is empty (SearchField)
Definition gui_theme.h:348
StyleRef nodeStateStyleRef
a state machine's state: a node box with nothing under its title bar
Definition gui_theme.h:323
StyleRef curveBoxSelectStyleRef
drawn: the box a drag on the plot selects with
Definition gui_theme.h:585
StyleRef tasksPopoverStyleRef
its popover
Definition gui_theme.h:549
tachyon::VisualColorStyleIndex lineYellowStyle
–warn
Definition gui_theme.h:785
StyleRef titleBarGripStyleRef
the grip before it
Definition gui_theme.h:372
StyleRef toastActionSecondaryStyleRef
the toasts, a column in the window's corner
Definition gui_theme.h:665
StyleRef viewportStyleRef
Viewport: the view.
Definition gui_theme.h:604
IconID spinnerIcons[kSpinnerFrames]
A 90-degree arc, one frame per 15 degrees round: a spinner that goes where an icon goes,...
Definition gui_theme.h:644
StyleRef gridViewRenameEditStyleRef
grid-mode inline editor (full cell width)
Definition gui_theme.h:481
StyleRef gridViewScrollStyleRef
virtualized grid scroll viewport (column)
Definition gui_theme.h:475
StyleRef toastDismissStyleRef
the toasts, a column in the window's corner
Definition gui_theme.h:666
StyleRef dialogSquareButtonStyleRef
dialog: a small bordered icon button (duplicate)
Definition gui_theme.h:239
StyleRef tooltipDescriptionStyleRef
its description
Definition gui_theme.h:438
StyleRef scrollbarVerticalThumbStyleRef
Definition gui_theme.h:162
StyleRef titleBarDocumentsStyleRef
a document bar in a title bar (DocumentBar)
Definition gui_theme.h:693
StyleRef collectionListStyleRef
list field: the rows
Definition gui_theme.h:380
StyleRef commandSearchStyleRef
a field's placeholder while it is empty (SearchField)
Definition gui_theme.h:344
StyleRef progressStepWaitingStyleRef
a pending step's: a dashed ring
Definition gui_theme.h:539
StyleRef treeTableIndentStyleRef
Definition gui_theme.h:300
IconID deleteIcon
delete (trash can)
Definition gui_theme.h:730
StyleRef dockLeafStyleRef
vertical flex: [tab bar][content]
Definition gui_theme.h:702
StyleRef curveTreeValueStyleRef
its value at the playhead
Definition gui_theme.h:595
IconID timelineStepIcon
Timeline: a frame on.
Definition gui_theme.h:756
StyleRef groupLabelStyleRef
Label() inside a label group.
Definition gui_theme.h:453
StyleRef statusBarStyleRef
BeginStatusBar's default.
Definition gui_theme.h:339
StyleRef tooltipErrorStyleRef
a value that isn't accepted: the box, error border
Definition gui_theme.h:442
IconID boldCrossIcon
a heavier cross, small on a filled disc: a failed step
Definition gui_theme.h:725
StyleRef timelineRowLineStyleRef
drawn: the line under a row
Definition gui_theme.h:630
StyleRef toastProgressFillStyleRef
the toasts, a column in the window's corner
Definition gui_theme.h:662
StyleRef timelinePlayheadStyleRef
drawn: the playhead's line and its head
Definition gui_theme.h:570
IconID timelineLockIcon
TimelineEditor: a group locked.
Definition gui_theme.h:766
StyleRef tabBarStyleRef
a docked tab whose group holds the focus
Definition gui_theme.h:502
IconID treeArrowRight
tree expander: collapsed
Definition gui_theme.h:716
IconID viewportMoveIcon
move (four arrows)
Definition gui_theme.h:777
StyleRef iconLeftStyleRef
icon left, text right
Definition gui_theme.h:136
StyleRef tableCellCompactStyleRef
tighter-padded cell for dense tables (opt-in via VirtualTable cellStyle)
Definition gui_theme.h:295
IconID viewportSelectIcon
Viewport's tools: select (a pointer).
Definition gui_theme.h:776
StyleRef curveRulerStyleRef
the frame ruler over the plot
Definition gui_theme.h:596
StyleRef colorAlphaInputStyleRef
ColorField: the alpha value in its box.
Definition gui_theme.h:171
StyleRef typedFieldStyleRef
TypedField: the box.
Definition gui_theme.h:377
StyleRef nodeTitleStyleRef
a node header's title
Definition gui_theme.h:325
IconID infoIcon
message severity: information
Definition gui_theme.h:743
StyleRef menuBarStyleRef
horizontal strip at the top of the main window
Definition gui_theme.h:400
StyleRef gradientEditorHeadLocationStyleRef
gradient editor: Location
Definition gui_theme.h:262
StyleRef curveWindowStyleRef
its editor's window
Definition gui_theme.h:579
StyleRef gradientEditorLocationUnitStyleRef
gradient editor: its %
Definition gui_theme.h:253
StyleRef timelinePlayheadLabelStyleRef
drawn: the playhead's time on the ruler
Definition gui_theme.h:627
StyleRef tableRowStyleRef
row backdrop (odd rows)
Definition gui_theme.h:274
StyleRef tabStyleRef
a docked tab whose group holds the focus
Definition gui_theme.h:503
IconID windowMinimizeIcon
title bar: minimize
Definition gui_theme.h:749
StyleRef documentDirtyStyleRef
the unsaved-changes dot
Definition gui_theme.h:689
void InitializeDefaultStyles(StyleManager &styleManager, ITextSystem *textSystem)
Registers the styles built in code (fieldElementGroupStyleRef, the empty*StyleRefs) and the built-in ...
StyleRef colorPickerCaptionStyleRef
color picker: a small caption
Definition gui_theme.h:212
tachyon::VisualColorStyleIndex checkerAColor
Definition gui_theme.h:830
StyleRef tooltipTitleStyleRef
its title
Definition gui_theme.h:437
StyleRef switchKnobStyleRef
Switch: the knob.
Definition gui_theme.h:155
StyleRef listAreaStyleRef
undecorated scrolling column (BeginArea)
Definition gui_theme.h:375
int32_t treeTableArrowGlyphSize
the expander arrow
Definition gui_theme.h:855
StyleRef toastBodyStyleRef
the toasts, a column in the window's corner
Definition gui_theme.h:659
StyleRef timelineLaneSelectedStyleRef
drawn: the selected track's lane
Definition gui_theme.h:629
StyleRef menuItemLabelStyleRef
grow:1 label inside a menu item row
Definition gui_theme.h:429
StyleRef gridViewItemStyleRef
a grid view cell, by default
Definition gui_theme.h:474
StyleRef colorPickerChannelsStyleRef
color picker: the channel rows
Definition gui_theme.h:215
const CustomProperty * GetVariable(std::string_view name) const
A theme variable's loaded value, overrides included; nullptr when no file sets it.
StyleRef boxSidesLinkStyleRef
EdgesField / CornersField: the link toggle; selected while linked.
Definition gui_theme.h:577
StyleRef reorderDropSlotStyleRef
a list row's drop slot while it's dragged
Definition gui_theme.h:421
IconID timelineSnapIcon
TimelineEditor: snap (a magnet).
Definition gui_theme.h:761
StyleRef bannerSecondaryStyleRef
the toasts, a column in the window's corner
Definition gui_theme.h:671
StyleRef tasksRowStateStyleRef
its percent or state, monospace
Definition gui_theme.h:555
StyleRef colorPickerRecentStyleRef
color picker: a recent color
Definition gui_theme.h:227
StyleRef menuItemIconStyleRef
fixed icon slot inside a menu item row
Definition gui_theme.h:428
StyleRef curvePresetStyleRef
a preset's thumbnail button
Definition gui_theme.h:586
StyleRef messageBoxItemNameStyleRef
MessageDialog: an affected item's name.
Definition gui_theme.h:198
IconID timelineKeyIcon
TimelineEditor: add a key (a diamond).
Definition gui_theme.h:768
StyleRef messageBoxMessageStyleRef
MessageDialog: the message.
Definition gui_theme.h:194
tachyon::VisualColorStyleIndex imageFillColorStyle
a texture stretched over a quad (RenderQuad with an image)
Definition gui_theme.h:836
StyleRef menuItemDestructiveLabelStyleRef
a destructive item's label (.menu-item-label-destructive)
Definition gui_theme.h:424
StyleRef colorPickerBodyStyleRef
color picker: planes and controls
Definition gui_theme.h:205
StyleRef itemStyleRef
an item in it
Definition gui_theme.h:362
tachyon::VisualColorStyleIndex nodeInitialStateColor
Definition gui_theme.h:802
StyleRef titleBarCloseButtonStyleRef
its close button
Definition gui_theme.h:418
StyleRef treeViewStyleRef
a tree view
Definition gui_theme.h:472
tachyon::VisualColorStyleIndex invalidLine
–error: an error tooltip's arrow edges, a field's error icon
Definition gui_theme.h:842
StyleRef timelineLoopRangeStyleRef
drawn: the loop range on the ruler
Definition gui_theme.h:632
StyleRef tableScrollableBodyStyleRef
a scrolling section body
Definition gui_theme.h:271
StyleRef curveChannelStyleRef
a channel's chip; selected for the active one
Definition gui_theme.h:581
StyleRef taskProgressPauseStyleRef
a background task's pause / resume button
Definition gui_theme.h:532
StyleRef dockContentStyleRef
content area holding the selected panel's draw()
Definition gui_theme.h:703
StyleRef gradientEditorColumnStyleRef
gradient editor: the left column
Definition gui_theme.h:246
StyleRef fieldElementGroupStyleRef
Built in code: an undecorated, growing, wrapping flex row (a multi-value drag field).
Definition gui_theme.h:92
tachyon::VisualColorStyleIndex tooltipArrowLine
–tooltip-border: its edges
Definition gui_theme.h:839
StyleRef flatButtonStyleRef
button that reads as plain left-aligned text (no chrome)
Definition gui_theme.h:484
StyleRef tabPanelFocusedStyleRef
a docked tab whose group holds the focus
Definition gui_theme.h:504
StyleRef colorPickerHdrValueStyleRef
color picker: the intensity value
Definition gui_theme.h:178
StyleRef curveReadoutStyleRef
drawn: the selected key's time and value beside it
Definition gui_theme.h:584
StyleRef toolbarSideVertStyleRef
toolbar side bin, left / right: column + flex-wrap
Definition gui_theme.h:97
StyleRef titleBarTabPanelFocusedStyleRef
a tab in it while the window holds the focus
Definition gui_theme.h:371
StyleRef breadcrumbStyleRef
the breadcrumb path bar
Definition gui_theme.h:330
tachyon::VisualColorStyleIndex timelineKeyEdgeColor
Definition gui_theme.h:793
StyleRef nodeBodyCenterStyleRef
centered body for full-body content (image previews)
Definition gui_theme.h:352
StyleRef iconBottomStyleRef
text above, icon below
Definition gui_theme.h:139
StyleRef curveTreeStyleRef
the channel list down the left
Definition gui_theme.h:588
IconID timelineNextKeyIcon
TimelineEditor: the next key.
Definition gui_theme.h:760
StyleRef skeletonStyleRef
Skeleton: a placeholder bar.
Definition gui_theme.h:518
StyleRef tooltipLinesStyleRef
a tooltip of a few lines: a disabled control's, a pin's
Definition gui_theme.h:444
StyleRef searchTextboxIconStyleRef
Definition gui_theme.h:490
StyleRef timelineTrackNameStyleRef
another track's name, with its icon
Definition gui_theme.h:621
StyleRef collectionHeaderCellStyleRef
dictionary: Key / Value
Definition gui_theme.h:389
IconID duplicateIcon
duplicate
Definition gui_theme.h:729
IconID windowRestoreIcon
title bar: restore
Definition gui_theme.h:751
StyleRef progressFillPausedStyleRef
the part done of a paused one, in the warning color
Definition gui_theme.h:522
StyleRef dialogButtonStyleRef
dialog: a secondary button (Cancel)
Definition gui_theme.h:183
StyleRef ghostWindowStyleRef
BeginGhostWindow's default: the window following a drag.
Definition gui_theme.h:113
StyleRef tooltipErrorTextStyleRef
its message
Definition gui_theme.h:443
StyleRef plotChannelStyleRef
a series' chip; selected for the one shown
Definition gui_theme.h:600
StyleRef bannerStyleRefs[4]
.banner-info, -success, -warning, -error
Definition gui_theme.h:668
StyleRef dockContainerMainStyleRef
a main window's docking area, with a side gutter
Definition gui_theme.h:697
tachyon::VisualShadow invalidHalo
Definition gui_theme.h:824
int32_t treeTableExpanderWidth
the expander column (arrow or leaf spacer)
Definition gui_theme.h:853
StyleRef collectionAddStyleRef
list field: Add item
Definition gui_theme.h:384
StyleRef gradientEditorSectionLabelStyleRef
gradient editor: Presets
Definition gui_theme.h:242
IconID timelineEyeIcon
TimelineEditor: a group shown.
Definition gui_theme.h:764
StyleRef toggleGroupStyleRef
.group-button
Definition gui_theme.h:130
StyleRef timelineRulerStyleRef
the ruler over the lanes
Definition gui_theme.h:625
StyleRef documentNewStyleRef
"+"
Definition gui_theme.h:691
StyleRef nodeCaptionStyleRef
a node header's category name, right-aligned
Definition gui_theme.h:326
tachyon::VisualColorStyleIndex curveHandleColor
Definition gui_theme.h:798
StyleRef titleBarTabStyleRef
a tab in it
Definition gui_theme.h:370
StyleRef colorPickerPlanesStyleRef
color picker: square and strips
Definition gui_theme.h:206
StyleRef nodeViewOverlayButtonStyleRef
flat button in such a panel
Definition gui_theme.h:328
IconID timelineEyeOffIcon
TimelineEditor: a group hidden.
Definition gui_theme.h:765
tachyon::VisualColorStyleIndex lineWhiteStyle
–text-1
Definition gui_theme.h:786
IconID timelineUnlockIcon
TimelineEditor: a group unlocked.
Definition gui_theme.h:767
Result< StyleRef > FindStyle(std::string_view cssClass) const
As GetStyle, but a class no file defines is a NotFound error.
StyleRef reorderLiftedRingStyleRef
the dragged row's ring, over its parts
Definition gui_theme.h:423
StyleRef taskProgressCancelStyleRef
the cancel button
Definition gui_theme.h:530
StyleRef colorPickerStripStyleRef
color picker: the hue and alpha strips
Definition gui_theme.h:208
StyleRef commandSearchCurrentRowStyleRef
a field's placeholder while it is empty (SearchField)
Definition gui_theme.h:349
IconID curveFrameAllIcon
CurveField's editor: show all the keys (four corners).
Definition gui_theme.h:772
StyleRef textStyleRef
.text-style: rich text
Definition gui_theme.h:115
IconID errorIcon
message severity: error
Definition gui_theme.h:744
StyleRef reorderLiftedStyleRef
the dragged row itself, under its parts
Definition gui_theme.h:422
IconID dropdownArrowUpIcon
the same while its menu is open
Definition gui_theme.h:727
StyleRef toastProgressStyleRef
the progress bar's track
Definition gui_theme.h:661
StyleRef nodeTextRightStyleRef
text-only property body, right-aligned (right dot only)
Definition gui_theme.h:360
StyleRef taskProgressNameStyleRef
the name
Definition gui_theme.h:525
IconID curveConstantIcon
its interpolations: a step
Definition gui_theme.h:773
StyleRef toastContentStyleRef
title row, body, progress and actions
Definition gui_theme.h:655
StyleRef statusProgressStyleRef
StatusProgress: spinner, name, bar, count.
Definition gui_theme.h:546
StyleRef dialogPrimaryButtonStyleRef
dialog: the primary button (OK); .dialog-button-primary
Definition gui_theme.h:184
IconID dropdownArrowIcon
after a dropdown's text (menu triggers outside a menu bar)
Definition gui_theme.h:726
StyleRef timelineReadyStyleRef
drawn: the progress fill
Definition gui_theme.h:566
StyleRef progressStepPausedStyleRef
a paused step's: a dashed ring in –warn
Definition gui_theme.h:540
StyleRef nodeRerouteStyleRef
a reroute node's square (the dot is drawn on it)
Definition gui_theme.h:308
tachyon::VisualColorStyleIndex tooltipArrowFill
–tooltip-bg: a tooltip's arrow
Definition gui_theme.h:838
StyleRef colorPickerCaptionsStyleRef
color picker: New / Original
Definition gui_theme.h:211
StyleRef toastActionsStyleRef
the row of actions
Definition gui_theme.h:663
StyleRef menuItemShortcutStyleRef
dim trailing keyboard-shortcut text
Definition gui_theme.h:430
StyleRef taskProgressRetryStyleRef
the Retry button
Definition gui_theme.h:531
StyleRef settingsPageSelectionRef
the settings page list (.settings-page-selection)
Definition gui_theme.h:705
StyleRef timelineRulerLabelStyleRef
drawn: a second's label on the ruler
Definition gui_theme.h:626
StyleRef taskProgressErrorStyleRef
the line under the bar once failed: why
Definition gui_theme.h:534
StyleRef iconRightStyleRef
text left, icon right
Definition gui_theme.h:137
StyleRef messageBoxWellStyleRef
MessageDialog: the affected items.
Definition gui_theme.h:195
StyleRef timelineChipStyleRef
a group's color chip
Definition gui_theme.h:619
StyleRef titleBarTextButtonStyleRef
a text button in a title bar (Dock)
Definition gui_theme.h:374
StyleRef searchTextboxFieldStyleRef
Definition gui_theme.h:491
StyleRef horzReorderableGroupStyleRef
Definition gui_theme.h:461
tachyon::VisualColorStyleIndex lineDarkStyle
–bg-app
Definition gui_theme.h:787
StyleRef messageBoxStyleRef
MessageDialog: the window.
Definition gui_theme.h:186
StyleRef searchRowStyleRef
full-width row hosting a top-of-panel SearchField (bottom spacing)
Definition gui_theme.h:485
StyleRef toastBodyMonoStyleRef
a body of code or file locations
Definition gui_theme.h:660
StyleRef gradientEditorSwatchCellStyleRef
gradient editor: the stop's color
Definition gui_theme.h:260
StyleRef typedFieldInputStyleRef
TypedField: the value.
Definition gui_theme.h:378
StyleRef dialogTitleStyleRef
dialog: its title
Definition gui_theme.h:176
IconID timelineStartIcon
Timeline: go to the start.
Definition gui_theme.h:752
StyleRef nodeTextLeftStyleRef
text-only property body, left-aligned (left dot only)
Definition gui_theme.h:358
IconID timelinePauseIcon
Timeline: pause (filled).
Definition gui_theme.h:755
StyleRef taskProgressPercentStyleRef
the percent, monospace
Definition gui_theme.h:528
StyleRef toastEarlierStyleRef
"+N earlier"
Definition gui_theme.h:667
StyleRef gridViewRenameListItemStyleRef
rename-mode list row: icon left of editor
Definition gui_theme.h:479
StyleRef colorPickerTrackStyleRef
color picker: a channel's track
Definition gui_theme.h:218
StyleRef dockSplitVertStyleRef
vertical flex column (split into top / bottom)
Definition gui_theme.h:699
tachyon::VisualColorStyleIndex nanTextColor
a number field's NaN
Definition gui_theme.h:790
StyleRef gradientEditorLocationInputStyleRef
gradient editor: its value
Definition gui_theme.h:252
StyleRef progressBarStyleRef
ProgressBar's track, 6px high.
Definition gui_theme.h:512
StyleRef nodeFrameStyleRef
a frame's box (drawn behind the wires)
Definition gui_theme.h:309
StyleRef tooltipExpandTextStyleRef
its text's colors (the font is the cut text's)
Definition gui_theme.h:441
tachyon::LinkStyle linkStyle
The .link class: its color, :hover color, cursor and underline, for a ContentRun's linkStyle.
Definition gui_theme.h:827
StyleRef documentLineStyleRef
under the bar, in the active document's color
Definition gui_theme.h:690
tachyon::VisualColorStyleIndex timelineWaveColor
Definition gui_theme.h:794
StyleRef taskProgressHeaderStyleRef
its name row
Definition gui_theme.h:524
StyleRef tooltipPinTypeStyleRef
... its type, muted and monospace
Definition gui_theme.h:447
StyleRef colorPickerPreviewStyleRef
color picker: the color preview
Definition gui_theme.h:228
StyleRef tabCloseStyleRef
a docked tab whose group holds the focus
Definition gui_theme.h:507
StyleRef messageBoxWarningStyleRef
MessageDialog: severity circle, warning / quit.
Definition gui_theme.h:189
int socketSize
.node-socket box size in pixels (read from CSS); the custom-drawn dot and the on-border insets derive...
Definition gui_theme.h:357
StyleRef plotLabelStyleRef
drawn: a grid line's number
Definition gui_theme.h:602
StyleRef labelStyleRef
Label()'s default.
Definition gui_theme.h:118
StyleRef nodeTransitionRenameStyleRef
the field over a transition's label while relabelling
Definition gui_theme.h:314
tachyon::VisualColorStyleIndex dividerHoverLineStyle
a hovered divider drawn as a line (label sizer)
Definition gui_theme.h:789
StyleRef messageBoxBodyStyleRef
MessageDialog: the icon and text row.
Definition gui_theme.h:188
StyleRef messageBoxTextStyleRef
MessageDialog: title, message and extras.
Definition gui_theme.h:192
StyleRef dashedStyleRef
a box with a dashed border
Definition gui_theme.h:134
StyleRef gridViewListItemStyleRef
list-mode cell: icon left, name right, one line
Definition gui_theme.h:477
StyleRef plotReadoutStyleRef
drawn: the values under the pointer
Definition gui_theme.h:603
StyleRef menuItemDestructiveRowStyleRef
a destructive item's row, tinted with the error color when hovered
Definition gui_theme.h:425
StyleRef searchTextboxStyleRef
Definition gui_theme.h:489
StyleRef curvePlotStyleRef
the plot; its padding holds the grid's labels
Definition gui_theme.h:582
StyleRef tableHeaderSectionStyleRef
Header grid, a sibling of the body so it doesn't scroll with the rows.
Definition gui_theme.h:269
StyleRef reorderableItemStyleRef
Definition gui_theme.h:460
StyleRef collectionRemoveStyleRef
list / dictionary: remove
Definition gui_theme.h:383
StyleRef toolbarFloatingWindowStyleRef
floating tear-off window content host (no padding)
Definition gui_theme.h:108
StyleRef treeTableCellStyleRef
Definition gui_theme.h:299
StyleRef colorPickerHdrStyleRef
color picker: the intensity box
Definition gui_theme.h:222
StyleRef itemListStyleRef
a bordered scrolling list box
Definition gui_theme.h:361
StyleRef bannerLinkStyleRef
the toasts, a column in the window's corner
Definition gui_theme.h:672
StyleRef tabContentStyleRef
a docked tab whose group holds the focus
Definition gui_theme.h:506
IconID retryIcon
a turning arrow: try again
Definition gui_theme.h:747
StyleRef emptyVertStyleRef
vertical flex, no wrap
Definition gui_theme.h:89
StyleRef curveTreeNameStyleRef
a channel's name
Definition gui_theme.h:594
StyleRef timelineEditorStyleRef
TimelineEditor: the whole.
Definition gui_theme.h:571
StyleRef progressStepStyleRef
a step's row
Definition gui_theme.h:536
StyleRef nodeStateActiveStyleRef
the ring round the state a machine is in
Definition gui_theme.h:315
StyleRef progressFillFailedStyleRef
the part done of a failed one, in the error color
Definition gui_theme.h:515
StyleRef timelineListTitleStyleRef
"Tracks"
Definition gui_theme.h:612
StyleRef gradientEditorRowStyleRef
gradient editor: a labeled row
Definition gui_theme.h:247
StyleRef sliderFieldBgStyleRef
unfilled half painted by the slider's custom-draw
Definition gui_theme.h:143
NodeTints nodeTints
Definition gui_theme.h:821
StyleRef messageBoxErrorStyleRef
MessageDialog: severity circle, error.
Definition gui_theme.h:191
StyleRef progressFillStyleRef
the part done
Definition gui_theme.h:514
StyleRef progressStepFailedStyleRef
a failed step's: a cross on an –error disc
Definition gui_theme.h:538
StyleRef tableSeparatorStyleRef
the divider between table sections
Definition gui_theme.h:292
StyleRef colorAlphaStyleRef
ColorField: the alpha box (value and %).
Definition gui_theme.h:170
StyleRef sliderStyleRef
Slider: a groove and knob, no value text.
Definition gui_theme.h:148
StyleRef documentBarStyleRef
the bar: its row over the line
Definition gui_theme.h:681
StyleRef commandSearchKeyStyleRef
a field's placeholder while it is empty (SearchField)
Definition gui_theme.h:347
StyleRef messageBoxQuestionStyleRef
MessageDialog: severity circle, question / info.
Definition gui_theme.h:190
StyleRef timelineScrubberStyleRef
the scrubber
Definition gui_theme.h:565
StyleRef taskProgressDetailStyleRef
the line under the bar
Definition gui_theme.h:533
StyleRef statusTextStyleRef
text in the status bar
Definition gui_theme.h:340
StyleRef timelineEventLabelStyleRef
drawn: an event's name
Definition gui_theme.h:637
StyleRef documentRowStyleRef
the tabs, "+" and the list
Definition gui_theme.h:682
StyleRef messageBoxItemDotStyleRef
MessageDialog: an affected item's dot.
Definition gui_theme.h:197
IconID dragHandleIcon
three-bar grip of a reorderable list / tree row
Definition gui_theme.h:737
StyleRef listItemRowStyleRef
reorderable list item outer container
Definition gui_theme.h:468
StyleRef colorPickerChannelStyleRef
color picker: one channel row
Definition gui_theme.h:216
StyleRef timelineTimeStyleRef
the time's well
Definition gui_theme.h:561
int32_t nodeGridSize
Node-view grid pitch: half a property row, measured in ComputeRowMetrics.
Definition gui_theme.h:859
StyleRef axisLabelStyleRefs[4]
vector fields: the label of each component (X, Y, Z, W)
Definition gui_theme.h:334
StyleRef menuItemDestructiveIconStyleRef
a destructive item's icon (.menu-item-icon-destructive)
Definition gui_theme.h:426
tachyon::LinkStyle internalLinkStyle
The .link-internal class, for a link that stays in the app (a dotted underline).
Definition gui_theme.h:829
StyleRef timelineRowButtonStyleRef
eye, lock and add-key buttons
Definition gui_theme.h:622
StyleRef gridViewRenameIconStyleRef
the icon child of a renaming cell
Definition gui_theme.h:480
IconID viewportScaleIcon
scale (a corner pulled out)
Definition gui_theme.h:779
StyleRef dockSizerVertStyleRef
horizontal bar between top / bottom panes
Definition gui_theme.h:701
tachyon::VisualColorStyleIndex timelineSummaryKeyColor
Definition gui_theme.h:794
StyleRef timelineFilterStyleRef
the filter field
Definition gui_theme.h:613
tachyon::color4b invalidColor
An invalid control's border color (–error) and the halo around it (–invalid-halo).
Definition gui_theme.h:823
IconID timelineLoopIcon
Timeline: loop.
Definition gui_theme.h:758
StyleRef progressStepHeaderStyleRef
a step's line: glyph, name and note
Definition gui_theme.h:544
bool ShowVariableColor(StyleManager &styleManager, std::string_view name, std::string_view value)
Shows a new color for the color variable name at once, without loading the theme again: what's drawn ...
StyleRef documentsStyleRef
the bar and the active document's panels, a column
Definition gui_theme.h:680
StyleRef gradientEditorPresetsStyleRef
gradient editor: the presets row
Definition gui_theme.h:241
StyleRef curvePlotFramesStyleRef
the plot with fps set: no time labels under it
Definition gui_theme.h:587
StyleRef messageBoxCloseStyleRef
MessageDialog: the close button, top right.
Definition gui_theme.h:187
StyleRef toolbarSideHorzStyleRef
toolbar side bin, top / bottom: row + flex-wrap
Definition gui_theme.h:96
StyleRef documentExtensionStyleRef
".level", after the name
Definition gui_theme.h:686
StyleRef gradientEditorBadgeStyleRef
gradient editor: the selected stop's location
Definition gui_theme.h:244
StyleRef dragLabelStyleRef
DragLabel()'s default.
Definition gui_theme.h:121
StyleRef nodeFramePortStyleRef
the name of the input on it
Definition gui_theme.h:319
StyleRef collectionStyleRef
BeginArea / BeginCached default.
Definition gui_theme.h:455
StyleRef tooltipFrameStyleRef
a tooltip's window: see-through, with room for the arrow
Definition gui_theme.h:432
StyleRef dialogDangerButtonStyleRef
dialog: a destructive button (Quit, Delete); .dialog-button-danger
Definition gui_theme.h:185
ControlStyles regularControls
.button, .toggle, .textbox, .number-field, .menu-trigger
Definition gui_theme.h:82
IconID invalidIcon
in a field whose value isn't accepted
Definition gui_theme.h:745
StyleRef horzReorderableGroupWrapStyleRef
Definition gui_theme.h:463
StyleRef viewportToolsStyleRef
the tools' strip down its left
Definition gui_theme.h:605
StyleRef menuItemArrowStyleRef
dim trailing submenu arrow
Definition gui_theme.h:431
StyleRef bannerMessageStyleRefs[4]
.banner-message-info, ...: the icon in the severity's color
Definition gui_theme.h:669
int32_t treeTableIndent
per indent level
Definition gui_theme.h:852
StyleRef tabOverflowStyleRef
the "+N" button after the tabs that fit
Definition gui_theme.h:505
StyleRef nodeHeaderStyleRef
node title bar (distinct background, sits at top of node)
Definition gui_theme.h:321
StyleRef colorPickerSectionLabelStyleRef
color picker: Swatches, Recent
Definition gui_theme.h:225
StyleRef toastTimeStyleRef
"now", "4 min"
Definition gui_theme.h:658
IconID sortArrowDownIcon
table header: sorted ascending
Definition gui_theme.h:720
StyleRef curveTreeHeaderStyleRef
its header: Channel, and the playhead's frame
Definition gui_theme.h:589
StyleRef colorPickerFieldRowStyleRef
color picker: Hex / HDR rows
Definition gui_theme.h:220
ControlStyles nodeControls
in a node's rows: the regular ones, numbers in .node-number-field
Definition gui_theme.h:84
StyleRef sliderFieldValueStyleRef
value text overlaid on the track
Definition gui_theme.h:146
Text and icon registration, measurement, rendering and editing.
Definition gui_text_system.h:189
A value, or the Error saying why there is none.
Definition gui_result.h:36
Bakes serializable Styles into deduplicated runtime layout/visual styles; a StyleRef holds indices in...
Definition gui_style_manager.h:39
VisualColorStyleIndex
Index into StyleManager's color style pool; Invalid (0) draws nothing (transparent).
Definition gui_style.h:33
constexpr AccentPreset kAccentPresets[]
The accents of the Graphite design: the palettes' own blue, and teal, violet and orange.
Definition gui_theme.h:47
IconID
Handle for an icon registered with ITextSystem::RegisterIconFromSVG / RegisterIconFromSVGFile.
Definition gui_style_text.h:15
std::map< std::string, std::string, std::less<> > ThemeVariableOverrides
Theme variables set in code, by name ("--bg-panel") to a CSS value ("#202020", "6px",...
Definition gui_theme.h:56
@ Invalid
Definition gui_style_text.h:15
Definition gui_logging.h:24
An accent color, one for dark palettes and one for light ones: the theme takes the one that suits the...
Definition gui_theme.h:32
color4b light
for a light palette
Definition gui_theme.h:34
bool operator==(const AccentColors &) const =default
color4b dark
for a dark palette
Definition gui_theme.h:33
A named accent, for a settings page.
Definition gui_theme.h:41
std::string_view name
Definition gui_theme.h:42
AccentColors colors
Definition gui_theme.h:43
Default control styles.
Definition gui_theme.h:61
StyleRef textbox
.textbox / .toolbar-textbox
Definition gui_theme.h:64
StyleRef menuTrigger
.menu-trigger / .toolbar-menu-trigger
Definition gui_theme.h:66
StyleRef toggle
.toggle / .toolbar-toggle
Definition gui_theme.h:63
StyleRef number
numeric fields: the textbox in the monospace font
Definition gui_theme.h:65
StyleRef button
.button / .toolbar-button
Definition gui_theme.h:62
A resolved CSS custom property (:root { --name: value; }): a color, 1..4 numbers or a box-shadow.
Definition gui_style_sheet.h:30
A dropdown trigger's parts, laid out inside its box: its content (an icon, if any,...
Definition gui_theme.h:409
StyleRef content
Definition gui_theme.h:410
StyleRef arrow
Definition gui_theme.h:411
How strongly a node view's colors show, each over what's under it (0 to 1): a node's header and the l...
Definition gui_theme.h:816
float headerLine
Definition gui_theme.h:817
float stateBorder
Definition gui_theme.h:818
float header
Definition gui_theme.h:817
float frameBand
Definition gui_theme.h:819
float frameBorder
Definition gui_theme.h:819
float state
Definition gui_theme.h:818
float frameFill
Definition gui_theme.h:819
Colors of a link run, normal and hovered.
Definition gui_text_system.h:114
A registered style, as StyleManager::Register returns it: indices into the shared style pools,...
Definition gui_style_ref.h:25
A complete style, as parsed from CSS or built in code: layout properties plus the visual properties o...
Definition gui_style.h:699
A BoxShadow in pixels with its color registered. No color is no shadow.
Definition gui_style.h:894
Definition gui_base_types.h:383
Definition gui_base_types.h:394