dillo  3.0.5
About: dillo is a small, fast, extensible Web browser particularly suitable for older or smaller computers and embedded systems (but only limited or no support for frames, CSS, JavaScript, Java).
  Fossies Dox: dillo-3.0.5.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

dw::core::style::Tooltip Class Reference

#include <style.hh>

Inheritance diagram for dw::core::style::Tooltip:
[legend]
Collaboration diagram for dw::core::style::Tooltip:
[legend]

Public Member Functions

void ref ()
 
void unref ()
 
virtual void onEnter ()
 
virtual void onLeave ()
 
virtual void onMotion ()
 
- Public Member Functions inherited from dw::core::style::TooltipAttrs
 TooltipAttrs (const char *text)
 
- Public Member Functions inherited from lout::object::String
 String (const char *str)
 
 ~String ()
 
- Public Member Functions inherited from lout::object::ConstString
 ConstString (const char *str)
 
bool equals (Object *other)
 Returns, whether two objects are equal. More...
 
int hashValue ()
 Return a hash value for the object. More...
 
int compareTo (Comparable *other)
 Compare two objects c1 and c2. More...
 
void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer. More...
 
const char * chars ()
 
- Public Member Functions inherited from lout::object::Object
virtual ~Object ()
 The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly. More...
 
virtual Objectclone ()
 Return an exact copy of the object. More...
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object. More...
 
virtual size_t sizeOf ()
 Return the number of bytes, this object totally uses. More...
 

Static Public Member Functions

static Tooltipcreate (dw::core::Layout *layout, const char *text)
 
- Static Public Member Functions inherited from lout::object::ConstString
static int hashValue (const char *str)
 
- Static Public Member Functions inherited from lout::object::Comparable
static int compareFun (const void *p1, const void *p2)
 This static method may be used as compare function for qsort(3) and bsearch(3), for an array of Object* (Object*[] or Object**). More...
 

Protected Member Functions

 Tooltip (const char *text)
 

Private Attributes

int refCount
 

Additional Inherited Members

- Protected Attributes inherited from lout::object::ConstString
const char * str
 

Detailed Description

See also
dw::core::style

Definition at line 615 of file style.hh.

Constructor & Destructor Documentation

◆ Tooltip()

dw::core::style::Tooltip::Tooltip ( const char *  text)
inlineprotected

Definition at line 621 of file style.hh.

References refCount.

Member Function Documentation

◆ create()

Tooltip * dw::core::style::Tooltip::create ( dw::core::Layout layout,
const char *  text 
)
static

Definition at line 484 of file style.cc.

References dw::core::Layout::createTooltip().

◆ onEnter()

virtual void dw::core::style::Tooltip::onEnter ( )
inlinevirtual

Reimplemented in dw::fltk::FltkTooltip.

Definition at line 629 of file style.hh.

Referenced by dw::core::Widget::enterNotifyImpl(), and dw::Textblock::motionNotifyImpl().

◆ onLeave()

virtual void dw::core::style::Tooltip::onLeave ( )
inlinevirtual

◆ onMotion()

virtual void dw::core::style::Tooltip::onMotion ( )
inlinevirtual

Reimplemented in dw::fltk::FltkTooltip.

Definition at line 631 of file style.hh.

Referenced by dw::Textblock::motionNotifyImpl().

◆ ref()

void dw::core::style::Tooltip::ref ( )
inline

Definition at line 625 of file style.hh.

References refCount.

◆ unref()

void dw::core::style::Tooltip::unref ( )
inline

Definition at line 626 of file style.hh.

References refCount.

Referenced by dw::core::style::StyleImage::StyleImgRenderer::setBuffer().

Member Data Documentation

◆ refCount

int dw::core::style::Tooltip::refCount
private

Definition at line 618 of file style.hh.

Referenced by ref(), Tooltip(), and unref().


The documentation for this class was generated from the following files: