diff --git a/Gemfile.lock b/Gemfile.lock index ee86e6a..3edd74b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -9,12 +9,14 @@ GEM gosu_more_drawables (~> 0.3) excon (0.78.1) ffi (1.15.4) + ffi (1.15.4-x64-mingw32) gosu (1.2.0) gosu_more_drawables (0.3.1) gosu_notifications (0.1.0) ocra (1.3.11) PLATFORMS + x64-mingw32 x86_64-linux DEPENDENCIES @@ -25,4 +27,4 @@ DEPENDENCIES ocra BUNDLED WITH - 2.2.19 + 2.2.28 diff --git a/Rakefile b/Rakefile index 005b181..7d618b8 100755 --- a/Rakefile +++ b/Rakefile @@ -7,13 +7,13 @@ Releasy::Project.new do version TAC::VERSION executable "timecrafters_configuration_tool.rb" - files ["lib/**/*.*", "media/**/*.*", "data"] + files ["lib/**/*.*", "media/**/*.*", "data/.gitkeep", "data/configs/.gitkeep"] exclude_encoding # Applications that don't use advanced encoding (e.g. Japanese characters) can save build size with this. verbose add_build :windows_folder do icon "media/icon.ico" - executable_type :console # Assuming you don't want it to run with a console window. + executable_type :windows # Assuming you don't want it to run with a console window. add_package :exe # Windows self-extracting archive. end end diff --git a/lib/states/boot.rb b/lib/states/boot.rb index e7a9628..241032f 100644 --- a/lib/states/boot.rb +++ b/lib/states/boot.rb @@ -2,6 +2,8 @@ module TAC class States class Boot < CyberarmEngine::GuiState def setup + window.show_cursor = true + stack width: 1.0, height: 1.0 do background [TAC::Palette::TIMECRAFTERS_PRIMARY, TAC::Palette::TIMECRAFTERS_SECONDARY, TAC::Palette::TIMECRAFTERS_TERTIARY, TAC::Palette::TIMECRAFTERS_PRIMARY] end diff --git a/lib/states/editor.rb b/lib/states/editor.rb index 6c29fa6..7cbe8e5 100644 --- a/lib/states/editor.rb +++ b/lib/states/editor.rb @@ -3,6 +3,8 @@ class Editor < CyberarmEngine::GuiState attr_reader :header_bar, :header_bar_label, :navigation, :content, :menu_bar, :status_bar, :body def setup + window.show_cursor = true + @window_width = 0 @window_height = 0 diff --git a/lib/window.rb b/lib/window.rb index cfe48d9..5293c3c 100644 --- a/lib/window.rb +++ b/lib/window.rb @@ -29,10 +29,6 @@ module TAC @notification_manager.update end - def needs_cursor? - true - end - def toast(title, message = nil) @notification_manager.create_notification( priority: GosuNotifications::Notification::PRIORITY_HIGH,