361
Lua / Re: Updating WZGUILib
« on: April 14, 2012, 01:50:30 am »
yea, i am too , and there still as so much more to come...
Also right now there are 16X16 icons, but i think that may be too big, so i will try a smaller size.
As of right now, you have to have them in a form, but i thought of making the "Home screen", that would have the abbility to contain controls, but also have a windows like taskbar that contains the icon of forms that are open.
These controls will work:
Paste these controls into the create method with the form, past the form first:
Also right now there are 16X16 icons, but i think that may be too big, so i will try a smaller size.
As of right now, you have to have them in a form, but i thought of making the "Home screen", that would have the abbility to contain controls, but also have a windows like taskbar that contains the icon of forms that are open.
These controls will work:
Paste these controls into the create method with the form, past the form first:
Code: [Select]
Icon1 = image.new("\016\000\000\000\016\000\000\000\000\000\000\000 \000\000\000\016\000\001\000\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\192\255\192\255\192\255\192\255\192\255\192\255\192\255\192\255\192\255\192\255\192\255\192\255\192\255\192\255\239\189\239\189\192\255\192\255\157\130\157\130\157\130\157\130\157\130\157\130\157\130\157\130\157\130\157\130\192\255\192\255\239\189\239\189\192\255\192\255\157\130\157\130\157\130\157\130\157\130\157\130\157\130\157\130\157\130\157\130\192\255\192\255\239\189\239\189\192\255\192\255\192\255\192\255\192\255\192\255\157\130\157\130\192\255\192\255\192\255\192\255\192\255\192\255\239\189\239\189\192\255\192\255\192\255\192\255\192\255\192\255\157\130\157\130\192\255\192\255\192\255\192\255\192\255\192\255\239\189\239\189\192\255\192\255\192\255\192\255\192\255\192\255\157\130\157\130\192\255\192\255\192\255\192\255\192\255\192\255\239\189\239\189\192\255\192\255\192\255\192\255\192\255\192\255\157\130\157\130\192\255\192\255\192\255\192\255\192\255\192\255\239\189\239\189\192\255\192\255\192\255\192\255\192\255\192\255\157\130\157\130\192\255\192\255\192\255\192\255\192\255\192\255\239\189\239\189\192\255\192\255\192\255\192\255\192\255\192\255\157\130\157\130\192\255\192\255\192\255\192\255\192\255\192\255\239\189\239\189\192\255\192\255\192\255\192\255\192\255\192\255\157\130\157\130\192\255\192\255\192\255\192\255\192\255\192\255\239\189\239\189\192\255\192\255\192\255\192\255\192\255\192\255\157\130\157\130\192\255\192\255\192\255\192\255\192\255\192\255\239\189\239\189\192\255\192\255\157\130\157\130\157\130\157\130\157\130\157\130\157\130\157\130\157\130\157\130\192\255\192\255\239\189\239\189\192\255\192\255\157\130\157\130\157\130\157\130\157\130\157\130\157\130\157\130\157\130\157\130\192\255\192\255\239\189\239\189\192\255\192\255\192\255\192\255\192\255\192\255\192\255\192\255\192\255\192\255\192\255\192\255\192\255\192\255\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189")
Icon2 = image.new("\016\000\000\000\016\000\000\000\000\000\000\000 \000\000\000\016\000\001\000\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227\157\130\157\130\157\130\157\130\157\130\157\130\157\130\157\130\157\130\157\130\157\130\157\130\157\130\157\130\024\227\024\227\000\128\000\128\000\128\000\128\000\128\000\128\000\128\000\128\000\128\000\128\000\128\000\128\000\128\000\128\024\227\024\227\157\130\157\130\157\130\157\130\157\130\157\130\157\130\000\128\157\130\157\130\157\130\157\130\157\130\157\130\024\227\024\227\157\130\157\130\157\130\157\130\157\130\157\130\157\130\000\128\157\130\157\130\157\130\157\130\157\130\157\130\024\227\024\227\157\130\157\130\157\130\157\130\157\130\157\130\157\130\000\128\157\130\157\130\157\130\157\130\157\130\157\130\024\227\024\227\157\130\000\128\000\128\000\128\000\128\000\128\000\128\000\128\000\128\000\128\000\128\000\128\000\128\157\130\024\227\024\227\157\130\157\130\157\130\157\130\157\130\157\130\157\130\000\128\157\130\157\130\157\130\157\130\157\130\157\130\024\227\024\227\157\130\157\130\157\130\157\130\157\130\157\130\157\130\000\128\157\130\157\130\157\130\157\130\157\130\157\130\024\227\024\227\157\130\157\130\157\130\157\130\157\130\157\130\157\130\000\128\157\130\157\130\157\130\157\130\157\130\157\130\024\227\024\227\157\130\157\130\157\130\157\130\157\130\000\128\000\128\000\128\000\128\000\128\157\130\157\130\157\130\157\130\024\227\024\227\157\130\157\130\157\130\157\130\000\128\000\128\157\130\000\128\157\130\000\128\000\128\157\130\157\130\157\130\024\227\024\227\157\130\157\130\157\130\000\128\000\128\157\130\157\130\000\128\157\130\157\130\000\128\000\128\157\130\157\130\024\227\024\227\157\130\000\128\000\128\000\128\157\130\157\130\157\130\000\128\157\130\157\130\157\130\000\128\000\128\157\130\024\227\024\227\000\128\000\128\157\130\157\130\157\130\157\130\157\130\000\128\157\130\157\130\157\130\157\130\000\128\000\128\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227\024\227")
Icon3 = image.new("\016\000\000\000\016\000\000\000\000\000\000\000 \000\000\000\016\000\001\000\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189}\207}\207}\207}\207}\207}\207}\207}\207}\207}\207}\207}\207}\207}\207\239\189\239\189}\207}\207}\207}\207}\207}\207\000\128\000\128}\207}\207}\207}\207}\207}\207\239\189\239\189}\207}\207}\207}\207}\207}\207\000\128\000\128}\207}\207}\207}\207}\207}\207\239\189\239\189}\207}\207}\207}\207}\207\000\128\192\255\192\255\000\128}\207}\207}\207}\207}\207\239\189\239\189}\207}\207}\207}\207}\207\000\128\192\255\192\255\000\128}\207}\207}\207}\207}\207\239\189\239\189}\207}\207}\207}\207\000\128\192\255d\244d\244\192\255\000\128}\207}\207}\207}\207\239\189\239\189}\207}\207}\207}\207\000\128\192\255d\244d\244\192\255\000\128}\207}\207}\207}\207\239\189\239\189}\207}\207}\207\000\128\192\255\192\255d\244d\244\192\255\192\255\000\128}\207}\207}\207\239\189\239\189}\207}\207}\207\000\128\192\255\192\255d\244d\244\192\255\192\255\000\128}\207}\207}\207\239\189\239\189}\207}\207\000\128\192\255\192\255\192\255d\244d\244\192\255\192\255\192\255\000\128}\207}\207\239\189\239\189}\207}\207\000\128\192\255\192\255\192\255\192\255\192\255\192\255\192\255\192\255\000\128}\207}\207\239\189\239\189}\207\000\128\192\255\192\255\192\255\192\255d\244d\244\192\255\192\255\192\255\192\255\000\128}\207\239\189\239\189}\207\000\128\192\255\192\255\192\255\192\255d\244d\244\192\255\192\255\192\255\192\255\000\128}\207\239\189\239\189\000\128\000\128\000\128\000\128\000\128\000\128\000\128\000\128\000\128\000\128\000\128\000\128\000\128\000\128\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189\239\189")
Tabs = {atab = {text = "Tab1", selected = true, controls = {}, x = 0, y = 0},
btab = {text = "Tab2", selected = false, controls = {}, x = 0, y = 0},
ctab = {text = "Tab3", selected = false, controls = {}, x = 0, y = 0},
dtab = {text = "Tab4", selected = false, controls = {}, x = 0, y = 0}}
wndIX = form(1, 1, 160, 160, true, "Title", color.white, color.brickred, true, false, false)
mpics = { Icon1, Icon2, Icon3}
mlbls = { "Icon1", "Icon2", "Icon3"}
pcb = pb(1, 1, 16, 16, mlbls, mpics, color.red, 3, lblsys, wndIX, false)
btn1 = button( "Tst", 20, 20, clickFabove, color.white, color.Bcontrol, wndIX)
lbl1 = lable(150, 100, "WZGUIlib", 6, color.red, wndIX)
ud = NumericUD(3, 3, 5, color.black, 25, -20, color.black, color.black, wndIX, true)
chk1 = checkbox(1, 1, "Checkbox 1", true, color.Bdark, color.green, color.black, wndIX)
chk2 = checkbox(1, 14, "Checkbox 2", false, color.Bdark, color.green, color.black, wndIX)
chk3 = checkbox(1, 26, "Checkbox 3", true, color.Bdark, color.green, color.black, wndIX)
rdb1 = radioButton("RDB 1", 1, 38, true, color.Bdark, color.green, color.red, wndIX)
rdb2 = radioButton("RDB 2", 1, 50, false, color.Bdark, color.green, color.red, wndIX)
rdb3 = radioButton("RDB 3", 1, 62, false, color.Bdark, color.green, color.red, wndIX)
textbox1 = textbox(3, 3, "", color.black, color.black, wndIX, true)
tbc = tabcontrol(15, 15, 105, 30, Tabs, wndIX)
The icons are some quick images i made for testing the new form stuff, they arent important