mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
Updated menus, added background to Tools
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
class IMICFPS
|
||||
class AssetViewerTool
|
||||
class MainMenu < CyberarmEngine::GuiState
|
||||
include CommonMethods
|
||||
def setup
|
||||
window.needs_cursor = true
|
||||
|
||||
@@ -31,6 +32,11 @@ class IMICFPS
|
||||
end
|
||||
end
|
||||
|
||||
def draw
|
||||
menu_background(Menu::PRIMARY_COLOR, Menu::ACCENT_COLOR, Menu::BAR_COLOR_STEP, Menu::BAR_ALPHA, Menu::BAR_SIZE, Menu::BAR_SLOPE)
|
||||
super
|
||||
end
|
||||
|
||||
def update
|
||||
super
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
class IMICFPS
|
||||
class MapEditorTool
|
||||
class MainMenu < CyberarmEngine::GuiState
|
||||
include CommonMethods
|
||||
|
||||
def setup
|
||||
window.needs_cursor = true
|
||||
|
||||
@@ -35,6 +37,11 @@ class IMICFPS
|
||||
end
|
||||
end
|
||||
|
||||
def draw
|
||||
menu_background(Menu::PRIMARY_COLOR, Menu::ACCENT_COLOR, Menu::BAR_COLOR_STEP, Menu::BAR_ALPHA, Menu::BAR_SIZE, Menu::BAR_SLOPE)
|
||||
super
|
||||
end
|
||||
|
||||
def update
|
||||
super
|
||||
|
||||
|
||||
Reference in New Issue
Block a user