Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [LIB] Lib AppGameKit Gui v0.44

Author
Message
XANAX 2B
17
Years of Service
User Offline
Joined: 20th Jun 2003
Location: Corsica (France)
Posted: 9th Jun 2017 09:43 Edited at: 27th Jun 2017 11:33
Hello

At first, great thanks to BlendMan.

Since i've not found a full gui lib for AppGameKit, i've added some features to the 2014 LAG Library, and made the v0.44.


I have just to add tactile functions to test it on Android, because i've added the raw mouse support. (to right click events)

I don't know why, sprites are not imported in HTML5. (But as it is slow under it, this is not so important)

I've just added tactile support. It seems to be working on Android & iPad under the player.

EDIT:

This is the new version...


[27/06/2017] (v0.50)
Events
- add Event Keys
Dialogbox
- some minor corrections
Message
- some minor corrections
Misc
- add LAG_SetGadgetActive and LAG_GetGadgetActive
- add LAG_GetGadgetFocus to get the focused string gadget
- some minor corrections
My Freewares here : http://www.retro-bruno.com

Attachments

Login to view attachments
PartTimeCoder
AGK Tool Maker
5
Years of Service
User Offline
Joined: 9th Mar 2015
Location: Suffolk UK
Posted: 9th Jun 2017 17:51 Edited at: 9th Jun 2017 20:29
Hey that's a pretty neat lib, nice work, the menu system is great, this beats my gui wip hands down!

Edit:
I like the PureBasic-Like Gadget system, its a common feel for me, I have a few observations, your event type constants are a little hard to read they could benefit from some underscores to separate the words, your slider gadget is a little notchy, I know its tricky to get this right I redid my slider and scrollbar objects twice to get it right and the panel gadget does not show the selected tab, it changes but the header tab does not change.

Im going to rework my ui lib and maybe add in my listbox into your lib, see if we can get a fully fledged ui library going on, I would post mine but I have used images from kenny assets so I cant.

Attachments

Login to view attachments
XANAX 2B
17
Years of Service
User Offline
Joined: 20th Jun 2003
Location: Corsica (France)
Posted: 10th Jun 2017 01:04
Hello PartTimeCoder

I know i have to do a lot of things to improve this library.
Thank you to help me to find what don't works.

About the Slider Gadget, i've tried to make it better, but failed for the moment.
I'll retry later.

About the selected tab, the header tab changes in the new v0.45.
I've got it to work !
My Freewares here : http://www.retro-bruno.com
AjiMundi
4
Years of Service
User Offline
Joined: 28th Sep 2015
Location:
Posted: 10th Jun 2017 02:53
Damn.. this is nice. I was starting a GUI project myself, and you beat me by miles. I guess I'll just have to work on something else.
On the other hand, this might be a sign for me to dig up my old FMUI project, which stands for Faux Material UI, basically an attempt to fake the Material UI looks.
MikeMax
AGK Academic Backer
8
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 14th Jun 2017 23:46 Edited at: 14th Jun 2017 23:46
Just great !

However , LAG_SetGadgetFont with trackbars make something a little weird

It should be great to have a WYSIWYG designer with drag&drop of gadgets and save the resulting GUI to a template file which can be reloaded in any AppGameKit Project And make the interactions event-driven (ie : having a predefined callback function for each gadget types... for example onTrackBarChange(id,value) which is called inside your lib).

Keep up the good work !
--------------------------------
Join us on dedicated AppGameKit WeeKChat :
https://week.chat/room/AppGameKit
PartTimeCoder
AGK Tool Maker
5
Years of Service
User Offline
Joined: 9th Mar 2015
Location: Suffolk UK
Posted: 15th Jun 2017 02:05
Quote: " a WYSIWYG designer with drag&drop of gadgets and save the resulting GUI to a template file"


You could easily use Tiled with custom objects and just write a loader, it would be 99% less work, or see what TGC serves us with the Visual Designer, I dont know about anyone else but I'm quite anxious to see what AppGameKit Studio turns out like.
blink0k
Moderator
7
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
XANAX 2B
17
Years of Service
User Offline
Joined: 20th Jun 2003
Location: Corsica (France)
Posted: 16th Jun 2017 21:26 Edited at: 18th Jun 2017 12:38
Version 0.46 is out !

A lot of bugs have been fixed. And i'me preparing some new stuffs.

Todo :
- Scrollbars inside the listviewbox
- Finish the OpenDialog() and SaveDialog()

EDIT:
I'm working on the v0.47.
The UI can now be textured.
Some bugs have been fixed.
But i want to finish first the OpenDialog() & SaveDialog().

My Freewares here : http://www.retro-bruno.com
Blendman
6
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 19th Jun 2017 10:13 Edited at: 19th Jun 2017 10:16
Hi

It's great Bruno ! Thanks to improve my lib

I'm sorry, I have forgotten to post the new version of this lib, whichis 0.77 ^^.

Here is the new version, with lots of improvements : listicon, openfil/savefile, window creation (to create easily some personnal window), statusbar, menu (fixe and improvement, menubar()), and a lot of other fixes.

I hope this will be usefull for you .

I will look to your improvments

thanks again !
AGK2 tier1 - http://www.dracaena-studio.com

Attachments

Login to view attachments
Jack
15
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 20th Jun 2017 22:25 Edited at: 20th Jun 2017 22:45
Thank you Blendman! This will also come very handy.
You created the AppGameKit T1 gold-standard GUI!
XANAX, do you know what you can port from your code to the new version?



