CreateDisplay using Sizable etc. = true when fullscreen okay?
Posted: Wed Jan 15, 2025 1:05 pm
I am making this Createdisplay where user can choose the options through RAPAGui what options to use.
User can choose either fullscreen or window mode.
Thing is, some of the options, like Sizable are only available for Window mode.
Therefore question is, Should I make two different CreateDisplay lines, one which handles for window case, and another for fullscreen case, or can I just use the same line for both?
As in, I could have:
Which means that it could end up in a situation where Mode = "Fullscreen" yet Sizeable = True.
Is this potentially a problem even in future?
User can choose either fullscreen or window mode.
Thing is, some of the options, like Sizable are only available for Window mode.
Therefore question is, Should I make two different CreateDisplay lines, one which handles for window case, and another for fullscreen case, or can I just use the same line for both?
As in, I could have:
Code: Select all
Sizeable = Moai.Get("Sizeable", "selected")
CreateDisplay(0, Sizeable = Sizeable)Is this potentially a problem even in future?