Author Topic: Updating WZGUILib  (Read 158803 times)

0 Members and 2 Guests are viewing this topic.

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: Updating WZGUILib
« Reply #75 on: April 11, 2012, 08:01:08 am »
it lught be hard to add, but would a  trackbar be possible? that would be really useful for my later projects :)

Offline jwalker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 660
  • Rating: +13/-0
  • Almost everything I have released includes a 'WZ'
    • View Profile
Re: Updating WZGUILib
« Reply #76 on: April 11, 2012, 03:22:29 pm »
That wouldnt be too hard, i could probably get it done prety fast.
Also i was thinking about adding events to forms, like when you close a form it calls a function that the user defined, or when a form is maximized or minimized.
formEvents = {close = function(), maximized = function(), minimized = function()}
<a href="http://www.nerdtests.com/ft_cg.php?im">
<img src="http://www.nerdtests.com/images/ft/cg.php?val=9612" alt="My computer geek score is greater than 41% of all people in the world! How do you compare? Click here to find out!"> </a>

Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: Updating WZGUILib
« Reply #77 on: April 11, 2012, 04:05:25 pm »
wow, you're making it really making it heavy loaded with features รถ nice work!

small list:
 - a small box that comes beneath your cursor when hovering over a button or link
 - trackbar
 - toolbar with icons
 - progressbar
         This is the one i made, maybe you can just add it to your controls and adapt it maybe..

here is an image of the visual studio toolbow, might Nspire you


edit: and could you please give examples that work in the package? i tried the button one, and i had to change a lot to make it work, and it still seems not to do what it has to.. so if you could please check that
« Last Edit: April 11, 2012, 04:10:15 pm by Nick »

Offline jwalker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 660
  • Rating: +13/-0
  • Almost everything I have released includes a 'WZ'
    • View Profile
Re: Updating WZGUILib
« Reply #78 on: April 11, 2012, 05:31:28 pm »
are you meaning this:
make a window: wnd1 = form(10, 10, 100, 100, false, "Example", color.white, color.black, true, false)--no context menu
btn1 = button("Button", 1, 1, action(), color.black, color.Bcontrol, false, wnd1)
                       text, x, y, called when clicked, text color, bg color, opt3d, parent

x and y are offsets from the body of the parent window. opt3d will be depricated

this example will work, all you need is to create a function called action()
<a href="http://www.nerdtests.com/ft_cg.php?im">
<img src="http://www.nerdtests.com/images/ft/cg.php?val=9612" alt="My computer geek score is greater than 41% of all people in the world! How do you compare? Click here to find out!"> </a>

Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads

Offline jwalker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 660
  • Rating: +13/-0
  • Almost everything I have released includes a 'WZ'
    • View Profile
Re: Updating WZGUILib
« Reply #79 on: April 12, 2012, 04:38:47 am »
Ok, Due to the fact that Omnimaga seems to be having problems and i would like to reach farther into the community, ive created a second thread that i will also release information and answer questions
it is located on cemetech and can be found here:
http://www.cemetech.net/forum/viewtopic.php?t=7677

THIS will still be the main thread though

Its not that omnimaga is having huge problems or anything, its just that if i am working with others on creating a style pack or controls or something and omnimaga happens to go down, i can still do some work
<a href="http://www.nerdtests.com/ft_cg.php?im">
<img src="http://www.nerdtests.com/images/ft/cg.php?val=9612" alt="My computer geek score is greater than 41% of all people in the world! How do you compare? Click here to find out!"> </a>

Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads

Offline jwalker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 660
  • Rating: +13/-0
  • Almost everything I have released includes a 'WZ'
    • View Profile
Re: Updating WZGUILib
« Reply #80 on: April 12, 2012, 02:52:17 pm »
I am going to make a progress bar, but it will be contained in a new control, the status bar
I also am planning to make group boxes, trackbars, scrollbars and a few others
I also am probably will make a "tooltip", where when you hover your mouse over something it will display a box with info in it

Also this is not a double post.
« Last Edit: April 12, 2012, 04:30:39 pm by jwalker »
<a href="http://www.nerdtests.com/ft_cg.php?im">
<img src="http://www.nerdtests.com/images/ft/cg.php?val=9612" alt="My computer geek score is greater than 41% of all people in the world! How do you compare? Click here to find out!"> </a>

Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads

Offline jwalker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 660
  • Rating: +13/-0
  • Almost everything I have released includes a 'WZ'
    • View Profile
