$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

ScrollingWidget Class Reference

#include <widgets.h>

Inheritance diagram for ScrollingWidget:

gcn::ScrollArea gcn::BasicContainer gcn::MouseListener gcn::Widget

List of all members.


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 ()

Constructor & Destructor Documentation

ScrollingWidget::ScrollingWidget ( int  width,
int  height 
)

ScrollingWidget constructor.

Parameters:
width Width of the widget.
height Height of the widget.


Member Function Documentation

void ScrollingWidget::add ( gcn::Widget widget,
int  x,
int  y 
)

Add a widget in the window.

Parameters:
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]


The documentation for this class was generated from the following files:
(C) Copyright 1998-2011 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.