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
2 registered members (AndrewAMD, Imhotep), 567 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 8 of 17 1 2 6 7 8 9 10 16 17
Re: LBGUI - RELEASE [Re: Clemens] #381119
08/24/11 13:29
08/24/11 13:29
Joined: May 2007
Posts: 2,043
Germany
Lukas Offline OP

Programmer
Lukas  Offline OP

Programmer

Joined: May 2007
Posts: 2,043
Germany
Yes, I already started working on an LBGUI update some time ago and the multiline textbox has the highest priority. But my time is very limited atm.

It will also include some API optimisations that weren't suggested here, but in some podcast...
However, current scripts using LBGUI won't have to be changed.

For the editor and the XML parser, this future isn't far enough.

Re: LBGUI - RELEASE [Re: Lukas] #381197
08/25/11 09:41
08/25/11 09:41
Joined: Sep 2003
Posts: 303
Germany
Clemens Offline
Senior Member
Clemens  Offline
Senior Member

Joined: Sep 2003
Posts: 303
Germany
Great! I'll have to develope a multimedia application for which I necessary need multiline textboxes. The deadline is quite soon, in about 1-6 weeks (depending on the version, the final one in about six weeks).
Is it realistic to get that feature within this space of time?

Your answer is essential if I'll be able to create it with 3dGS (which I truly prefer).
Is there further more any chance to motivate you to set up the priority for finishing this specific feature? maybe with some euros... (I'm a "poor student" so it won't be really much - more a symbol instead of a real payment).

Re: LBGUI - RELEASE [Re: Clemens] #381201
08/25/11 12:08
08/25/11 12:08
Joined: May 2007
Posts: 2,043
Germany
Lukas Offline OP

Programmer
Lukas  Offline OP

Programmer

Joined: May 2007
Posts: 2,043
Germany
I'm very unsure about when I can release the update, it may or may not be finished within 6 weeks, so it would be safer if you'd plan your projects without it. Sorry.

Money always motivates me. grin
But the multiline textbox already has the highest priority. wink

However, if things like scrollbars or a proper documentation are not crucial for you, I could maybe give you a crippled version earlier. You could PM me about this.

Re: LBGUI - RELEASE [Re: Lukas] #381344
08/26/11 18:45
08/26/11 18:45
Joined: Sep 2003
Posts: 303
Germany
Clemens Offline
Senior Member
Clemens  Offline
Senior Member

Joined: Sep 2003
Posts: 303
Germany
Sounds great! You've got post

Last edited by Clemens; 08/26/11 18:46.
Re: LBGUI - RELEASE [Re: Lukas] #392962
01/29/12 22:54
01/29/12 22:54
Joined: Oct 2008
Posts: 513
Carlos3DGS Offline
User
Carlos3DGS  Offline
User

Joined: Oct 2008
Posts: 513
I am having a little problem with an option from the manuall:
I have a working gui with this, and movable windows, but you can lose them if dragged outside the engine window.
Quote:
The GUI itself also has flags, which are stored in the global long LBG_flags. The following flags are available:
LBGUI_RUNNING - The GUI is running (it has been opened).
LBGUI_DISABLED - Disables the whole GUI.
LBGUI_PROTECTMOUSE - If the mouse is outside the engine window, the GUI considers the mouse as at the border of the window. This prevents windows to be moved outside the window, where they would be lost.
LBGUI_STOPACTION - Stops an action that is normally executed after certain events. This flag is enabled by LBG_stop_action.
I am not sure how to do this, I tried setting the flag several ways but couldn't get it to work:
Code:
LBGUI_PROTECTMOUSE=1;
set(LBG_flags,LBGUI_PROTECTMOUSE);

Any advice would be great to set this flag.

P.S: How is that multiline textbox update going? Is it still being worked on?

Last edited by Carlos3DGS; 01/30/12 02:19.

"The more you know, the more you realize how little you know..."

I <3 HORUS
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=401929&page=1
Re: LBGUI - RELEASE [Re: Carlos3DGS] #392979
01/30/12 04:44
01/30/12 04:44
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
not sue what you've done there.. but is must be:
Code:
set(windowname, LBGUI_PROTECTMOUSE);

or

windowname->flags |= LBGUI_PROTECTMOUSE;




Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: LBGUI - RELEASE [Re: Espér] #393001
01/30/12 13:28
01/30/12 13:28
Joined: Oct 2008
Posts: 513
Carlos3DGS Offline
User
Carlos3DGS  Offline
User

Joined: Oct 2008
Posts: 513
I finally got it to work like this:
Code:
LBG_flags |= LBGUI_PROTECTMOUSE;


Could someone explain to me why that line works and this one dosn't?:
Code:
set(LBG_flags,LBGUI_PROTECTMOUSE);


I think I am not getting something about how LBGUI_PROTECTMOUSE and set() works.


"The more you know, the more you realize how little you know..."

I <3 HORUS
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=401929&page=1
Re: LBGUI - RELEASE [Re: Carlos3DGS] #393003
01/30/12 13:36
01/30/12 13:36
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
You second code snippet is a macro, so that your code gets replaced to:
Code:
LBG_flags->flags |= (LBGUI_PROTECTMOUSE);


which is of course rubbish. Only use the "set" macro for entities.


Always learn from history, to be sure you make the same mistakes again...
Re: LBGUI - RELEASE [Re: Carlos3DGS] #393022
01/30/12 16:38
01/30/12 16:38
Joined: May 2007
Posts: 2,043
Germany
Lukas Offline OP

Programmer
Lukas  Offline OP

Programmer

Joined: May 2007
Posts: 2,043
Germany
Originally Posted By: Carlos3DGS
P.S: How is that multiline textbox update going? Is it still being worked on?


There is an alpha where is works pretty good so far, but I can't guarantee a release very soon, because I have not much time because of school, especially as my Abitur will come this year. I guess I will be able to release it this year, but if the deadline of your project is less than let's say 6 months in the future, don't count on it to be released on time.

Re: LBGUI - RELEASE [Re: Lukas] #393256
02/01/12 18:27
02/01/12 18:27
Joined: Oct 2008
Posts: 513
Carlos3DGS Offline
User
Carlos3DGS  Offline
User

Joined: Oct 2008
Posts: 513
Thanks for the info Uhrwerk.

@Lukas: Don't worry, I'm in no hurry for that feature. By the way, what is an Abitur?

And another question:
How do I detect if the cursor is over any LBGUI object?
I found LBG_mouse_over_object(LBG_WINDOW* obj) in the manual, but that only checks a window I send as parameter.
Is there any way to know if it is on any object?
(What I am trying to do is stop other "click-related" things that happen in my game when the cursor is over any LBGUI object.)


"The more you know, the more you realize how little you know..."

I <3 HORUS
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=401929&page=1
Page 8 of 17 1 2 6 7 8 9 10 16 17

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