Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (Quad, AndrewAMD, Imhotep, TipmyPip, Edgar_Herrera), 809 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 4 of 6 1 2 3 4 5 6
Re: Imgui Lite-c Development [Re: Evo] #478951
01/23/20 21:18
01/23/20 21:18
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Thank you for quick reply! I just saw that you were using that 'imgui_h_button' in your example, my bad. I need to be more attentive. I was previously using imgui_button(text), which doesn't allow to set the size, but only created a button, which will change it's size automatically depending on the text length.

Small tip: just found out how to remove close button from the window, without using NoTitleBar flag seton. In 'imgui_begin(char *name, void *p_close, long flags);' simply pass NULL for p_close.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Imgui Lite-c Development [Re: Evo] #478952
01/23/20 23:26
01/23/20 23:26
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
You are welcome
Originally Posted by 3run
pass NULL for p_close

nice to know wink

edited__________
Just updated the file browser: A new way based on TEXT structs.

Last edited by txesmi; 01/24/20 09:36.
Re: Imgui Lite-c Development [Re: Evo] #478970
01/29/20 13:28
01/29/20 13:28
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
There was a memory leak:
Code
Unfreed: 1082,    , 8 bytes
Unfreed: 1083,    , 876 bytes

In original and txesmi's examples, so I had to add this:
Code
void on_exit_event()
{
	sys_free(ImGui->lpVtbl);
	sys_free(ImGui);
}

void main()
{
	on_exit = on_exit_event;
        ....
}

Also, there is a typo (no space between ImGuiWindowFlags_AlwaysUseWindowPadding and 1) in imgui_enums.h, in line 35.
Code
#define ImGuiWindowFlags_AlwaysUseWindowPadding1 << 16 // Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windowsbecause more convenient)


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Imgui Lite-c Development [Re: Evo] #478982
01/30/20 10:26
01/30/20 10:26
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
@3run
I will try to fix that inside the module...

Re: Imgui Lite-c Development [Re: Evo] #479498
04/02/20 17:33
04/02/20 17:33
Joined: Feb 2013
Posts: 122
Maysville, Ga
Evo Offline OP
Member
Evo  Offline OP
Member

Joined: Feb 2013
Posts: 122
Maysville, Ga
Created a new v2 of the Imgui Template. The main post has been updated with the new info and links.

Re: Imgui Lite-c Development [Re: Evo] #479501
04/02/20 21:17
04/02/20 21:17
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Holy moly, this comes just right!! Thanks a bunch!


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: Imgui Lite-c Development [Re: Evo] #479518
04/03/20 14:50
04/03/20 14:50
Joined: Feb 2013
Posts: 122
Maysville, Ga
Evo Offline OP
Member
Evo  Offline OP
Member

Joined: Feb 2013
Posts: 122
Maysville, Ga
Thanks. Once more development and plugins are created, I'll update it again in the future.

Re: Imgui Lite-c Development [Re: Evo] #479538
04/05/20 04:47
04/05/20 04:47
Joined: Jul 2007
Posts: 619
Turkey, Izmir
Emre Offline
User
Emre  Offline
User

Joined: Jul 2007
Posts: 619
Turkey, Izmir
Hi everybody. i made a simple theme editor. You can easily create your theme and export it. It's not that great, but still it's useful i guess. You can download from here.

[Linked Image]


Last edited by Emre; 04/09/20 14:44. Reason: Change the link. Now it contain source code.
Re: Imgui Lite-c Development [Re: Evo] #479544
04/05/20 11:47
04/05/20 11:47
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
I love you guys! Only recently I've started with 3dgs again and at the right time you come around the corner with such useful contributions! Cheers!


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: Imgui Lite-c Development [Re: alibaba] #479555
04/06/20 05:12
04/06/20 05:12
Joined: Jul 2007
Posts: 619
Turkey, Izmir
Emre Offline
User
Emre  Offline
User

Joined: Jul 2007
Posts: 619
Turkey, Izmir
Originally Posted by alibaba
I love you guys! Only recently I've started with 3dgs again and at the right time you come around the corner with such useful contributions! Cheers!

Well i can't beleive we are still here. You, me, 3run, txesmi, jenGs, Evo, Quad and some others. (:
i think imgui is the biggest factor lately. Thanks to jenGs!

it is indeed good that we are still here for whatever reason.

Page 4 of 6 1 2 3 4 5 6

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1