$treeview $search $mathjax
Stratagus
2.2.6
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <widgets.h>
widgets.cpp - The stratagus ui widgets. | |
ScrollingWidget (int width, int height) | |
void | add (gcn::Widget *widget, int x, int y) |
void | restart () |
Public Member Functions | |
void | setSpeed (float speed) |
float | getSpeed () |
ScrollingWidget::ScrollingWidget | ( | int | width, | |
int | height | |||
) |
void ScrollingWidget::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. |
void ScrollingWidget::restart | ( | ) |
Restart animation to the beginning.
void ScrollingWidget::setSpeed | ( | float | speed | ) | [inline] |
float ScrollingWidget::getSpeed | ( | ) | [inline] |