π
<-
Chat plein-écran
[^]

GUI toolkit under development

C, C++, ASM...

Re: GUI toolkit under development

Unread postby SlyVTT » 05 Apr 2021, 21:09

Hello

nothing finished tonight but a good piece work in progress to report for this week Vlog.

Multiple windows are now correctly managed, as well as the methods to pick one window from the background and move it to the foreground (if not locked by a master window).
Also started to add Menus, but there are still at their very beginning. MenuBarWidget is coded as well as MenuItemWidget, one more brick is needed (MenuPaneWidget corresponding to the part of the menu that popup when a menu item is selected), so all of this should happen during this week.

As usual some pictures of the current status of the work (no need to say these are screenshots from the current revision still under degugging, and some visuals (by instance the IDs) will not appear in the next revision, this is just for coding purposes) :

Image Image

For Bisam : please look at the second picture hereafter, you will see your algorithm at work for comparing the WidgetID of the window (in red in the left top corner of the windows) with one calculated from the DepthBuffer (in Green close to the mouse pointer). As the window move from back to top, it means it works fine :#top#:

Image Image

Image Image

There is still a lot to do, especially tracking memory leaks cause I experienced some warning messages for low memory while using the Toolkit heavily (so some housekeeping will be mandatory).

Ciao

Sly
Some works in progress :
The GUI Toolkit NF for nSpireMyShmup for fxCG-50Magic Light for Casio Graph 90+E
and
Magic Light for nSpire CX/CX-II
Simple Text Editor for nSpireOutRun for Casio Graph 90+E
95%
50%
100%
75%
100%
And more to come ... stay tuned
User avatar
SlyVTTPremium
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 43%
 
Posts: 481
Images: 31
Joined: 19 Jan 2021, 09:41
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
GitHub: SlyVTT

Re: GUI toolkit under development

Unread postby Bisam » 06 Apr 2021, 10:56

Very nice ! Glad to have been a (tiny) part of this.
User avatar
BisamAdmin
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Level up: 69.5%
 
Posts: 5665
Joined: 11 Mar 2008, 00:00
Location: Lyon
Gender: Male
Calculator(s):
MyCalcs profile

Re: GUI toolkit under development

Unread postby SlyVTT » 06 Apr 2021, 11:08

Bisam wrote:Very nice ! Glad to have been a (tiny) part of this.


Everything is made of small atoms ... nothing is small enough not to be dully considered.

Without you help, i would still be turning around and looking at how to make the window manager working correctly ;-)

Ciao and thanks

Sly
Some works in progress :
The GUI Toolkit NF for nSpireMyShmup for fxCG-50Magic Light for Casio Graph 90+E
and
Magic Light for nSpire CX/CX-II
Simple Text Editor for nSpireOutRun for Casio Graph 90+E
95%
50%
100%
75%
100%
And more to come ... stay tuned
User avatar
SlyVTTPremium
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 43%
 
Posts: 481
Images: 31
Joined: 19 Jan 2021, 09:41
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
GitHub: SlyVTT

Re: GUI toolkit under development

Unread postby Bobb » 07 Apr 2021, 11:26

In which language are you programming this ?

Tous mes programmes sont disponibles ici

↳ Testez mon simulateur Android sur Ti-83 Premium CE et / ou Édition Python
Jetez un coup d'oeil à mon langage de programmation interprété Neon.

Image
User avatar
BobbProgrammeur
Niveau 10: GR (Guide de Référence)
Niveau 10: GR (Guide de Référence)
Level up: 94.5%
 
Posts: 300
Joined: 19 Apr 2020, 12:37
Location: Morbihan
Gender: Male
Calculator(s):
MyCalcs profile
Class: CPGE MPI

Re: GUI toolkit under development

Unread postby SlyVTT » 07 Apr 2021, 18:49

Hi Bobb,

All is coded in C++, this is fully object oriented concepts with a lot of pointers for dynamic allocation.

BR

Sly
Some works in progress :
The GUI Toolkit NF for nSpireMyShmup for fxCG-50Magic Light for Casio Graph 90+E
and
Magic Light for nSpire CX/CX-II
Simple Text Editor for nSpireOutRun for Casio Graph 90+E
95%
50%
100%
75%
100%
And more to come ... stay tuned
User avatar
SlyVTTPremium
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 43%
 
Posts: 481
Images: 31
Joined: 19 Jan 2021, 09:41
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
GitHub: SlyVTT

Re: GUI toolkit under development

Unread postby Bobb » 08 Apr 2021, 11:12

I think there is almost the same tool in C by epsilon5 for CEs, but I think it is not public:

