Author Topic: Updating WZGUILib  (Read 159360 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 #375 on: October 01, 2014, 11:16:21 pm »
I am still working on it off and on, but I actually have started a rewriting process recently to make necessary changes that could have been made with the current code base. I may upload an image of some of the newly reworked stuff soon.
<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 #376 on: October 02, 2014, 11:26:46 am »
Ah ok good to hear. :) WIll you keep the same graphics?

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 #377 on: October 02, 2014, 12:32:33 pm »
As of right now I'm still using the "flat", single color graphics like in the old lib, but I have tested out some gradients when it comes to window title bars. Everything will look very familiar with those acquainted with the previous lib. In fact all controls can be ported to the new lib by removing a parameter and one line of code from the controls constructor. One big difference is Forms are now called "Windows" and controls are added to Windows by using the Window:addControl() method.
<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 #378 on: October 02, 2014, 01:03:50 pm »
Maybe you could have multiple theme supports ^^ (and perhaps custom ones?)

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 #379 on: October 02, 2014, 06:37:20 pm »
Themes are something I am definitely interested in, and I may try and implement it as I get farther down the road.
Here is the first view:
<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 #380 on: October 03, 2014, 12:54:05 am »
That looks nice, although I would probably make the button icons bold or something so they're more visible. Perhaps a different shade too?


By the way do you plan to retain OS 3.1 compatibility? I notice that many Lua programmers have dropped OS 3.1 (and even 3.6) compatibility now.

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 #381 on: October 04, 2014, 03:34:38 pm »
It's hard to say what will be supported, right now everything is at least 3.6 compliant. I think that previously it could be make apileve 1.0 compliant by changing on.construction to on.create. If anything 3.6 will be supported.
<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 Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Updating WZGUILib
« Reply #382 on: October 04, 2014, 07:42:43 pm »
supporting 3.1 is annoying, but from 3.2+ it's not a problem.
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

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 #383 on: October 04, 2014, 07:45:24 pm »
The main issue by not supporting 3.1 is that some Ndless users still use it because even without nLaunchy installed Ndless will still remain installed after reboots. That said, it's more an issue about being too lazy (including myself :P) to learn how to install nLaunch and OS 3.6 and people being concerned about 3.6 taking more memory than 3.1. Lua has been drastically improved after OS 3.1.

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 #384 on: October 05, 2014, 10:56:02 am »
There will be support for at least 3.6. Like Adriweb has said it is a pain to support 3.1. It may not take many changes to make the Lib 3.1 compatible though because the bulk of my code is drawing and event handling.
<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 #385 on: October 17, 2014, 12:16:56 pm »
I am kind of stuck on the TextBox Control once again. It currently acts like the previous textbox control but that is not acceptable as it had no way to edit the text other than backspacing and rewriting it. Does anyone know of any good example of textboxes and how the are rendered? Ive been doing google searches but have been having a tough time finding source code examples.
<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 #386 on: November 03, 2014, 01:21:25 am »
Sorry I missed your post. You might need to ask in the Lua sub-forum so that people see it, else people who only check help topics will miss your question. I can't help sadly, though. Have you checked the Nspire-Lua wiki?

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 #387 on: November 03, 2015, 06:13:32 pm »
It has been a while.... I want to get back into working on this again, but I want to know: whats new? I noticed there still isn't a lot of activity when it comes to Lua development on the TI-Nspire platform. Has anything important been added to TI-Nspire Lua?
<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