Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

Commit d233631

Browse files
authored
charting state stuff
planning redos on some stuff, not sure what yet
1 parent ac6c6a2 commit d233631

5 files changed

Lines changed: 181 additions & 222 deletions

File tree

TODO.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@
1717

1818
## Future To-Dos
1919
* [ ] New Song
20-
* [ ] Extra Keys
20+
* [ ] Extra Keys
21+
* [ ] Huge Overhaul?

assets/ui/components/load-song.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<vbox width="400" height="200" style="padding:20px;" id="loadSongDialog">
2+
<label text="Enter a song to load:" style="font-size:18px;" />
3+
<textfield id="txtSongName" text="" style="margin-top:10px;" />
4+
<hbox style="margin-top:20px;" horizontalAlign="center">
5+
<button id="btnLoad" text="Load" />
6+
<button id="btnCancel" text="Cancel" style="margin-left:20px;" />
7+
</hbox>
8+
</vbox>

assets/ui/components/menubar.xml

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
11
<menubar id="menubar" width="100%">
2-
<style>
3-
.menu {
4-
width: 120px;
5-
}
6-
</style>
7-
<menu text="File">
8-
<menu-item text="Load Song" />
9-
<menu-item text="Load JSON" />
10-
<menu-item text="Save" shortcutText="Ctrl+S" />
11-
<menu-item text="Save As..." shortcutText="Ctrl+Shift+S" />
12-
<menu-separator />
13-
<menu-item text="Exit" shortcutText="Esc" />
14-
</menu>
2+
<style>
3+
.menu { width: 120px; }
4+
</style>
155

16-
<menu text="Edit">
17-
<menu-item text="Copy Section" shortcutText="Ctrl+C" />
18-
<menu-item text="Paste Section" shortcutText="Ctrl+V" />
19-
<menu-item text="Clear Section" />
20-
<menu-item text="Clear Song" />
21-
</menu>
6+
<menu text="File" id="menuFile">
7+
<menu-item id="miLoadSong" text="Load Song" />
8+
<menu-item id="miLoadJSON" text="Load JSON" />
9+
<menu-item id="miSave" text="Save" shortcutText="Ctrl+S" />
10+
<menu-item id="miSaveAs" text="Save As..." shortcutText="Ctrl+Shift+S" />
11+
<menu-separator />
12+
<menu-item id="miExit" text="Exit" shortcutText="Esc" />
13+
</menu>
2214

23-
<menu text="Chart">
24-
<menu-item text="Playtest" shortcutText="Enter" />
25-
<menu-item text="Edit Metadata" />
26-
</menu>
15+
<menu text="Edit" id="menuEdit">
16+
<menu-item id="miCopySection" text="Copy Section" shortcutText="Ctrl+C" />
17+
<menu-item id="miPasteSection" text="Paste Section" shortcutText="Ctrl+V" />
18+
<menu-item id="miClearSection" text="Clear Section" />
19+
<menu-item id="miClearSong" text="Clear Song" />
20+
</menu>
2721

28-
<menu text="Help">
29-
<menu-item text="Controls" />
30-
</menu>
31-
</menubar>
22+
<menu text="Chart" id="menuChart">
23+
<menu-item id="miPlaytest" text="Playtest" shortcutText="Enter" />
24+
<menu-item id="miEditMetadata" text="Edit Metadata" />
25+
</menu>
26+
27+
<menu text="Help" id="menuHelp">
28+
<menu-item id="miControls" text="Controls" />
29+
</menu>
30+
</menubar>

assets/ui/components/metadata.xml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
<collapsible-dialog id="toolboxMetadata" title="Song Metadata" width="345" height="512">
2-
<vbox width="100%" height="100%">
3-
<frame text="Metadata" width="100%" height="270" id="frameVariation">
4-
<grid columns="2" height="100%">
5-
<label text="Song Name:" verticalAlign="center" horizontalAlign="right"/>
6-
<textfield id="inputSongName" value="Test" tooltip="The name of the song."/>
7-
<label text="Song BPM:" verticalAlign="center" horizontalAlign="right"/>
8-
<textfield id="inputSongBPM" value="100" tooltip="The BPM of the song."/>
9-
<label text="Song Time Sig.:" verticalAlign="center" horizontalAlign="right"/>
10-
<textfield id="inputSongSig" value="4,4" tooltip="The time signature of the song."/>
11-
</grid>
12-
</frame>
13-
</vbox>
2+
<vbox width="100%" height="100%">
3+
<frame text="Metadata" width="100%" height="270" id="frameVariation">
4+
<grid columns="2" height="100%">
5+
<label text="Song Name:" verticalAlign="center" horizontalAlign="right"/>
6+
<textfield id="inputSongName" value="Test" tooltip="The name of the song."/>
7+
<label text="Song BPM:" verticalAlign="center" horizontalAlign="right"/>
8+
<textfield id="inputSongBPM" value="100" tooltip="The BPM of the song."/>
9+
<label text="Song Time Sig.:" verticalAlign="center" horizontalAlign="right"/>
10+
<textfield id="inputSongSig" value="4,4" tooltip="The time signature of the song."/>
11+
</grid>
12+
</frame>
13+
14+
<hbox width="100%" horizontalAlign="center">
15+
<button id="btnSaveMetadata" text="Save" />
16+
<button id="btnCancelMetadata" text="Cancel" />
17+
</hbox>
18+
</vbox>
1419
</collapsible-dialog>

0 commit comments

Comments
 (0)