[Solved] nOOb question : show() and setVisible(true) ?

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
Ceacy
Just popping in
Just popping in
Posts: 16
Joined: Sun May 22, 2005 20:28
Location: France, Paris.
Contact:

[Solved] nOOb question : show() and setVisible(true) ?

Postby Ceacy » Thu Jun 30, 2005 08:17

Hi,
When browsing the API reference, i saw there were several functions which seems to do the same thing :

Code: Select all

void show(void)
void hide (void)

And

Code: Select all

void setVisible(bool setting)

For example. Is there a difference, or do they have the same effect ?

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: nOOb question : show() and setVisible(true) ?

Postby CrazyEddie » Thu Jun 30, 2005 08:25

Yes, these are the same thing. They're included for completeness, and implemented in terms of the main setting method (so, show() calls setVisible(true); for example).

User avatar
Ceacy
Just popping in
Just popping in
Posts: 16
Joined: Sun May 22, 2005 20:28
Location: France, Paris.
Contact:

Re: nOOb question : show() and setVisible(true) ?

Postby Ceacy » Thu Jun 30, 2005 08:58

Ok. Thanks ;-)


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 4 guests