-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f4674be
commit 342f729
Showing
37 changed files
with
388 additions
and
741 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,6 @@ export_presets.cfg | |
# Mono-specific ignores | ||
.mono/ | ||
data_*/ | ||
|
||
# GoDAW specific ignores | ||
song.gd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
extends Control | ||
|
||
onready var progress_dialog:WindowDialog = $ProgressDialog | ||
onready var progress_label:Label = $ProgressDialog/VBoxContainer/Label | ||
onready var progress_bar: ProgressBar = $ProgressDialog/VBoxContainer/ProgressBar | ||
|
||
onready var file_dialog: FileDialog = $FileDialog | ||
onready var documents_dir = OS.get_system_dir(OS.SYSTEM_DIR_DOCUMENTS) | ||
|
||
# Progress | ||
func progress(title:String, text: String) -> ProgressBar: | ||
progress_dialog.window_title = title | ||
progress_label.text = text | ||
progress_dialog.popup_centered() | ||
return progress_bar | ||
func hide_progress(): progress_dialog.hide() | ||
|
||
# FileDialog | ||
func file(title: String, mode: int, filters: Array) -> void: | ||
file_dialog.window_title = title | ||
file_dialog.mode = mode | ||
file_dialog.filters = filters | ||
file_dialog.current_dir = documents_dir | ||
file_dialog.popup_centered() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
extends ConfirmationDialog | ||
|
||
signal new_project(project) | ||
|
||
onready var project_name = $HBox/data/ProjectName | ||
onready var project_type = $HBox/data/ProjectType | ||
|
||
func _ready(): | ||
project_type.add_item("GUI", Project.PROJECT_TYPE.GUI) | ||
project_type.add_item("SongScript", Project.PROJECT_TYPE.SONGSCRIPT) | ||
|
||
func _confirmed(): | ||
emit_signal("new_project", Project.new(project_name.text, project_type.selected)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
[gd_scene load_steps=2 format=2] | ||
|
||
[ext_resource path="res://Editor/Scenes/Dialogues/NewSong/NewSong.gd" type="Script" id=1] | ||
|
||
[node name="NewSong" type="ConfirmationDialog"] | ||
margin_right = 420.0 | ||
margin_bottom = 120.0 | ||
rect_min_size = Vector2( 375, 70 ) | ||
window_title = "New Song" | ||
script = ExtResource( 1 ) | ||
|
||
[node name="HBox" type="HBoxContainer" parent="."] | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
margin_left = 5.0 | ||
margin_top = 5.0 | ||
margin_right = -5.0 | ||
margin_bottom = -5.0 | ||
alignment = 1 | ||
|
||
[node name="Labels" type="VBoxContainer" parent="HBox"] | ||
margin_right = 95.0 | ||
margin_bottom = 110.0 | ||
alignment = 1 | ||
|
||
[node name="ProjectName" type="Label" parent="HBox/Labels"] | ||
margin_top = 39.0 | ||
margin_right = 95.0 | ||
margin_bottom = 53.0 | ||
text = "Project Name: " | ||
|
||
[node name="ProjectType" type="Label" parent="HBox/Labels"] | ||
margin_top = 57.0 | ||
margin_right = 95.0 | ||
margin_bottom = 71.0 | ||
text = "Project Type:" | ||
|
||
[node name="data" type="VBoxContainer" parent="HBox"] | ||
margin_left = 99.0 | ||
margin_right = 410.0 | ||
margin_bottom = 110.0 | ||
size_flags_horizontal = 3 | ||
alignment = 1 | ||
|
||
[node name="ProjectName" type="LineEdit" parent="HBox/data"] | ||
margin_top = 31.0 | ||
margin_right = 311.0 | ||
margin_bottom = 55.0 | ||
rect_min_size = Vector2( 200, 0 ) | ||
size_flags_horizontal = 3 | ||
placeholder_text = "Name your masterpiece (maybe)" | ||
|
||
[node name="ProjectType" type="OptionButton" parent="HBox/data"] | ||
margin_top = 59.0 | ||
margin_right = 311.0 | ||
margin_bottom = 79.0 | ||
rect_min_size = Vector2( 200, 0 ) | ||
size_flags_horizontal = 3 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,13 @@ | ||
[gd_scene load_steps=4 format=2] | ||
|
||
[ext_resource path="res://Editor/Scenes/Dialogues/TrackEditor/TrackEditor.gd" type="Script" id=1] | ||
[ext_resource path="res://Themes/Default/GoDAWTheme.tres" type="Theme" id=2] | ||
[ext_resource path="res://Editor/Scenes/Dialogues/TrackEditor/GDScriptSyntaxHighlight.gd" type="Script" id=3] | ||
[gd_scene format=2] | ||
|
||
[node name="TrackEditor" type="WindowDialog"] | ||
margin_right = 48.0 | ||
margin_bottom = 40.0 | ||
rect_min_size = Vector2( 876, 480 ) | ||
theme = ExtResource( 2 ) | ||
window_title = "Track Editor" | ||
script = ExtResource( 1 ) | ||
|
||
[node name="HBoxContainer" type="HBoxContainer" parent="."] | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
|
||
[node name="TextEdit" type="TextEdit" parent="HBoxContainer"] | ||
margin_right = 876.0 | ||
margin_bottom = 480.0 | ||
size_flags_horizontal = 3 | ||
highlight_current_line = true | ||
syntax_highlighting = true | ||
show_line_numbers = true | ||
draw_tabs = true | ||
caret_blink = true | ||
|
||
[node name="GDScriptSyntaxHighlight" type="Node" parent="HBoxContainer/TextEdit"] | ||
script = ExtResource( 3 ) | ||
|
||
[connection signal="popup_hide" from="." to="." method="_unpopup"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.