Author Topic: Updating WZGUILib  (Read 154868 times)

0 Members and 1 Guest are viewing this topic.

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Updating WZGUILib
« Reply #240 on: January 22, 2013, 09:23:11 am »
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?

Do you still need help with this or did you figure it out?



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

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 #241 on: January 22, 2013, 09:56:02 am »
I still need some help, I just cant seem to be able to find the information that I need.
<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 flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Updating WZGUILib
« Reply #242 on: January 22, 2013, 10:15:19 am »



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

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 #243 on: January 22, 2013, 01:51:32 pm »
Thanks I will take a look at that!
<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 #244 on: January 31, 2013, 05:29:31 pm »
So, I have started on the tutorial section of WZGUILib. What I'm going to do here soon after writing the documentation is possibly release WZGUILib 2.5, basically it will fix the bugs I found with 2.1, it will contain all of the updates for the controls released in 2.1, but all new controls wont be released and the complete tutorial and documentation series will be released for the controls included in WZGUILib 2.5.
<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 #245 on: February 03, 2013, 12:40:50 pm »
I almost have progress bars finished, I just need to work a little bit on the equation which shows the progress.

EDIT: Finished, it looks kind of drab, so I will have to dress it up a little bit
« Last Edit: February 03, 2013, 01:14:33 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 #246 on: February 05, 2013, 12:28:22 am »
I am almost done with a Class Framework creation tool. It will generate all of the code for the initialization function, and create add other necessary functions based on the input it receives.
<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 #247 on: February 06, 2013, 01:23:30 pm »
So Here is my question, should I add a mouseOver property to controls?

I would really like some input.
<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 Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Updating WZGUILib
« Reply #248 on: February 06, 2013, 01:34:15 pm »
So Here is my question, should I add a mouseOver property to controls?

I would really like some input.

You could add a mouseOver property, but would it really be useful? I don't think that on a calculator it would be used enough to be implemented by default, and it also would slow it down a bit (always need to check every control when you move the mouse ..).
Or you could add it, but disable it by default. This way the programmer could enable it if he wants it.

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 #249 on: February 06, 2013, 03:10:53 pm »
That's what I was thinking. The reason I was asking was I kind of want to add a "tool tip", and things like highlighting the control when the mouse is over it.
<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 #250 on: February 07, 2013, 12:18:20 am »
Here is the class builder, the newest version of documentation and the newest WZ.

First the WZ Class Framework Generator is still very new, but works just fine. I am going to work on the interface a little bit, and also for some reason I had to run it from the command line with java - jar.

The newest version of WZ comes with a one time only class, smiley. I used it to test the CFG.

Enjoy!
<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 #251 on: February 07, 2013, 11:50:47 pm »
So I have been thinking, should I leave the toggle switch, replace it with a toggle button, or just add a toggle button. It would be similar to the android toggle 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 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 #252 on: February 08, 2013, 09:40:12 am »
I sadly didn't have time to check this much lately, but I'm glad this is still alive. As for the toggle button du you mean like a Checkbox? If so, just make sure that unlike Android, the check icon isn't visible at all when not checked (on my phone the icon becomes green when checked). Otherwise I often found myself thinking the box was already checked/enabled, but in fact it wasn't, because the unchecked state looked exactly like if it was checked on Windows/Mac.

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 #253 on: February 08, 2013, 09:47:04 am »
That is odd, Ive been following the same system as windows/mac because that is what everyone knows. I recently started delving into android development, and the toggle button looks like a button, but it says on or off and there is a little line under the text that should turn green when on
<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 #254 on: February 08, 2013, 05:14:31 pm »
Here's a pic of the Android ICS (4.0) switch:



and fyi, here's a pic of my entire gui I told you about some pages ago, it is based on that android ics gui, as you can see: