Gamestudio Links
Zorro Links
Newest Posts
A9
by 3run. 07/09/20 19:13
Historical ticks for Lookback backfill
by Zheka. 07/08/20 09:10
Trade Mode without a broker
by jj02520024. 07/08/20 01:20
How to handle algo name in Simulate.c
by happysun. 07/07/20 08:56
Erasing a datapoint in a plot array
by jcl. 07/06/20 09:51
typo
by jcl. 07/06/20 09:44
Video Panel System
by Emre. 07/06/20 09:39
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
7 registered members (kvm, 3run, Ayumi, jenGs, Dalla, 2 invisible), 414 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
dasanc, DavidFdez, TraderKevin, deus777, carolthesecond
18476 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 4 of 5 1 2 3 4 5
Re: Imgui Lite-c Development [Re: Evo] #478951
01/23/20 21:18
01/23/20 21:18
Joined: May 2009
Posts: 5,275
Caucasus
3run Online
Senior Expert
3run  Online
Senior Expert

Joined: May 2009
Posts: 5,275
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
Re: Imgui Lite-c Development [Re: Evo] #478952
01/23/20 23:26
01/23/20 23:26
Joined: Jun 2007
Posts: 1,323
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,323
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,275
Caucasus
3run Online
Senior Expert
3run  Online
Senior Expert

Joined: May 2009
Posts: 5,275
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
Re: Imgui Lite-c Development [Re: Evo] #478982
01/30/20 10:26
01/30/20 10:26
Joined: Jun 2007
Posts: 1,323
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,323
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,108
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,108
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: 568
Turkey, izmir
Emre Offline
User
Emre  Offline
User

Joined: Jul 2007
Posts: 568
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,108
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,108
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: 568
Turkey, izmir
Emre Offline
User
Emre  Offline
User

Joined: Jul 2007
Posts: 568
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 5 1 2 3 4 5

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