Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
30673d2
feat(UI): Time of Day
Dlizzio Feb 18, 2026
22cae6d
style: 🎨 apply pre-commit.ci formatting
pre-commit-ci[bot] Feb 18, 2026
6be3fe3
Merge branch 'dev' into time-of-day
Dlizzio Feb 23, 2026
a810b7f
style: 🎨 apply pre-commit.ci formatting
pre-commit-ci[bot] Feb 23, 2026
5c00a30
Update EditorWindow.cpp
Dlizzio Feb 24, 2026
38f23a4
style: 🎨 apply pre-commit.ci formatting
pre-commit-ci[bot] Feb 24, 2026
841dcc3
AI comments
Dlizzio Feb 24, 2026
64ad0f7
AI comments
Dlizzio Feb 24, 2026
c483ad0
AI comments
Dlizzio Feb 24, 2026
b1fd6b8
style: 🎨 apply pre-commit.ci formatting
pre-commit-ci[bot] Feb 24, 2026
56e5bdf
AI comments
Dlizzio Feb 24, 2026
91c6e2f
AI comments
Dlizzio Feb 24, 2026
4785cdc
code consolidation
Dlizzio Feb 24, 2026
d28710e
style: 🎨 apply pre-commit.ci formatting
pre-commit-ci[bot] Feb 24, 2026
490a5fb
fix double conversion
Dlizzio Feb 24, 2026
9c16a60
add columns instead of tabs
Dlizzio Feb 24, 2026
7c97a4e
style: 🎨 apply pre-commit.ci formatting
pre-commit-ci[bot] Feb 24, 2026
9ef3694
add to all times of day
Dlizzio Feb 24, 2026
08a1152
style: 🎨 apply pre-commit.ci formatting
pre-commit-ci[bot] Feb 24, 2026
54e9a3b
scene settings manager doc
Dlizzio Feb 25, 2026
152373a
style: 🎨 apply pre-commit.ci formatting
pre-commit-ci[bot] Feb 25, 2026
b7f771b
dialogue box
Dlizzio Feb 25, 2026
8a8e325
style: 🎨 apply pre-commit.ci formatting
pre-commit-ci[bot] Feb 25, 2026
557a257
Merge branch 'dev' into time-of-day
Dlizzio Feb 25, 2026
b7cbd9c
row instead of column
Dlizzio Feb 27, 2026
723c82b
Merge branch 'dev' into time-of-day
Dlizzio Feb 27, 2026
5bab24a
style: 🎨 apply pre-commit.ci formatting
pre-commit-ci[bot] Feb 27, 2026
8995ea4
Merge branch 'dev' into time-of-day
Dlizzio Mar 2, 2026
5668063
grouping loop
Dlizzio Mar 2, 2026
1d0e13f
logger fix
Dlizzio Mar 2, 2026
6667bd7
AI hell
Dlizzio Mar 2, 2026
af9d40f
AI comments
Dlizzio Mar 2, 2026
e4c65c5
AI comment
Dlizzio Mar 2, 2026
f7b0362
AI comments
Dlizzio Mar 2, 2026
8415d2d
AI comment
Dlizzio Mar 2, 2026
3c3f271
AI comment
Dlizzio Mar 2, 2026
a75e466
AI comment
Dlizzio Mar 2, 2026
79cc17b
AI comment
Dlizzio Mar 2, 2026
a3c160d
AI comment
Dlizzio Mar 3, 2026
6330433
AI comment
Dlizzio Mar 3, 2026
8c0b2b6
Merge branch 'dev' into time-of-day
Dlizzio Mar 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
757 changes: 757 additions & 0 deletions docs/development/scene-settings-manager.md

Large diffs are not rendered by default.

23 changes: 18 additions & 5 deletions src/Menu/ThemeManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,25 @@ class ThemeManager
static constexpr float AUTOHIDE_EXPAND_DELAY = 0.25f; // Delay before expanding panel (seconds)
static constexpr float AUTOHIDE_PANEL_WIDTH_RATIO = 0.2f; // Ratio of window width for panel (2/10)

// Scene settings panel constants
static constexpr float SCENE_VALUE_INPUT_WIDTH = 240.0f; // Width for float/int value inputs
static constexpr float SCENE_DELETE_BUTTON_WIDTH = 40.0f; // Width for delete (X) buttons
static constexpr float SCENE_FEATURE_DROPDOWN_RATIO = 0.45f; // Feature dropdown width ratio
static constexpr float SCENE_SETTING_DROPDOWN_RATIO = 0.6f; // Setting dropdown width ratio
// Scene settings panel constants (multipliers of ImGui::GetFontSize())
static constexpr float SCENE_VALUE_INPUT_EM = 5.7f; // Width for float/int value inputs
static constexpr float SCENE_DELETE_BUTTON_EM = 1.0f; // Width for delete (X) buttons
static constexpr float SCENE_VALUE_LABEL_OFFSET_RATIO = 0.5f; // Value label right-alignment ratio
static constexpr float SCENE_TOD_PARAM_COL_EM = 6.0f; // Parameter column width (TOD table)
static constexpr float SCENE_TOD_PERIOD_COL_EM = 4.3f; // Per-period column width (TOD table)
static constexpr float SCENE_TOD_INACTIVE_ALPHA = 0.5f; // Alpha for inactive TOD periods
static constexpr float SCENE_TOD_ACTIVE_THRESHOLD = 0.01f; // Factor threshold to consider a period active
static constexpr float SCENE_ENTRY_INDENT_EM = 0.4f; // Indent for setting entries under feature headers
static constexpr float SCENE_TOD_FEATURE_TEXT_SCALE = 0.85f; // Smaller text scale for feature names in TOD table
static constexpr float SCENE_TOD_LABEL_EM = 2.6f; // Fixed width for period labels in add-setting rows
static constexpr float SCENE_ADD_BUTTON_EM = 1.5f; // Size for the + add-setting button
static constexpr float SCENE_GROUP_SEPARATOR_ALPHA = 0.4f; // Alpha for light separators between feature groups
static constexpr float SCENE_ADD_DIALOG_WIDTH_EM = 22.0f; // Width of add-setting dialog
static constexpr float SCENE_ADD_DIALOG_HEIGHT_EM = 20.0f; // Max height of add-setting dialog
static constexpr float SCENE_ADD_LIST_HEIGHT_EM = 12.0f; // Height of scrollable setting list in dialog

/// Resolve a font-relative multiplier to pixels using current font size.
static float Em(float multiplier) { return multiplier * ImGui::GetFontSize(); }

// Combo search input constants
static constexpr float COMBO_SEARCH_ICON_SIZE = 16.0f; // Icon size for search inside combos
Expand Down
Loading