Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include "vegastrike.h"
#include "slider.h"
#include "eventmanager.h"
#include "vs_globals.h"
#include "config_xml.h"
#include "xml_support.h"
Go to the source code of this file.
Functions | |
static bool | isColorLight (const GFXColor &c) |
static GFXColor | darkenColor (const GFXColor &c, const float factor) |
static GFXColor | lightenColor (const GFXColor &c, const float factor) |
Variables | |
static const float | MAX_THUMB_LENGTH = 1.0 |
static const float | MIN_THUMB_LENGTH = .05 |
static const float | NO_THUMB_LENGTH = 1.0 |
static const float | ABSOLUTE_MIN_THUMB_LENGTH = .05 |
static const Size | THUMB_DRAG_CANCEL_MARGINS = Size( -.3, -.3 ) |
Definition at line 110 of file slider.cpp.
References GFXColor::a, GFXColor::b, GFXColor::g, guiMax, and GFXColor::r.
Referenced by Slider::setThumbColorBasedOnColor().
Definition at line 104 of file slider.cpp.
References GFXColor::b, GFXColor::g, and GFXColor::r.
Referenced by Slider::setThumbColorBasedOnColor().
Definition at line 122 of file slider.cpp.
References GFXColor::a, GFXColor::b, GFXColor::g, guiMin, and GFXColor::r.
Referenced by Slider::setThumbColorBasedOnColor().
|
static |
Definition at line 40 of file slider.cpp.
Referenced by Slider::setThumbLength().
|
static |
Definition at line 35 of file slider.cpp.
Referenced by Slider::setThumbLength().
|
static |
Definition at line 36 of file slider.cpp.
Referenced by Slider::setThumbLength().
|
static |
Definition at line 37 of file slider.cpp.
Referenced by Slider::processMouseDown(), Slider::processMouseDrag(), and Slider::setThumbLength().
Definition at line 48 of file slider.cpp.