OldSchoolHack GUI
Öffentliche Methoden | Aufstellung aller Elemente
OSHGui::LinkLabel Klassenreferenz
Klassendiagramm für OSHGui::LinkLabel:
Inheritance graph
[Legende]
Zusammengehörigkeiten von OSHGui::LinkLabel:
Collaboration graph
[Legende]

Öffentliche Methoden

 LinkLabel ()
 
virtual bool Intersect (const Drawing::Point &point) const override
 
virtual void Render (Drawing::IRenderer *renderer) override
 
- Öffentliche Methoden geerbt von OSHGui::Label
 Label ()
 
void SetText (const Misc::AnsiString &text)
 
const Misc::AnsiString & GetText () const
 
virtual void SetFont (const std::shared_ptr< Drawing::IFont > &font) override
 
- Öffentliche Methoden geerbt von OSHGui::Control
virtual CONTROL_TYPE GetType () const
 
virtual bool GetIsFocused () const
 
virtual void SetEnabled (bool isEnabled)
 
virtual bool GetEnabled () const
 
virtual void SetVisible (bool isVisible)
 
virtual bool GetVisible () const
 
virtual void SetAutoSize (bool autoSize)
 
virtual bool GetAutoSize () const
 
virtual void SetBounds (const Drawing::Rectangle &bounds)
 
virtual void SetBounds (const Drawing::Point &location, const Drawing::Size &size)
 
virtual void SetBounds (int x, int y, int w, int h)
 
virtual const Drawing::Rectangle GetBounds () const
 
virtual void SetLocation (int x, int y)
 
virtual void SetLocation (const Drawing::Point &location)
 
virtual const Drawing::PointGetLocation () const
 
virtual void SetSize (int width, int height)
 
virtual void SetSize (const Drawing::Size &size)
 
virtual const Drawing::SizeGetSize () const
 
virtual int GetLeft () const
 
virtual int GetTop () const
 
virtual int GetRight () const
 
virtual int GetBottom () const
 
virtual int GetWidth () const
 
virtual int GetHeight () const
 
virtual void SetAnchor (AnchorStyle anchor)
 
virtual AnchorStyle GetAnchor () const
 
virtual void SetTag (Misc::Any &tag)
 
virtual const Misc::AnyGetTag () const
 
virtual void SetName (const Misc::AnsiString &name)
 
virtual const Misc::AnsiString & GetName () const
 
const std::shared_ptr
< Drawing::IFont > & 
GetFont () const
 
void SetCursor (const std::shared_ptr< Cursor > &cursor)
 
virtual const std::shared_ptr
< Cursor > & 
GetCursor () const
 
virtual void SetForeColor (Drawing::Color color)
 
virtual Drawing::Color GetForeColor () const
 
virtual void SetBackColor (Drawing::Color color)
 
virtual Drawing::Color GetBackColor () const
 
virtual void SetMouseOverFocusColor (Drawing::Color color)
 
virtual Drawing::Color GetMouseOverFocusColor () const
 
LocationChangedEventGetLocationChangedEvent ()
 
SizeChangedEventGetSizeChangedEvent ()
 
ClickEventGetClickEvent ()
 
MouseClickEventGetMouseClickEvent ()
 
MouseDownEventGetMouseDownEvent ()
 
MouseUpEventGetMouseUpEvent ()
 
MouseMoveEventGetMouseMoveEvent ()
 
MouseScrollEventGetMouseScrollEvent ()
 
MouseEnterEventGetMouseEnterEvent ()
 
MouseLeaveEventGetMouseLeaveEvent ()
 
MouseCaptureChangedEventGetMouseCaptureChangedEvent ()
 
KeyDownEventGetKeyDownEvent ()
 
KeyPressEventGetKeyPressEvent ()
 
KeyUpEventGetKeyUpEvent ()
 
FocusGotEventGetFocusGotEvent ()
 
FocusLostEventGetFocusLostEvent ()
 
virtual void SetParent (Control *parent)
 
virtual ControlGetParent () const
 
virtual void Focus ()
 
virtual void CalculateAbsoluteLocation ()
 
virtual const Drawing::Point PointToClient (const Drawing::Point &point) const
 
virtual const Drawing::Point PointToScreen (const Drawing::Point &point) const
 
bool ProcessMouseMessage (const MouseMessage &mouse)
 
bool ProcessKeyboardMessage (KeyboardMessage &keyboard)
 
virtual void ApplyTheme (const Drawing::Theme &theme)
 

Weitere Geerbte Elemente

- Öffentliche, statische Methoden geerbt von OSHGui::Control
static Misc::AnsiString ControlTypeToString (CONTROL_TYPE controlType)
 
- Geschützte Methoden geerbt von OSHGui::Control
 Control ()
 
virtual void OnLocationChanged ()
 
virtual void OnSizeChanged ()
 
virtual void OnMouseDown (const MouseMessage &mouse)
 
virtual void OnMouseClick (const MouseMessage &mouse)
 
virtual void OnMouseUp (const MouseMessage &mouse)
 
virtual void OnMouseMove (const MouseMessage &mouse)
 
virtual void OnMouseScroll (const MouseMessage &mouse)
 
virtual void OnMouseEnter (const MouseMessage &mouse)
 
virtual void OnMouseLeave (const MouseMessage &mouse)
 
virtual void OnGotMouseCapture ()
 
virtual void OnLostMouseCapture ()
 
virtual void OnGotFocus (Control *newFocusedControl)
 
virtual void OnLostFocus (Control *newFocusedControl)
 
virtual bool OnKeyDown (const KeyboardMessage &keyboard)
 
virtual bool OnKeyPress (const KeyboardMessage &keyboard)
 
virtual bool OnKeyUp (const KeyboardMessage &keyboard)
 
- Geschützte Attribute geerbt von OSHGui::Label
Misc::TextHelper textHelper
 

Ausführliche Beschreibung

Stellt ein Label-Steuerelement dar, das Links anzeigen kann.

Beschreibung der Konstruktoren und Destruktoren

OSHGui::LinkLabel::LinkLabel ( )

Konstruktor der Klasse.

Dokumentation der Elementfunktionen

bool OSHGui::LinkLabel::Intersect ( const Drawing::Point point) const
overridevirtual

Überprüft, ob sich der Punkt innerhalb des Steuerelements befindet.

Parameter
point
Rückgabe
ja / nein

Erneute Implementation von OSHGui::Label.

void OSHGui::LinkLabel::Render ( Drawing::IRenderer renderer)
overridevirtual

Zeichnet das Steuerelement mithilfe des übergebenen IRenderers.

Parameter
renderer

Erneute Implementation von OSHGui::Label.