[/url]
MikeMax
AGK Academic Backer
8
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 21st Jun 2017 06:12 Edited at: 21st Jun 2017 06:12
A little thing that could be modified easily .... make the LAG_ functions to generate the IDs of Menus, Items, Gadgets automatically and return the ID (instead of declaring them as a parameter). As the AppGameKit "Create..." Commands do
--------------------------------
Join us on dedicated AppGameKit WeeKChat :
https://week.chat/room/AppGameKit
XANAX 2B
17
Years of Service
User Offline
Joined: 20th Jun 2003
Location: Corsica (France)
Posted: 21st Jun 2017 09:11
As i can't edit the v0.77, i've called the v0.47 i've edited : "LAG (Retro-Bruno Edit)".
Retro-Bruno is another pseudo i have.

You can see the improvements in the "snake" theme, somewhere at the top of this post.
My Freewares here : http://www.retro-bruno.com
Blendman
6
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 21st Jun 2017 13:26
Hi Bruno

Great new version

Why can't you edit the 0.77 ?

I have tester the new 0.47-retroBruno, but I have a bug in the menu, and the text seems very small, like we can see it on the screenshot.

Cheers !



Fr :
salut Bruno
Pourquoi tu ne peux pas éditer la version 0.77 ?

Sinon, j'ai un petit bug avec la police (très petite) et sur le menu, certaines choses sont décalées, comme on le voit sur ce screenshot

bonne continuation
AGK2 tier1 - http://www.dracaena-studio.com

Attachments

Login to view attachments
XANAX 2B
17
Years of Service
User Offline
Joined: 20th Jun 2003
Location: Corsica (France)
Posted: 21st Jun 2017 15:56 Edited at: 21st Jun 2017 19:55
Hi Blendman

I've tried to edit the 0.77 version by adding some code from the 0.47 and adapt it but i've failed.
So i think i'll take what i can from the v0.77 and adapt it for the v0.47, it seems more easy.
I'll take a look on what your said about the font and the menu for the v0.48. (i have approximativly finished the v0.47 at 4:00 AM, but i continue the adventure)

If you want me to do some stuffs in the v0.48 i'm making, you can tell me.
Also, May be you can take some code in the v0.47 to put it in the v0.77.

Thanks a lot about your great work !


Fr :
Salut Blendman

J'ai essayé de modifier la version 0.77 en y ajoutant du code de la 0.47 et en l'adaptant mais je n'ai pas réussi.
Alors, je pense que je vais prendre ce que je peux de la v0.77 et l'adapter pour la v0.47, cela me semble plus facile.
Je vais jeter un oeil à ce que tu m'as dit à propos de la police et du menu pour la v0.48. (J'ai presque terminé la v0.47 à 4:00 du matin, mais je continue l'aventure)

Si tu veux que je fasse certains trucs dans la v0.48 que je fais, tu peux me le dire.
Et si tu veux, tu peux prendre du code dans la v0.47 pour le mettre dans la v0.77.

Merci beaucoup pour ton précieux travail !


EDIT:
For the menu, it seems to be solved.
About the GUI, it is full scalable when you initialize LAG.

My Freewares here : http://www.retro-bruno.com
Jack
15
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 21st Jun 2017 21:56
Really nice work XANAX
Lag 0.77 has a lot of usful stuff, like the basic window system and the status-bar. I would try to use the 0.77 as root for further development.
I would love to see some more functionality in the GUI System
Right now I build some kind of graph library, that can be added to the GUI.
a working graph editor is extremly usful for a lot of things (sound design, animation, tweening, logging).
Once I finish this work, I will upload the code here.
Right now I have to fight with some GLSL shaders in order to get the drawing time under 0.016 s.


[/url]
XANAX 2B
17
Years of Service
User Offline
Joined: 20th Jun 2003
Location: Corsica (France)
Posted: 22nd Jun 2017 08:06 Edited at: 28th Jun 2017 20:01
@Jack :
The v0.77 is made by Blendman.
I've just taken his old version 0.43 and added some stuffs.
I will take also what i can from the v0.77 to make the one i edit also a good GUI.

@all :
The v0.50 is out.

EDIT:
This is the v0.51 with a simple dark theme.

My Freewares here : http://www.retro-bruno.com
PartTimeCoder
AGK Tool Maker
5
Years of Service
User Offline
Joined: 9th Mar 2015
Location: Suffolk UK
Posted: 30th Jul 2017 17:28
@Blendman, I am using your 77 version to make a UI and I encountered a show stopper, I need to hide a container gadget and its childs but your implementation of LAG_HideGadget is incomplete, have you updated your version recently??
fubarpk
Retired Moderator
15
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 14th Aug 2019 03:43
unlock thread
fubarpk
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
Takis76
15
Years of Service
User Offline
Joined: 9th Apr 2005
Location: Greece
Posted: 16th Aug 2019 19:03 Edited at: 16th Aug 2019 19:09
What is the difference between the Version 0.50 and 0.77?
Dark Lord Beholder Project.
Role Playing Game like Lands of Lore 1 and Eye of the Beholder 2.
https://facebook.com/darklordbeholder

Takis76
15
Years of Service
User Offline
Joined: 9th Apr 2005
Location: Greece
Posted: 16th Aug 2019 19:08
I am playing with the Version 0.77 of the GUI library and I see it doesn't have the Scrollbar gadgets.
The Version 0.50 have the scrollbar gadgets. But how can I add the scrollbar gadget from 0.50 to 0.77?

Thank you
Dark Lord Beholder Project.
Role Playing Game like Lands of Lore 1 and Eye of the Beholder 2.
https://facebook.com/darklordbeholder

Login to post a reply

Server time is: 2020-07-04 15:42:17
Your offset time is: 2020-07-04 15:42:17