22 #include "precompiled.h"
31 m_X(300.f), m_Y(300.f),
32 m_ScrollRange(1.f), m_ScrollSpace(0.f),
33 m_Length(200.f), m_Width(20.f),
34 m_BarSize(0.f), m_Pos(0.f),
35 m_UseEdgeButtons(true),
36 m_ButtonPlusPressed(false),
37 m_ButtonMinusPressed(false),
38 m_ButtonPlusHovered(false),
39 m_ButtonMinusHovered(false),
62 LOGWARNING(L
"Minimum scrollbar size of %g is larger than the total scrollbar size of %g", min, length);
100 switch (Message.
type)
The main object that represents a whole GUI page.
Made to represent screen positions and delta values.
CPos GetMousePos() const
Get Mouse from CGUI.
Message send to IGUIObject::HandleMessage() in order to give life to Objects manually with a derived ...
EGUIMessageType type
Describes what the message regards.
bool PointInside(const CPos &point) const
Evalutates if point is within the rectangle.
T clamp(T value, T min, T max)