Gamestudio Links
Zorro Links
Newest Posts
Sortino(vars Data, int TimePeriod): var
by danatrader. 11/26/20 20:45
Need code for Williams Sentiment Index
by danatrader. 11/26/20 20:42
Binance Futures Plugin
by Mio. 11/26/20 10:54
Optimizing global & local parameters
by dBc. 11/25/20 15:16
Enter FOK orders simultaneously
by jcl. 11/25/20 10:55
looking how basic functions are made
by jcl. 11/25/20 10:47
IB TWS and IB api live data inaccuracy
by marr. 11/24/20 10:03
AUM Magazine
Latest Screens
Paradox Vector
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
Who's Online Now
5 registered members (alibaba, danatrader, Quad, ozgur, 1 invisible), 491 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
MMK, raed, liquidbread, Dmitry_Shesterin, ddczp
18543 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 6 1 2 3 4 5 6
Re: Imgui Lite-c Development [Re: Evo] #478283
09/27/19 15:32
09/27/19 15:32
Joined: Jul 2010
Posts: 283
Germany
J
jenGs Offline
Member
jenGs  Offline
Member
J

Joined: Jul 2010
Posts: 283
Germany
Yes that is possible. I will add this before I release the new version tomorrow

Re: Imgui Lite-c Development [Re: jenGs] #478288
09/28/19 16:17
09/28/19 16:17
Joined: Jun 2007
Posts: 1,334
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,334
Hiporope and its pain
Hi, I miss to link to the engines SDK for the project in VS2017. I copied the engines SDK plugin folder (adll.h, adll.lib, etc) to my VS projects folder and set the path in the aditional includes of code and in the aditional libraries of the linker, but it is not able to find "adll.h". I believe it was enough. What I am missing? Thank you in advance and excuse the noob question laugh

Re: Imgui Lite-c Development [Re: txesmi] #478290
09/28/19 16:58
09/28/19 16:58
Joined: Jul 2007
Posts: 581
Turkey, izmir
Emre Offline
User
Emre  Offline
User

Joined: Jul 2007
Posts: 581
Turkey, izmir
i'm not sure what you are missed. I change the imgui project settings as follows: (maybe it helps)

[Linked Image]
[Linked Image]

That's all. You don't have to copy engine plugin folder to vs project folder. btw; there is two important thing too:

[Linked Image]
[Linked Image]

i hope that helps.

Re: Imgui Lite-c Development [Re: Evo] #478291
09/28/19 17:25
09/28/19 17:25
Joined: Jun 2007
Posts: 1,334
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,334
Hiporope and its pain
Thank you. That it is. Same as I did. I did not change events because there were not any. Also, no changes on Linker/additional dependencies because is correctly set to "adll.lib". I checked everything again but I don't get what happens.

I decided to copy it because it did not find the file at its original path at first instance and, at the same time, I like to mantain every VS dependency holding from the same folder, but yes, I know it is not necessary, thank you anyway.

EDITED___________________

Ok, I found the problem. I mixed up things with the VS tools version. It compiles now. Thank you for your time!

Last edited by txesmi; 09/28/19 17:52.
Re: Imgui Lite-c Development [Re: txesmi] #478292
09/28/19 18:03
09/28/19 18:03
Joined: Jul 2010
Posts: 283
Germany
J
jenGs Offline
Member
jenGs  Offline
Member
J

Joined: Jul 2010
Posts: 283
Germany
Hello evryone,
I have updated my project and the dll.

* Reordered methods, deleted unneeded header
* Added a lot of features
* put a part of the Demo in example.c
* Tabs are now available
* drawlist_image is now available
* and a lot more, some of it crap, because I needed it for the demo

Sadly the official Imgui Demo is massive and does a lot of things that are not possible in Lite-C syntax, so it takes a lot of time to find workaround especially with char on the fly declarations.

In my header you will find an "typedef interface". I only did that, so I hadn't to replace every method in the demo. Don't use this at home laugh You may have struct member functions, but it makes the code more ugly.
I have automated my workflow a bit. A crappy Java Programm prases with regex and generates now my headers and "interface" struct.

imgui has hundreds of features, I will try to put more of them in.

Re: Imgui Lite-c Development [Re: txesmi] #478294
09/28/19 18:21
09/28/19 18:21
Joined: Jul 2007
Posts: 581
Turkey, izmir
Emre Offline
User
Emre  Offline
User

Joined: Jul 2007
Posts: 581
Turkey, izmir
Originally Posted by txesmi
Ok, I found the problem. I mixed up things with the VS tools version. It compiles now.


Glad to hear that! laugh

Edit: @Jengs: I checked it and got syntax error: "imgui_drawlist_add_polygon" line 41. (imgui_methods.h)

Last edited by Emre; 09/28/19 19:10.
Re: Imgui Lite-c Development [Re: Evo] #478297
09/28/19 19:26
09/28/19 19:26
Joined: Feb 2013
Posts: 122
Maysville, Ga
Evo Offline OP
Member
Evo  Offline OP
Member

Joined: Feb 2013
Posts: 122
Maysville, Ga
@jenGs : I wasn't able to go through the new example.c due to an error, but I updated to the new files for my template and everything works just fine. I see a lot of new features that you included. Thanks for the new update. Once I have time, I'll go through each new feature and add it to the template.

Re: Imgui Lite-c Development [Re: Emre] #478298
09/28/19 19:46
09/28/19 19:46
Joined: Jul 2010
Posts: 283
Germany
J
jenGs Offline
Member
jenGs  Offline
Member
J

Joined: Jul 2010
Posts: 283
Germany
Quote
Edit: @Jengs: I checked it and got syntax error: "imgui_drawlist_add_polygon" line 41. (imgui_methods.h)

That's strange, that's an rather old error, that I fixed last week.

Re: Imgui Lite-c Development [Re: jenGs] #478299
09/28/19 19:50
09/28/19 19:50
Joined: Jul 2010
Posts: 283
Germany
J
jenGs Offline
Member
jenGs  Offline
Member
J

Joined: Jul 2010
Posts: 283
Germany
ah you need <windows.h> for the POINT struct. I think I will change that und use an own point struct

Re: Imgui Lite-c Development [Re: jenGs] #478300
09/28/19 19:55
09/28/19 19:55
Joined: Jul 2010
Posts: 283
Germany
J
jenGs Offline
Member
jenGs  Offline
Member
J

Joined: Jul 2010
Posts: 283
Germany
One moment, I make the demo runnable. I tested with the wrong script

Page 2 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