____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"#include <widgets.h>

Public Member Functions | |
| Windows (const std::string &text, int width, int height) | |
| void | add (gcn::Widget *widget, int x, int y) |
Definition at line 228 of file widgets.h.
| Windows::Windows | ( | const std::string & | title, | |
| int | width, | |||
| int | height | |||
| ) |
Windows constructor.
| title | Title of the window. | |
| width | Width of the window. | |
| height | Height of the window. |
Definition at line 1091 of file widgets.cpp.
References gcn::Window::resizeToContent(), gcn::ScrollArea::setContent(), gcn::Window::setContent(), and gcn::Widget::setDimension().
| void Windows::add | ( | gcn::Widget * | widget, | |
| int | x, | |||
| int | y | |||
| ) |
Add a widget in the window.
| widget | Widget to add. | |
| x | Position of the widget in the window. | |
| y | Position of the widget in the window. |
Definition at line 1108 of file widgets.cpp.
References gcn::Container::add(), gcn::Widget::getHeight(), gcn::Widget::getWidth(), gcn::Widget::setHeight(), and gcn::Widget::setWidth().
1.5.6