

Public Member Functions | |
| switch_button (const std::string &str, panel *parent=0) | |
| void | on () | 
| void | off () | 
| void | toggle () | 
| bool | state () const | 
| virtual void | draw () | 
Protected Member Functions | |
| virtual void | do_toggle () | 
Private Member Functions | |
| event::result | at_mouse (const mouse &ev) | 
| event::result | at_keyboard (const keyboard &ev) | 
| void | draw_state () | 
| const std::string & | state_string () | 
Private Attributes | |
| bool | state_ | 
      
  | 
  ||||||||||||||||
| 
 
  | 
  
      
  | 
  ||||||||||
| 
 public, 'cause used by listbox Reimplemented from ndk::mini_button.  | 
  
      
  | 
  ||||||||||
| 
 
 Reimplemented from ndk::mini_button.  | 
  
      
  | 
  |||||||||
| 
 made as a separate function 'cause some widgets want to made update after several changes Reimplemented in ndk::radio_button.  | 
  
      
  | 
  |||||||||
| 
 draw text in the window, don't made refresh Reimplemented from ndk::label.  | 
  
      
  | 
  |||||||||
| 
 
  | 
  
      
  | 
  |||||||||
| 
 
  | 
  
      
  | 
  |||||||||
| 
 
  | 
  
      
  | 
  |||||||||
| 
 
  | 
  
      
  | 
  |||||||||
| 
 
  | 
  
      
  | 
  |||||||||
| 
 
  | 
  
      
  | 
  |||||
| 
 current state of the button Reimplemented from ndk::button.  | 
  
 
1.3.6