mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 23:52:35 +00:00
Replaced usages of Text shadow with properly named border, use new correct Text shadow for menu titles, use text border for a few more elements
This commit is contained in:
@@ -24,7 +24,7 @@ class IMICFPS
|
||||
end
|
||||
|
||||
stack(width: 0.5, height: 1.0) do
|
||||
label "Asset Viewer", text_size: 100, font: BOLD_SANS_FONT, width: 1.0, text_align: :center
|
||||
title "Asset Viewer"
|
||||
|
||||
link I18n.t("menus.back"), width: 1.0 do
|
||||
pop_state
|
||||
|
||||
@@ -23,10 +23,10 @@ class IMICFPS
|
||||
@camera = PerspectiveCamera.new(aspect_ratio: window.aspect_ratio, position: Vector.new(0, 1.5, 5), orientation: Vector.forward)
|
||||
@camera_controller = CameraController.new(camera: @camera, entity: nil, mode: :fpv)
|
||||
|
||||
label @manifest.name, text_size: 50, text_shadow: true, text_shadow_color: Gosu::Color::BLACK
|
||||
label @manifest.model, text_shadow: true, text_shadow_color: Gosu::Color::BLACK
|
||||
@camera_position = label "", text_shadow: true, text_shadow_color: Gosu::Color::BLACK
|
||||
@camera_orientation = label "", text_shadow: true, text_shadow_color: Gosu::Color::BLACK
|
||||
label @manifest.name, text_size: 50, text_border: true, text_border_color: Gosu::Color::BLACK
|
||||
label @manifest.model, text_border: true, text_border_color: Gosu::Color::BLACK
|
||||
@camera_position = label "", text_border: true, text_border_color: Gosu::Color::BLACK
|
||||
@camera_orientation = label "", text_border: true, text_border_color: Gosu::Color::BLACK
|
||||
|
||||
button "Back" do
|
||||
pop_state
|
||||
|
||||
@@ -22,14 +22,14 @@ class IMICFPS
|
||||
end
|
||||
|
||||
stack(width: 0.5, height: 1.0) do
|
||||
label "Map Editor", text_size: 100, font: BOLD_SANS_FONT, width: 1.0, text_align: :center
|
||||
title "Map Editor"
|
||||
|
||||
flow width: 1.0 do
|
||||
link I18n.t("menus.back"), width: 0.32 do
|
||||
pop_state
|
||||
end
|
||||
|
||||
button "New Map", width: 1.0, width: 0.64
|
||||
button "New Map", width: 0.64
|
||||
end
|
||||
|
||||
label "Edit Map", width: 1.0, text_align: :center, text_size: 50
|
||||
|
||||
Reference in New Issue
Block a user