libt3widget
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules
List of all members | Public Member Functions
t3_widget::bad_draw_recheck_t Class Referenceabstract

Base class for widgets that need handle user text and draw differently based on the t3_win_can_draw function. More...

Inheritance diagram for t3_widget::bad_draw_recheck_t:
t3_widget::edit_window_t t3_widget::text_field_t

Public Member Functions

virtual void bad_draw_recheck (void)=0
 Function called on reception of the terminal_settings_changed signal. More...
 
 bad_draw_recheck_t (void)
 Base constructor. More...
 
virtual ~bad_draw_recheck_t (void)
 Base destructor. More...
 

Detailed Description

Base class for widgets that need handle user text and draw differently based on the t3_win_can_draw function.

The terminal capability detection code in libt3window may indicate that the terminal is or is not capable of drawing some characters that were believed to be (un)drawable based on the setting of LANG alone. This means that any attributes based on the t3_win_can_draw function need to be recalculated. Any widgets implementing this interface will be automatically signalled when the terminal capability detection is complete.

Constructor & Destructor Documentation

t3_widget::bad_draw_recheck_t::bad_draw_recheck_t ( void  )

Base constructor.

Automatically adds this object to the list of objects to signal.

t3_widget::bad_draw_recheck_t::~bad_draw_recheck_t ( void  )
virtual

Base destructor.

Member Function Documentation

virtual void t3_widget::bad_draw_recheck_t::bad_draw_recheck ( void  )
pure virtual

Function called on reception of the terminal_settings_changed signal.

Implemented in t3_widget::edit_window_t, and t3_widget::text_field_t.