nux-1.14.0
nux::Tooltip Class Reference
Inheritance diagram for nux::Tooltip:
nux::BaseWindow nux::View nux::InputArea nux::Area nux::InitiallyUnownedObject nux::Focusable nux::Object nux::Trackable nux::Introspectable

List of all members.

Public Member Functions

 Tooltip (int x, int y, NString text)
long ProcessEvent (IEvent &iEvent, long traverseInfo, long processEventInfo)
void Draw (GraphicsEngine &gfxContext, bool forceDraw)
void DrawContent (GraphicsEngine &gfxContext, bool forceDraw)

Protected Member Functions

void PreLayoutManagement ()
long PostLayoutManagement (long layoutResult)
void PositionChildLayout (float offsetX, float offsetY)
void LayoutWindowElements ()
 Layout the window elements.
void NotifyConfigurationChange (int width, int height)

Protected Attributes

ObjectPtr< BaseTexture_texture2D
int _anchorX
int _anchorY
nux::NString _labelText
int _dpiX
int _dpiY
cairo_font_options_t * _fontOpts

Detailed Description

Definition at line 52 of file tooltip.cpp.


Member Function Documentation

void nux::Tooltip::LayoutWindowElements ( ) [protected, virtual]

Layout the window elements.

Layout elements such as button on the title bar, and the resize widget according to the current geometry of the window. Also initiate the computation of the child layout if there is one.

Reimplemented from nux::BaseWindow.

Definition at line 839 of file tooltip.cpp.

  {
  }
void nux::Tooltip::NotifyConfigurationChange ( int  Width,
int  Height 
) [protected, virtual]

Floating Area need to be informed when the main window has been resized.

Parameters:
WidthNew width of the window.
HeightNew height of the window.

Reimplemented from nux::BaseWindow.

Definition at line 844 of file tooltip.cpp.

  {
  }

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends