#include <ndk++.h>
Inheritance diagram for NDK_XX::NDKDlgSelectionBox:
Public Methods | |
NDKDlgSelectionBox (NDKDlgControl *parent, int id, const string &title,int lines, int cols, int y, int x,int style=tabstop|framed|notify) | |
Protected Methods | |
void | initialize_items () |
|
Definition at line 1005 of file ndk++.h.
01012 : 01013 ///Allow children to touch our stuff friend NDKDlgControl; |
|
Definition at line 1449 of file ndk++.cc. References NDK_XX::NDKDlgListBox::bottom_item, NDK_XX::NDKDlgListBox::curr_item, NDK_XX::NDKDlgControl::has_frame(), NDK_XX::NDKDlgListBox::items, NDK_XX::NDKDlgListBox::NDKDlgListItem, NDK_XX::NDKDlgListBox::pos_x, NDK_XX::NDKDlgListBox::pos_y, NDK_XX::NDKDlgListBox::show_empty(), and NDK_XX::NDKDlgListBox::top_item.
01450 { 01451 curr_item=top_item=bottom_item=0; 01452 for(int i=pos_y;i<maxy();i++){ 01453 items.push_back(new NDKDlgListItem(this,-1,"",1,width()-pos_x-has_frame() ,i,pos_x)); 01454 } 01455 show_empty(); 01456 } |