Setup_Colors Class Reference

#include <setup_colors.h>

Inheritance diagram for Setup_Colors:

SetupTab TextFieldListener Container

List of all members.


Detailed Description

Definition at line 38 of file setup_colors.h.


Public Member Functions

 Setup_Colors ()
 ~Setup_Colors ()
void apply ()
 Called when the Apply button is pressed in the setup window.
void cancel ()
 Called when the Cancel button is pressed in the setup window.
void action (const gcn::ActionEvent &event)
void listen (const TextField *tf)

Private Member Functions

void setEntry (gcn::Slider *s, TextField *t, int value)
void updateColor ()
void updateGradType ()

Private Attributes

gcn::ListBox * mColorBox
gcn::ScrollArea * mScroll
BrowserBoxmPreview
TextPreviewmTextPreview
gcn::ScrollArea * mPreviewBox
int mSelected
gcn::Label * mGradTypeLabel
gcn::Slider * mGradTypeSlider
gcn::Label * mGradTypeText
gcn::Label * mGradDelayLabel
gcn::Slider * mGradDelaySlider
TextFieldmGradDelayText
gcn::Label * mRedLabel
gcn::Slider * mRedSlider
TextFieldmRedText
int mRedValue
gcn::Label * mGreenLabel
gcn::Slider * mGreenSlider
TextFieldmGreenText
int mGreenValue
gcn::Label * mBlueLabel
gcn::Slider * mBlueSlider
TextFieldmBlueText
int mBlueValue

Static Private Attributes

static const std::string rawmsg = _("This is what the color looks like")

Constructor & Destructor Documentation

Setup_Colors::Setup_Colors (  ) 

Definition at line 46 of file setup_colors.cpp.

Setup_Colors::~Setup_Colors (  ) 

Definition at line 186 of file setup_colors.cpp.


Member Function Documentation

void Setup_Colors::apply (  )  [virtual]

Called when the Apply button is pressed in the setup window.

Implements SetupTab.

Definition at line 392 of file setup_colors.cpp.

void Setup_Colors::cancel (  )  [virtual]

Called when the Cancel button is pressed in the setup window.

Implements SetupTab.

Definition at line 397 of file setup_colors.cpp.

void Setup_Colors::action ( const gcn::ActionEvent &  event  ) 

Definition at line 194 of file setup_colors.cpp.

void Setup_Colors::listen ( const TextField tf  )  [virtual]

Implements TextFieldListener.

Definition at line 410 of file setup_colors.cpp.

void Setup_Colors::setEntry ( gcn::Slider *  s,
TextField t,
int  value 
) [private]

Definition at line 384 of file setup_colors.cpp.

void Setup_Colors::updateColor (  )  [private]

Definition at line 452 of file setup_colors.cpp.

void Setup_Colors::updateGradType (  )  [private]

Definition at line 424 of file setup_colors.cpp.


Member Data Documentation

const std::string Setup_Colors::rawmsg = _("This is what the color looks like") [static, private]

Definition at line 52 of file setup_colors.h.

gcn::ListBox* Setup_Colors::mColorBox [private]

Definition at line 54 of file setup_colors.h.

gcn::ScrollArea* Setup_Colors::mScroll [private]

Definition at line 55 of file setup_colors.h.

Definition at line 56 of file setup_colors.h.

Definition at line 57 of file setup_colors.h.

gcn::ScrollArea* Setup_Colors::mPreviewBox [private]

Definition at line 58 of file setup_colors.h.

int Setup_Colors::mSelected [private]

Definition at line 59 of file setup_colors.h.

gcn::Label* Setup_Colors::mGradTypeLabel [private]

Definition at line 61 of file setup_colors.h.

gcn::Slider* Setup_Colors::mGradTypeSlider [private]

Definition at line 62 of file setup_colors.h.

gcn::Label* Setup_Colors::mGradTypeText [private]

Definition at line 63 of file setup_colors.h.

gcn::Label* Setup_Colors::mGradDelayLabel [private]

Definition at line 65 of file setup_colors.h.

gcn::Slider* Setup_Colors::mGradDelaySlider [private]

Definition at line 66 of file setup_colors.h.

Definition at line 67 of file setup_colors.h.

gcn::Label* Setup_Colors::mRedLabel [private]

Definition at line 69 of file setup_colors.h.

gcn::Slider* Setup_Colors::mRedSlider [private]

Definition at line 70 of file setup_colors.h.

Definition at line 71 of file setup_colors.h.

int Setup_Colors::mRedValue [private]

Definition at line 72 of file setup_colors.h.

gcn::Label* Setup_Colors::mGreenLabel [private]

Definition at line 74 of file setup_colors.h.

gcn::Slider* Setup_Colors::mGreenSlider [private]

Definition at line 75 of file setup_colors.h.

Definition at line 76 of file setup_colors.h.

Definition at line 77 of file setup_colors.h.

gcn::Label* Setup_Colors::mBlueLabel [private]

Definition at line 79 of file setup_colors.h.

gcn::Slider* Setup_Colors::mBlueSlider [private]

Definition at line 80 of file setup_colors.h.

Definition at line 81 of file setup_colors.h.

int Setup_Colors::mBlueValue [private]

Definition at line 82 of file setup_colors.h.


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

Generated on Sun Apr 26 17:30:44 2009 for The Mana World by  doxygen 1.5.5