-
Notifications
You must be signed in to change notification settings - Fork 4
Frames
Raphael Menges edited this page Oct 20, 2015
·
3 revisions
Frames are more an internal structure used in the layout class. There is one main frame holding the root element of a layout. Interesting for the user is the possibility to add floating frames on top of this main frame. One can load a Brick to a floating frame using the interface and providing relative position and size in respect to the GUI size.
unsigned int eyegui::addFloatingFrameWithBrick(
eyegui::Layout* pLayout,
std::string filepath,
float relativePositionX,
float relativePositionY,
float relativeSizeX,
float relativeSizeY,
bool visible = true,
bool fade = false);
It returns an integer as handle to manipulate, like moving and scaling, or remove the floating frame with other functions of the interface.