#include <ndk_demo.h>
Inheritance diagram for TabbedDlgBox:
Public Methods | |
TabbedDlgBox (int id, int lines, int cols, int y, int x) | |
Protected Methods | |
void | on_dlg_init () |
|
Definition at line 234 of file ndk_demo.cc.
00236 : PropertyDialog(id,"Tabbed Dialog",lines,cols,y,x) 00237 { 00238 } |
|
we override this to add adornments to the window Reimplemented from NDK_XX::PropertyDialog. Definition at line 242 of file ndk_demo.cc. References NDK_XX::PropertyDialog::add_page(), and NDK_XX::PropertyDialog::pages.
00243 { 00244 add_page(new TabbedDlgPage1(this,pages.size()," Tab1 ",height()-4,width(),2,0)); 00245 add_page(new TabbedDlgPage2(this,pages.size()," Tab2 ",height()-4,width(),2,0)); 00246 add_page(new PropertyPage(this,pages.size()," Tab3 ",height()-4,width(),2,0)); 00247 add_page(new PropertyPage(this,pages.size()," Tab4 ",height()-4,width(),2,0)); 00248 00249 PropertyDialog::on_dlg_init(); 00250 } |