Re: Updating WZGUILib
« Reply #81 on: April 13, 2012, 03:24:12 pm »
Yesterday i added icon support to forms, created an alpha status bar, and started working on a progress bar
<a href="http://www.nerdtests.com/ft_cg.php?im">
<img src="http://www.nerdtests.com/images/ft/cg.php?val=9612" alt="My computer geek score is greater than 41% of all people in the world! How do you compare? Click here to find out!"> </a>

Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: Updating WZGUILib
« Reply #82 on: April 13, 2012, 08:40:09 pm »
nice. what should the resolution of the icons be? 8x8, 16x16 or something else? and a status bar, nice :)

just another question, is it possible to use all these objects out of a form, just on the screen? or do you have to make a form for them?
and could you please update the examples with working ones so we can actually use them?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Updating WZGUILib
« Reply #83 on: April 13, 2012, 11:26:58 pm »
Glad this is still progressing jwalker. :)

Offline jwalker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 660
  • Rating: +13/-0
  • Almost everything I have released includes a 'WZ'
    • View Profile
Re: Updating WZGUILib
« Reply #84 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:
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
« Last Edit: April 14, 2012, 04:01:00 am by jwalker »
<a href="http://www.nerdtests.com/ft_cg.php?im">
<img src="http://www.nerdtests.com/images/ft/cg.php?val=9612" alt="My computer geek score is greater than 41% of all people in the world! How do you compare? Click here to find out!"> </a>

Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads

Offline jwalker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 660
  • Rating: +13/-0
  • Almost everything I have released includes a 'WZ'
    • View Profile
Re: Updating WZGUILib
« Reply #85 on: April 16, 2012, 11:22:55 am »
Yesterday i stoped work on the this version to try and port the form control to prizm C, since it worked prety well i will continue with the prizm C version AFTER the release of v3. I will continue working on this version today
<a href="http://www.nerdtests.com/ft_cg.php?im">
<img src="http://www.nerdtests.com/images/ft/cg.php?val=9612" alt="My computer geek score is greater than 41% of all people in the world! How do you compare? Click here to find out!"> </a>

Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads

Offline jwalker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 660
  • Rating: +13/-0
  • Almost everything I have released includes a 'WZ'
    • View Profile
Re: Updating WZGUILib
« Reply #86 on: April 28, 2012, 10:53:34 am »
Ok, how would I call the make.bat in the prizm-0.3 sdk in a C# program?
I will be porting WZGUILIB to prizm C so I'm writing some tools for myself, also im trying to boost my C# skills :p
<a href="http://www.nerdtests.com/ft_cg.php?im">
<img src="http://www.nerdtests.com/images/ft/cg.php?val=9612" alt="My computer geek score is greater than 41% of all people in the world! How do you compare? Click here to find out!"> </a>

Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Updating WZGUILib
« Reply #87 on: April 28, 2012, 01:14:57 pm »
You might want to ask here instead: http://www.omnimaga.org/index.php?board=146.0

Since your question is PRIZM-related, you will get more answers there.

Offline jwalker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 660
  • Rating: +13/-0
  • Almost everything I have released includes a 'WZ'
    • View Profile
Re: Updating WZGUILib
« Reply #88 on: April 28, 2012, 09:57:02 pm »
Thats ok, I think I have it figured out
<a href="http://www.nerdtests.com/ft_cg.php?im">
<img src="http://www.nerdtests.com/images/ft/cg.php?val=9612" alt="My computer geek score is greater than 41% of all people in the world! How do you compare? Click here to find out!"> </a>

Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads

Offline jwalker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 660
  • Rating: +13/-0
  • Almost everything I have released includes a 'WZ'
    • View Profile
Re: Updating WZGUILib
« Reply #89 on: May 07, 2012, 07:03:24 pm »
Ok, So here is what is going on
I have to move back the project just a little bit,
1. Ti-Nspire 3.2 doesnt come out until june
2. Finals are comming up next week
3. I am having about 3 track meets a weak, so i dont have a lot of time

Expect a release sometime in june
I also may release a small beta release soon on this thread to show what i have done
<a href="http://www.nerdtests.com/ft_cg.php?im">
<img src="http://www.nerdtests.com/images/ft/cg.php?val=9612" alt="My computer geek score is greater than 41% of all people in the world! How do you compare? Click here to find out!"> </a>

Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads