mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2026-05-06 17:38:18 +00:00
16 lines
388 B
Ruby
16 lines
388 B
Ruby
module W3DHubLauncher
|
|
class Window < CyberarmEngine::Window
|
|
def setup
|
|
self.show_cursor = true
|
|
self.caption = format("%s | v%s (%s)", NAME, VERSION, VERSION_NAME) # "Cyberarm's W3D Hub Linux Launcher | v2.0.0 alpha"
|
|
|
|
# push_state(States::Boot)
|
|
push_state(States::Interface)
|
|
end
|
|
|
|
def needs_redraw?
|
|
states.any?(&:needs_repaint?)
|
|
end
|
|
end
|
|
end
|