Author Topic: Updating WZGUILib  (Read 140805 times)

0 Members and 1 Guest are viewing this topic.

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 #225 on: December 31, 2012, 10:49:05 am »
sure, also if you would like me to modify it so you can use the controls on just the main screen, all I have to do is modify the manager a bit.
<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: Re: Updating WZGUILib
« Reply #226 on: January 01, 2013, 05:23:51 am »
First i'll take a look into it myself, but i'll let you know, tahnks :) in facts it's only some textboxes, checkboxes and radiobuttons I need, so it won't be such a big work

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 #227 on: January 01, 2013, 12:04:54 pm »
That sounds good, I am almost done with my documentation, so that might be a big help.
<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 #228 on: January 02, 2013, 10:02:52 am »
So yesterday I added a noresize paramater to forms, an addTab and removeTab functions to tabcontrolls, and a few other things. Then my computer decided to crash and those changes were lost. Fortunately I remember what I did so those updates will be released tonight.
<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: Re: Updating WZGUILib
« Reply #229 on: January 02, 2013, 02:46:09 pm »
Where can I find the most recent version of the documentation? Since you said it was updated, I might take a look into that.

Also, nice you got those tab functions working, I made a GUI in C++ once, an that was the major PITA :)

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 #230 on: January 03, 2013, 12:11:37 am »
Tomorrow I am going to upload the update and the updated documentation, currently there are only 3 or 4 controls left undocumented, and the last one I documented is the tabcontrol.
Note that I only have made the document that describes the controls: things like its member functions, how it is created etc.
I will be adding a lot more topics after I finish documenting the basic controls.
Also, what platform did you make the GUI for?
« Last Edit: January 03, 2013, 12:13:04 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 Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: Re: Updating WZGUILib
« Reply #231 on: January 03, 2013, 02:40:22 am »
Great

Well, it wasn't for the Nspire either, it was for my arduino using a touch display. It was 320x240 too though. The problem there was the memory. It only has 2kB of memory, so I had to give every control the least possible variables (i forgot the name for class variables), since they all take memory.. I added buttons, checkboxes, radiobuttons, sliders, textboxes, switches, and a tabcontrol at last.

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 #232 on: January 05, 2013, 11:47:14 am »
I have to postpone the release till tonight or tomorrow, life got in the way the past few days.
<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 #233 on: January 07, 2013, 12:57:05 am »
Here it is, documentation is up to tabcontrols and the tabcontrol class has been updated, along with the noresize parameter and I modified the setFull and Clicks function to make them smaller. Next up I have been working of clipping the controls rects properly and am almost there, but I did not include that in this release.
<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 #234 on: January 17, 2013, 05:24:47 pm »
This doesn't necessarily relate to WZGUILib, but I would like to know anyway, as I might want to use it later.

I have been looking around the internet for some time but I cant seem to find any good examples or information about using trigonometry functions for things like rotating a line. Would someone be able to give me an example?
<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 #235 on: January 20, 2013, 05:46:18 pm »
So I added a simple rounded-edge button.
<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 ElementCoder

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 611
  • Rating: +42/-2
    • View Profile
Re: Updating WZGUILib
« Reply #236 on: January 21, 2013, 01:47:08 pm »
That's a nice looking button, was the colored window already there or is that a new feature as well?

Some people need a high five in the face... with a chair.
~EC

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 #237 on: January 21, 2013, 06:21:30 pm »
Custom Colored windows have been there since I added Dialogs to WZGUILib way back long ago. Actually most controls can be very customized when it comes to the colors you choose. If you really wanted to, you could change that picture to look like the image below.

Also I plan to upload either the code to the rounded button so you could implant it into the current version of indev WZ, or upload an entirely new dev version.

When I get the style system into place, the rounded style will be one of the styles I release.

EDIT: The picture looks better on the computer software...

Code for form:
f1 = form(10, 10, 170, 150, false, "Main", color.yellow, 0xFECA77, true, false, false, false, false, img1, true, false)
« Last Edit: January 21, 2013, 06:23:10 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 ElementCoder

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 611
  • Rating: +42/-2
    • View Profile
Re: Updating WZGUILib
« Reply #238 on: January 22, 2013, 04:16:34 am »
I'm very happy you keep developing this! I'm finally able to do some work on projects again so this is an excellent time to play around with this :D :thumbsup: for your hard work.

Some people need a high five in the face... with a chair.
~EC

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 #239 on: January 22, 2013, 08:07:20 am »
Thank you, I don't have a lot of time to develop, so when I start working on it I usually get quit a bit done in a small period of time. It almost seems like I develop in bursts....
<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