- Joined
- Sep 9, 2017
- Messages
- 451
While working on my Font Editor, I realised I need a tidy GUI. So Ive started working on this.
demo here
demo here
Last edited:
beach = Image.Load("beach.jpg",0,0)
image_display = New Image(10,10)
' game width is 800px
game_scale = DeviceWidth()/800.0
tabs=Image.LoadFrames("tabtitle.png",2,False)
checkbuttons=Image.LoadFrames("check.png",2,False)
buttons=Image.LoadFrames("buttons.png",10,False)
g = New Gui(30,30,600,400)
g.SetScale(game_scale,game_scale)
g.AddTab(tabs[1])
g.AddText(0,"SOME TEXT NOT LINKED TO A BUTTON",25,325,GuiText.LEFT,GuiText.MIDDLE)
check_btn=g.AddCheckButton(0,checkbuttons,425,50)
g.AddButton(0,buttons[8],50,50)
load_btn = g.AddButton(0,buttons[4],125,50)
load_btn.SetLabel("LOAD IMAGE",GuiText.BOTTOM)
col_btn = g.AddButton(0,buttons[9],350,50)
refresh_btn = g.AddButton(0,buttons[0],200,50)
g.AddButton(0,buttons[1],275,50)
g.AddTab(tabs[0])
multi_btn = g.AddMultiButton(1,buttons,250,50)
gui_win = g.AddWindowImage(0,image_display,25,100,400,200)
g.AddWindowImage(1,beach,25,100,550,200)
g.AddTab(tabs[1])
quit_btn = g.AddButton(2,buttons[3],50,50)
Guess you are on fire! Btw. attaching a screenshot in the first post of a topic can make a entry in the frontpage look much better.....And also writing docs
Well that was easier than I expected.... try thatThe scrollbars are on my list of items to fix before a release
I dont actually know if that is possible. I dont seem to have an option of where to place the HTML5 app. This is my first upload to itch.ioWorks fine here!
Is it possible on the demo site to put the headline and a short description above the demo canvas. It kind of visualy irritates me, that it looks like it sticks to the ceiling.