CozyPixelStudio/src/UI
Igor Santarek aae3ae0cf4
Refactoring Main.gd. Mostly cutting big methods into smaller ones. (#244)
* Refactoring Main.gd. Mostly cutting big methods into smaller one.

- Reduced size of _ready method in Main.gd
- Moved code from certain parts of old _ready method into seperate methods
- Fixed the translation bug related to CurrentFrame node in TopMenuContainer scene. The CurrentFrame node wasn't updating the language when I was changing language. I've also changed the translation file for this.
- Fixed Global.palette_option_button.selected related warning. Because of some unknown reasons, git didn't push completed line there.
- Moved code from file_menu_id_pressed and view_menu_id_pressed method in Main.gd to separate methods to make it more readable.

* Removed window_title changes from Main.tscn

Co-authored-by: OverloadedOrama <35376950+OverloadedOrama@users.noreply.github.com>
2020-05-24 00:22:06 +03:00
..
Dialogs Made OpenSprite and SaveSprite separate scenes 2020-05-20 01:44:27 +03:00
Rulers Asset renaming (#225) 2020-05-05 03:53:58 +03:00
Timeline Added forgotten translations, bumped version to rc3 and small dialog UI changes 2020-05-11 20:07:16 +03:00
BrushButton.gd Removed brush_selected signal 2020-05-21 20:33:00 +03:00
BrushButton.tscn Removed brush_selected signal 2020-05-21 20:33:00 +03:00
BrushesPopup.tscn Made BrushesPopup and PatternsPopup their own scenes 2020-05-21 20:37:20 +03:00
ColorAndToolOptions.gd Created ColorAndToolOptions script and scene 2020-05-20 00:57:07 +03:00
ColorAndToolOptions.tscn Created ColorAndToolOptions script and scene 2020-05-20 00:57:07 +03:00
NotificationLabel.gd Created a "UI" folder in src 2020-05-02 01:19:01 +03:00
NotificationLabel.tscn Created a "UI" folder in src 2020-05-02 01:19:01 +03:00
PatternButton.gd Created a "UI" folder in src 2020-05-02 01:19:01 +03:00
PatternButton.tscn Asset renaming (#225) 2020-05-05 03:53:58 +03:00
PatternsPopup.tscn Made BrushesPopup and PatternsPopup their own scenes 2020-05-21 20:37:20 +03:00
SecondViewport.gd Created a "UI" folder in src 2020-05-02 01:19:01 +03:00
ToolButtons.gd Created ToolButtons.gd, moved code from Main.gd there 2020-05-21 21:30:40 +03:00
TopMenuContainer.tscn Refactoring Main.gd. Mostly cutting big methods into smaller ones. (#244) 2020-05-24 00:22:06 +03:00
TransparentChecker.gd Created a "UI" folder in src 2020-05-02 01:19:01 +03:00
UI.tscn Created ToolButtons.gd, moved code from Main.gd there 2020-05-21 21:30:40 +03:00
ViewportContainer.gd Created TopMenuContainer.tscn and ViewportContainer.gd 2020-05-21 20:13:19 +03:00