Implement ScrollableLineGraphWidget.

This commit is contained in:
darkademic
2025-07-15 17:35:35 +01:00
committed by Gustas Kažukauskas
parent 3a5358ad7c
commit 77baa7a35f
7 changed files with 441 additions and 53 deletions

View File

@@ -1002,7 +1002,7 @@ Container@OBSERVER_WIDGETS:
Width: PARENT_WIDTH
Height: PARENT_HEIGHT
Color: 00000090
LineGraph@INCOME_GRAPH:
ScrollableLineGraph@INCOME_GRAPH:
X: 0
Y: 0
Width: PARENT_WIDTH - 5
@@ -1015,6 +1015,8 @@ Container@OBSERVER_WIDGETS:
YAxisLabel: Earnings
LabelFont: TinyBold
AxisFont: TinyBold
ScrollbarBackground: scrollpanel-button-pressed
ScrollbarButton: scrollpanel-button
Container@ARMY_VALUE_GRAPH_CONTAINER:
X: 0
Y: 30
@@ -1028,7 +1030,7 @@ Container@OBSERVER_WIDGETS:
Width: PARENT_WIDTH
Height: PARENT_HEIGHT
Color: 00000090
LineGraph@ARMY_VALUE_GRAPH:
ScrollableLineGraph@ARMY_VALUE_GRAPH:
X: 0
Y: 0
Width: PARENT_WIDTH - 5
@@ -1041,6 +1043,8 @@ Container@OBSERVER_WIDGETS:
YAxisLabel: Army Value
LabelFont: TinyBold
AxisFont: TinyBold
ScrollbarBackground: scrollpanel-button-pressed
ScrollbarButton: scrollpanel-button
Container@HPF_ROOT:
Logic: LoadIngameHierarchicalPathFinderOverlayLogic
X: WINDOW_WIDTH - WIDTH - 260