Updated theming, added dangerous (red) button style, replaced Simulator edit_line with edit_box, tweaked various styles

This commit is contained in:
2020-06-16 00:08:56 -05:00
parent 79b53fdd7a
commit b19826d51f
10 changed files with 142 additions and 111 deletions

View File

@@ -3,13 +3,13 @@ module TAC
class ConfirmDialog < Dialog
def build
background Gosu::Color::GRAY
label @options[:message], text_size: 18
label @options[:message]
flow width: 1.0 do
button "Cancel", width: 0.475, text_size: 18 do
button "Cancel", width: 0.475 do
close
end
button "Okay", width: 0.475, text_size: 18 do
button "Okay", width: 0.475 do
close
@options[:callback_method].call