#include <ndk++.h>
Inheritance diagram for NDK_XX::NDKDlgButton:
Public Methods | |
NDKDlgButton (NDKDlgControl *parent, int id, const string &title,int lines, int cols, int y, int x,int style=tabstop|notify) | |
void | activate () |
Maybe these should change to set_focus/unset_focus. | |
void | deactivate () |
virtual int | action ()=0 |
void | set_default (bool t_or_f=true) |
bool | is_default () const |
Protected Methods | |
int | driver (int key) |
Protected Attributes | |
bool | default_choice |
|
Definition at line 511 of file ndk++.cc.
00515 :NDKDlgLabel(parent,id,title,lines,cols,y,x,style) 00516 { 00517 } |
|
Implemented in NDK_XX::NDKDlgPushButton, and NDK_XX::NDKDlgListItem. Referenced by driver(). |
|
Maybe these should change to set_focus/unset_focus.
Reimplemented from NDK_XX::NDKDlgLabel. Definition at line 533 of file ndk++.cc. References NDK_XX::NDKDlgLabel::set_text(), and NDK_XX::NDKDlgLabel::text. Referenced by NDK_XX::NDKDlgListBox::activate_item().
|
|
Reimplemented from NDK_XX::NDKDlgLabel. Definition at line 543 of file ndk++.cc. References NDK_XX::NDKDlgLabel::set_text(), and NDK_XX::NDKDlgLabel::text. Referenced by NDK_XX::NDKDlgListBox::deactivate_item().
|
|
get a chance at processing the key, before parent does Reimplemented from NDK_XX::NDKDlgLabel. Reimplemented in NDK_XX::NDKDlgListItem. Definition at line 521 of file ndk++.cc. References action().
00522 { 00523 int result= FALSE; 00524 switch(key) { 00525 case 10: result = action(); break; 00526 default: result = NDKDlgLabel::driver(key); break; 00527 } 00528 return result; 00529 } |
|
Definition at line 679 of file ndk++.h. References NDK_XX::NDKDlgControl::checked, NDK_XX::NDKDlgListItem::is_checked(), NDK_XX::NDKDlgControl::set_state(), and NDK_XX::NDKDlgListItem::show_state(). Referenced by NDK_XX::NDKDlgListItemData::operator=().
00679 { |
|
Definition at line 678 of file ndk++.h. Referenced by NDK_XX::NDKDlgListItem::operator=().
00679 { |
|
|