#include <setup_colors.h>
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 |
BrowserBox * | mPreview |
TextPreview * | mTextPreview |
gcn::ScrollArea * | mPreviewBox |
int | mSelected |
gcn::Label * | mGradTypeLabel |
gcn::Slider * | mGradTypeSlider |
gcn::Label * | mGradTypeText |
gcn::Label * | mGradDelayLabel |
gcn::Slider * | mGradDelaySlider |
TextField * | mGradDelayText |
gcn::Label * | mRedLabel |
gcn::Slider * | mRedSlider |
TextField * | mRedText |
int | mRedValue |
gcn::Label * | mGreenLabel |
gcn::Slider * | mGreenSlider |
TextField * | mGreenText |
int | mGreenValue |
gcn::Label * | mBlueLabel |
gcn::Slider * | mBlueSlider |
TextField * | mBlueText |
int | mBlueValue |
Static Private Attributes | |
static const std::string | rawmsg = _("This is what the color looks like") |
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.
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] |
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.
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.
BrowserBox* Setup_Colors::mPreview [private] |
Definition at line 56 of file setup_colors.h.
TextPreview* Setup_Colors::mTextPreview [private] |
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.
TextField* Setup_Colors::mGradDelayText [private] |
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.
TextField* Setup_Colors::mRedText [private] |
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.
TextField* Setup_Colors::mGreenText [private] |
Definition at line 76 of file setup_colors.h.
int Setup_Colors::mGreenValue [private] |
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.
TextField* Setup_Colors::mBlueText [private] |
Definition at line 81 of file setup_colors.h.
int Setup_Colors::mBlueValue [private] |
Definition at line 82 of file setup_colors.h.