Using size greater than screen size

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: Using size greater than screen size

Postby YaronCT » Fri Nov 04, 2016 14:36

The only problem seems to b that the maximum size of a "DefaultWindow" is initialized with "(cegui_reldim(1), cegui_reldim(1))" rather than with 0 (i.e. no maximum size), which is definitely a bug. @Ident: Is that the bug u were referring to that we can't fix coz it changes behavior?

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: Using size greater than screen size

Postby YaronCT » Fri Nov 04, 2016 16:22

@BonneCW: Anyhow, for now u can just set the max size to 0 and then it should work, even with "Stretched".

User avatar
BonneCW
Just popping in
Just popping in
Posts: 8
Joined: Sun Sep 25, 2016 21:49

Re: Using size greater than screen size

Postby BonneCW » Fri Nov 04, 2016 16:34

@YaronCT: Okay, thank you very much.

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: Using size greater than screen size

Postby YaronCT » Fri Nov 04, 2016 16:37

@BonneCW: NP. If you're interested, feel free to share with us about the project u work on (in the dedicated forum).

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Using size greater than screen size

Postby Ident » Fri Nov 04, 2016 18:44

YaronCT wrote:The only problem seems to b that the maximum size of a "DefaultWindow" is initialized with "(cegui_reldim(1), cegui_reldim(1))" rather than with 0 (i.e. no maximum size), which is definitely a bug. @Ident: Is that the bug u were referring to that we can't fix coz it changes behavior?

Yes, now I remember. This is exactly what I fixed. Did you test on default branch?
CrazyEddie: "I don't like GUIs"

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: Using size greater than screen size

Postby YaronCT » Fri Nov 04, 2016 20:58

@Ident: Yes, it indeed works on branch "default". However, u set the max size there to "(cegui_absdim(maximum_float), cegui_absdim(maximum_float))" :lol: No need, we can just set it to 0 (which means no maximum size). I'll change that.

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Using size greater than screen size

Postby Ident » Fri Nov 04, 2016 21:03

YaronCT wrote:@Ident: Yes, it indeed works on branch "default". However, u set the max size there to "(cegui_absdim(maximum_float), cegui_absdim(maximum_float))" :lol: No need, we can just set it to 0 (which means no maximum size). I'll change that.

Are you sure 0 means no maximum size?
CrazyEddie: "I don't like GUIs"

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: Using size greater than screen size

Postby YaronCT » Fri Nov 04, 2016 21:09

@Ident: Yes.

Actually there's no need to set it at all, as it's already initialized with 0.

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Using size greater than screen size

Postby Ident » Sat Nov 05, 2016 09:35

Feel free to change it then. I remember I discussed this with Paul back in the time, seems like there was a misunderstanding
CrazyEddie: "I don't like GUIs"

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: Using size greater than screen size

Postby YaronCT » Sat Nov 05, 2016 09:36

@Ident: Who ask u?! I already did. :lol:

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Using size greater than screen size

Postby Ident » Sat Nov 05, 2016 09:41

YaronCT wrote:@Ident: Who ask u?! I already did. :lol:

:pint:
CrazyEddie: "I don't like GUIs"


Return to “Help”

Who is online

Users browsing this forum: Bing [Bot] and 6 guests