add dashboard framework: responsive grid layout with modular cell system and fullscreen entry

This commit is contained in:
Eric Smith 2026-05-20 12:54:09 -04:00
parent f140d558b7
commit 5aabc1f7ef
6 changed files with 234 additions and 14 deletions

8
scenes/dashboard.gd Normal file
View file

@ -0,0 +1,8 @@
extends Control
@onready var grid: DashboardGrid = %DashboardGrid
func _ready() -> void:
get_window().mode = Window.MODE_FULLSCREEN

19
scenes/dashboard.tscn Normal file
View file

@ -0,0 +1,19 @@
[gd_scene format=3 uid="uid://c3gq43o1aqy0b"]
[ext_resource type="Script" path="res://scenes/dashboard.gd" id="1"]
[ext_resource type="Script" path="res://scripts/dashboard_grid.gd" id="2"]
[ext_resource type="Theme" path="res://themes/default_theme.tres" id="3"]
[node name="Dashboard" type="Control"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource("3")
script = ExtResource("1")
[node name="DashboardGrid" type="Control" parent="."]
unique_name_in_owner = true
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource("2")