responsive layout for settings menu
This commit is contained in:
parent
22bbb4c104
commit
ec034bb758
|
@ -1,6 +1,6 @@
|
|||
draw_settings_menu = function()
|
||||
App.color(Menu_background)
|
||||
local w,h = 200, Font_height*8
|
||||
local w,h = 200, 130+2*Line_height
|
||||
local x,y = Safe_width-30-w, Menu_bottom
|
||||
Settings_menu_area = {x=x, y=y, w=w, h=h}
|
||||
love.graphics.rectangle('fill', x,y, w,h)
|
||||
|
@ -61,7 +61,7 @@ draw_settings_menu = function()
|
|||
draw_slider(Settings_foreground_sliders.r)
|
||||
draw_slider(Settings_foreground_sliders.g)
|
||||
draw_slider(Settings_foreground_sliders.b)
|
||||
y = y+10+Line_height+10
|
||||
y = y+50
|
||||
-- colors/background
|
||||
love.graphics.print('bg', x+20, y)
|
||||
App.color(Background_color)
|
||||
|
|
Loading…
Reference in New Issue