____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       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"

CButtonPanel Class Reference

#include <ui.h>

List of all members.

Public Member Functions

 CButtonPanel ()
void Draw ()
void Update ()
void DoClicked (int button)
int DoKey (int key)

Public Attributes

CGraphicG
int X
int Y
std::vector< CUIButtonButtons
SDL_Color AutoCastBorderColorRGB
bool ShowCommandKey


Detailed Description

Definition at line 239 of file ui.h.


Constructor & Destructor Documentation

CButtonPanel::CButtonPanel (  )  [inline]

Definition at line 242 of file ui.h.

References AutoCastBorderColorRGB.


Member Function Documentation

void CButtonPanel::Draw ( void   ) 

void CButtonPanel::Update ( void   ) 

void CButtonPanel::DoClicked ( int  button  ) 

int CButtonPanel::DoKey ( int  key  ) 

Lookup key for bottom panel buttons.

Parameters:
key Internal key symbol for pressed key.
Returns:
True, if button is handled (consumed).

Definition at line 928 of file botpanel.cpp.

References CUserInterface::ButtonPanel, Buttons, gcn::SDLInput::convertKeyCharacter(), DoClicked(), gcn::Key::getValue(), int(), and UI.

Referenced by HandleKeyDown().


Member Data Documentation

Definition at line 254 of file ui.h.

Referenced by CleanUserInterface(), Draw(), EditorUpdateDisplay(), and CUserInterface::Load().

Definition at line 258 of file ui.h.

Referenced by CButtonPanel(), and CIcon::DrawUnitIcon().

Definition at line 259 of file ui.h.

Referenced by Draw(), and DrawPieMenu().


The documentation for this class was generated from the following files:

Generated on Sat Feb 21 00:28:23 2009 for Bos Wars by  doxygen 1.5.6