ASCGUI_Window::WidgetParameters Class Reference

#include <windowing.h>

List of all members.

Public Member Functions

 WidgetParameters ()
void assign (PG_Widget *widget)
void assign (BarGraphWidget *widget)
void assign (PG_ThemeWidget *widget)
void assign (PG_Label *widget)
void runTextIO (PropertyReadingContainer &pc)

Public Attributes

ASCString backgroundImage
PG_Draw::BkMode backgroundMode
PG_Label::TextAlign textAlign
bool textAlign_defined
int fontColor
bool fontColor_defined
ASCString fontName
ASCString style
int fontAlpha
bool fontAlpha_defined
int fontSize
bool fontSize_defined
int backgroundColor
bool backgroundColor_defined
int transparency
bool transparency_defined
int bordersize
bool bordersize_defined
bool hidden


Detailed Description

Definition at line 40 of file windowing.h.


Constructor & Destructor Documentation

ASCGUI_Window::WidgetParameters::WidgetParameters (  ) 

Definition at line 146 of file windowing.cpp.


Member Function Documentation

void ASCGUI_Window::WidgetParameters::assign ( PG_Widget *  widget  ) 

Definition at line 284 of file windowing.cpp.

References bordersize, bordersize_defined, fontAlpha, fontAlpha_defined, fontColor, fontColor_defined, fontName, fontSize, fontSize_defined, hidden, transparency, and transparency_defined.

Referenced by assign(), ASCGUI_Window::parsePanelASCTXT(), and ASCGUI_Window::setup().

void ASCGUI_Window::WidgetParameters::assign ( BarGraphWidget widget  ) 

Definition at line 220 of file windowing.cpp.

References assign(), backgroundColor, backgroundColor_defined, and BarGraphWidget::setColor().

void ASCGUI_Window::WidgetParameters::assign ( PG_ThemeWidget *  widget  ) 

Definition at line 250 of file windowing.cpp.

References assign(), backgroundColor, backgroundColor_defined, backgroundImage, backgroundMode, Surface::getBaseSurface(), IconRepository::getIcon(), and hasTransparency().

void ASCGUI_Window::WidgetParameters::assign ( PG_Label *  widget  ) 

Definition at line 272 of file windowing.cpp.

References assign(), textAlign, and textAlign_defined.

void ASCGUI_Window::WidgetParameters::runTextIO ( PropertyReadingContainer pc  ) 

Definition at line 166 of file windowing.cpp.

References PropertyContainer::addBool(), PropertyContainer::addInteger(), PropertyContainer::addNamedInteger(), PropertyContainer::addString(), backgroundColor, backgroundColor_defined, backgroundImage, backgroundMode, bordersize, bordersize_defined, PropertyContainer::find(), fontAlpha, fontAlpha_defined, fontColor, fontColor_defined, fontName, fontSize, fontSize_defined, hidden, imageModeNum, imageModes, style, textAlign, textAlign_defined, textAlignment, textAlignNum, transparency, and transparency_defined.

Referenced by ASCGUI_Window::parsePanelASCTXT(), and ASCGUI_Window::setup().


Member Data Documentation

ASCString ASCGUI_Window::WidgetParameters::backgroundImage

Definition at line 44 of file windowing.h.

Referenced by assign(), and runTextIO().

PG_Draw::BkMode ASCGUI_Window::WidgetParameters::backgroundMode

Definition at line 45 of file windowing.h.

Referenced by assign(), and runTextIO().

PG_Label::TextAlign ASCGUI_Window::WidgetParameters::textAlign

Definition at line 47 of file windowing.h.

Referenced by assign(), and runTextIO().

bool ASCGUI_Window::WidgetParameters::textAlign_defined

Definition at line 48 of file windowing.h.

Referenced by assign(), and runTextIO().

int ASCGUI_Window::WidgetParameters::fontColor

Definition at line 50 of file windowing.h.

Referenced by assign(), and runTextIO().

bool ASCGUI_Window::WidgetParameters::fontColor_defined

Definition at line 51 of file windowing.h.

Referenced by assign(), and runTextIO().

ASCString ASCGUI_Window::WidgetParameters::fontName

Definition at line 53 of file windowing.h.

Referenced by assign(), and runTextIO().

ASCString ASCGUI_Window::WidgetParameters::style

Definition at line 54 of file windowing.h.

Referenced by runTextIO().

int ASCGUI_Window::WidgetParameters::fontAlpha

Definition at line 55 of file windowing.h.

Referenced by assign(), and runTextIO().

bool ASCGUI_Window::WidgetParameters::fontAlpha_defined

Definition at line 56 of file windowing.h.

Referenced by assign(), and runTextIO().

int ASCGUI_Window::WidgetParameters::fontSize

Definition at line 58 of file windowing.h.

Referenced by assign(), and runTextIO().

bool ASCGUI_Window::WidgetParameters::fontSize_defined

Definition at line 59 of file windowing.h.

Referenced by assign(), and runTextIO().

int ASCGUI_Window::WidgetParameters::backgroundColor

Definition at line 61 of file windowing.h.

Referenced by assign(), and runTextIO().

bool ASCGUI_Window::WidgetParameters::backgroundColor_defined

Definition at line 62 of file windowing.h.

Referenced by assign(), and runTextIO().

int ASCGUI_Window::WidgetParameters::transparency

Definition at line 64 of file windowing.h.

Referenced by assign(), and runTextIO().

bool ASCGUI_Window::WidgetParameters::transparency_defined

Definition at line 65 of file windowing.h.

Referenced by assign(), and runTextIO().

int ASCGUI_Window::WidgetParameters::bordersize

Definition at line 67 of file windowing.h.

Referenced by assign(), and runTextIO().

bool ASCGUI_Window::WidgetParameters::bordersize_defined

Definition at line 68 of file windowing.h.

Referenced by assign(), and runTextIO().

bool ASCGUI_Window::WidgetParameters::hidden

Definition at line 69 of file windowing.h.

Referenced by assign(), and runTextIO().


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:46:19 2012 for Advanced Strategic Command by  doxygen 1.5.1