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

       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"

CPieMenu Class Reference

#include <ui.h>

List of all members.

Public Member Functions

 CPieMenu ()
void SetRadius (int radius)

Public Attributes

CGraphic * G
 Optional background image.
int MouseButton
 Which mouse button pops up the piemenu, deactivate with NoButton.
int X [8]
 X position of the pies.
int Y [8]
 Y position of the pies.


Detailed Description

Definition at line 262 of file ui.h.


Constructor & Destructor Documentation

CPieMenu::CPieMenu (  )  [inline]

Definition at line 264 of file ui.h.

References X, and Y.


Member Function Documentation

void CPieMenu::SetRadius ( int  radius  )  [inline]

Definition at line 275 of file ui.h.

References X, and Y.


Member Data Documentation

Optional background image.

Definition at line 270 of file ui.h.

Referenced by CleanUserInterface(), DrawPieMenu(), and CUserInterface::Load().

Which mouse button pops up the piemenu, deactivate with NoButton.

Definition at line 271 of file ui.h.

Referenced by UIHandleButtonDown().

int CPieMenu::X[8]

X position of the pies.

Definition at line 272 of file ui.h.

Referenced by CPieMenu(), DrawPieMenu(), GetPieUnderCursor(), SetRadius(), and UIHandleMouseMove().

int CPieMenu::Y[8]

Y position of the pies.

Definition at line 273 of file ui.h.

Referenced by CPieMenu(), DrawPieMenu(), GetPieUnderCursor(), SetRadius(), and UIHandleMouseMove().


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

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