mirror of
https://github.com/TimeCrafters/timecrafters_configuration_tool_desktop.git
synced 2025-12-15 21:32:35 +00:00
TACNET is now able to dynamically sync configs on initial connection, added error sound, made tacnet status dialog update stats, made simulator clock stop after all robots have run out of 'states' to run, changed some dialogs titlebar and borders to be different colors, misc. other changes.
This commit is contained in:
@@ -10,12 +10,12 @@ module TAC
|
||||
|
||||
@dialog_root = stack width: 250, height: 400, border_thickness: 2, border_color: [TAC::Palette::TIMECRAFTERS_PRIMARY, TAC::Palette::TIMECRAFTERS_SECONDARY] do
|
||||
# Title bar
|
||||
flow width: 1.0, height: 0.1 do
|
||||
@titlebar = flow width: 1.0, height: 0.1 do
|
||||
background [TAC::Palette::TIMECRAFTERS_PRIMARY, TAC::Palette::TIMECRAFTERS_SECONDARY]
|
||||
|
||||
# title
|
||||
flow width: 0.855 do
|
||||
label @title, text_size: THEME_SUBHEADING_TEXT_SIZE
|
||||
label @title, text_size: THEME_SUBHEADING_TEXT_SIZE, text_shadow_color: Gosu::Color::BLACK
|
||||
end
|
||||
|
||||
# Buttons
|
||||
@@ -27,11 +27,14 @@ module TAC
|
||||
end
|
||||
|
||||
# Dialog body
|
||||
stack width: 1.0, height: 0.9 do
|
||||
build
|
||||
@dialog_content = stack width: 1.0, height: 0.9 do
|
||||
end
|
||||
end
|
||||
|
||||
@dialog_content.clear do
|
||||
build
|
||||
end
|
||||
|
||||
center_dialog
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user