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

A button that highlights on mouse over. More...

#include <tipwin.hh>

Public Member Functions

 CustButton (int x, int y, int w, int h, const char *l=0)
 A Light Button sharing a custom tooltip window.
 
virtual int handle (int e)
 
void hl_color (Fl_Color col)
 
- Public Member Functions inherited from TipWinButton
 TipWinButton (int x, int y, int w, int h, const char *l=0)
 A Button sharing a custom tooltip window.
 
 ~TipWinButton ()
 
void set_tooltip (const char *s)
 

Private Attributes

Fl_Color norm_color
 
Fl_Color light_color
 

Detailed Description

A button that highlights on mouse over.

Definition at line 49 of file tipwin.hh.

Constructor & Destructor Documentation

◆ CustButton()

CustButton::CustButton ( int  x,
int  y,
int  w,
int  h,
const char *  l = 0 
)

A Light Button sharing a custom tooltip window.

Definition at line 174 of file tipwin.cc.

References light_color, norm_color, and PREFS_UI_BUTTON_HIGHLIGHT_COLOR.

Member Function Documentation

◆ handle()

int CustButton::handle ( int  e)
virtual

Reimplemented from TipWinButton.

Definition at line 181 of file tipwin.cc.

References TipWinButton::handle(), light_color, and norm_color.

◆ hl_color()

void CustButton::hl_color ( Fl_Color  col)

Definition at line 198 of file tipwin.cc.

References light_color.

Member Data Documentation

◆ light_color

Fl_Color CustButton::light_color
private

Definition at line 50 of file tipwin.hh.

Referenced by CustButton(), handle(), and hl_color().

◆ norm_color

Fl_Color CustButton::norm_color
private

Definition at line 50 of file tipwin.hh.

Referenced by CustButton(), and handle().


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