https://www.cemetech.net/downloads/files/2095/x2227

Image

Tous mes programmes sont disponibles ici

↳ Testez mon simulateur Android sur Ti-83 Premium CE et / ou Édition Python
Jetez un coup d'oeil à mon langage de programmation interprété Neon.

Image
User avatar
BobbProgrammeur
Niveau 10: GR (Guide de Référence)
Niveau 10: GR (Guide de Référence)
Level up: 94.5%
 
Posts: 300
Joined: 19 Apr 2020, 12:37
Location: Morbihan
Gender: Male
Calculator(s):
MyCalcs profile
Class: CPGE MPI

Re: GUI toolkit under development

Unread postby Adriweb » 08 Apr 2021, 17:02

Well that's not the same, though, the CE one is much more hardcoded for its own purpose, as far as I know, and has less features. But then again, it didn't have the same goal :)
Image

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 80.1%
 
Posts: 14606
Images: 1216
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

Re: GUI toolkit under development

Unread postby SlyVTT » 08 Apr 2021, 20:25

Hello,

I was not aware of the project on CE, but from what I understand, it is rather a shell with lot of parameters that can be changed than a toolkit for developing applications in a easy way. So my understanding is the same than one of Adriweb.
I do not know exactly if it is based on an internal toolkit (that's a possibility, but I am really not sure), but for sure it does not serve the same purpose.

My goal with the GUI Toolkit is to offer a simple framework to develop graphical applications/utilities for which the developer can spend his/her time on developing the app rather than loosing his/her time on making the visuals (cause it can be very time consuming). In any case, it is not designed as a shell replacement, this is absolutely not my goal. (but if somebody would like to use the GUI Toolkit to make a shell, I am very happy with that).

Cheers

Sly
Some works in progress :
The GUI Toolkit NF for nSpireMyShmup for fxCG-50Magic Light for Casio Graph 90+E
and
Magic Light for nSpire CX/CX-II
Simple Text Editor for nSpireOutRun for Casio Graph 90+E
95%
50%
100%
75%
100%
And more to come ... stay tuned
User avatar
SlyVTTPremium
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 43%
 
Posts: 481
Images: 31
Joined: 19 Jan 2021, 09:41
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
GitHub: SlyVTT

Re: GUI toolkit under development

Unread postby Bobb » 09 Apr 2021, 11:36

Yes, I understood the purpose of your project, and I think it is a nice thing to do a project to help others. What I was saying is that the author of the VYSION shell designed his shell, as well as another CONTAGION game with a tool (I think it is a library using GRAPHX) that he programmed for himself, without publishing it.
I wasn't talking about the shell, I was talking about the library that Epsilon5 used to design his shell and his other game. I just think it is a pity that he did not publish his tool.

Tous mes programmes sont disponibles ici

↳ Testez mon simulateur Android sur Ti-83 Premium CE et / ou Édition Python
Jetez un coup d'oeil à mon langage de programmation interprété Neon.

Image
User avatar
BobbProgrammeur
Niveau 10: GR (Guide de Référence)
Niveau 10: GR (Guide de Référence)
Level up: 94.5%
 
Posts: 300
Joined: 19 Apr 2020, 12:37
Location: Morbihan
Gender: Male
Calculator(s):
MyCalcs profile
Class: CPGE MPI

Re: GUI toolkit under development

Unread postby SlyVTT » 09 Apr 2021, 12:21

Yes, agree that looking at his other productions, it seems to be all based on the same kind of widgets/interface elements, so we can reasonably think that he is using a library/toolkit not to re-code everything from scratch.
I also agree it is a pity that he is not sharing his work, it would help a lot of developers.
But we cannot force him to share. Anyhow, if you are interested to use the GUI Toolkit, please do. I just ask users to report bugs when they find some ;-)
Ciao

Sly
Some works in progress :
The GUI Toolkit NF for nSpireMyShmup for fxCG-50Magic Light for Casio Graph 90+E
and
Magic Light for nSpire CX/CX-II
Simple Text Editor for nSpireOutRun for Casio Graph 90+E
95%
50%
100%
75%
100%
And more to come ... stay tuned
User avatar
SlyVTTPremium
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 43%
 
Posts: 481
Images: 31
Joined: 19 Jan 2021, 09:41
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
GitHub: SlyVTT

PreviousNext

Return to Native: Ndless, Linux, ...

Who is online

Users browsing this forum: No registered users and 6 guests

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
Phi NumWorks jailbreak
123
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1046 utilisateurs:
>1022 invités
>19 membres
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)