Dillo v3.1.1-46-g8a360e32
Loading...
Searching...
No Matches
TipWin Class Reference

Custom tooltip window. More...

#include <tipwin.hh>

Public Member Functions

 TipWin ()
 Custom tooltip window.
 
void draw ()
 
void value (const char *s)
 
void do_show (void *wid)
 
void do_hide ()
 
void recent_tooltip (int val)
 
void cancel (void *wid)
 

Private Attributes

char tip [256]
 
int bgcolor
 
int recent
 
void * cur_widget
 

Detailed Description

Custom tooltip window.

Definition at line 12 of file tipwin.hh.

Constructor & Destructor Documentation

◆ TipWin()

TipWin::TipWin ( )

Custom tooltip window.

Definition at line 41 of file tipwin.cc.

References bgcolor, cur_widget, recent, and tip.

Member Function Documentation

◆ cancel()

void TipWin::cancel ( void *  wid)
inline

Definition at line 24 of file tipwin.hh.

References cur_widget, and do_hide().

Referenced by TipWinButton::~TipWinButton(), and TipWinInput::~TipWinInput().

◆ do_hide()

void TipWin::do_hide ( )

Definition at line 80 of file tipwin.cc.

References recent, recent_timeout(), and show_timeout().

Referenced by cancel(), TipWinButton::handle(), and TipWinInput::handle().

◆ do_show()

void TipWin::do_show ( void *  wid)

Definition at line 73 of file tipwin.cc.

References cur_widget, prefs, recent, show_timeout(), and DilloPrefs::show_ui_tooltip.

Referenced by TipWinButton::handle(), and TipWinInput::handle().

◆ draw()

void TipWin::draw ( )

Definition at line 51 of file tipwin.cc.

References bgcolor, and tip.

◆ recent_tooltip()

void TipWin::recent_tooltip ( int  val)

Definition at line 89 of file tipwin.cc.

References recent.

Referenced by recent_timeout(), and show_timeout().

◆ value()

void TipWin::value ( const char *  s)

Definition at line 61 of file tipwin.cc.

References H, and tip.

Referenced by TipWinButton::handle(), and TipWinInput::handle().

Member Data Documentation

◆ bgcolor

int TipWin::bgcolor
private

Definition at line 14 of file tipwin.hh.

Referenced by draw(), and TipWin().

◆ cur_widget

void* TipWin::cur_widget
private

Definition at line 15 of file tipwin.hh.

Referenced by cancel(), do_show(), and TipWin().

◆ recent

int TipWin::recent
private

Definition at line 14 of file tipwin.hh.

Referenced by do_hide(), do_show(), recent_tooltip(), and TipWin().

◆ tip

char TipWin::tip[256]
private

Definition at line 13 of file tipwin.hh.

Referenced by draw(), TipWin(), and value().


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