$treeview $search $mathjax
Stratagus  2.2.7
$projectbrief
$projectbrief
$searchbox
-->
         _________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

Windows Class Reference

#include <widgets.h>

Inheritance diagram for Windows:

gcn::Window gcn::BasicContainer gcn::MouseListener gcn::Widget

List of all members.


widgets.cpp - The stratagus ui widgets.

 Windows (const std::string &text, int width, int height)
void add (gcn::Widget *widget, int x, int y)

Constructor & Destructor Documentation

Windows::Windows ( const std::string &  title,
int  width,
int  height 
)

Windows constructor.

Parameters:
title Title of the window.
width Width of the window.
height Height of the window.


Member Function Documentation

void Windows::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.


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