Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

NDK_XX::NDKDlgSelectionBox Class Reference

#include <ndk++.h>

Inheritance diagram for NDK_XX::NDKDlgSelectionBox:

NDK_XX::NDKDlgListBox NDK_XX::NDKDlgControl List of all members.

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 ()

Constructor & Destructor Documentation

NDK_XX::NDKDlgSelectionBox::NDKDlgSelectionBox NDKDlgControl   parent,
int    id,
const string &    title,
int    lines,
int    cols,
int    y,
int    x,
int    style = tabstop|framed|notify
[inline]
 

Definition at line 1005 of file ndk++.h.

01012          :
01013     ///Allow children to touch our stuff
    friend NDKDlgControl;


Member Function Documentation

void NDK_XX::NDKDlgSelectionBox::initialize_items   [protected]
 

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 }


The documentation for this class was generated from the following files:
Generated on Tue Aug 27 10:49:47 2002 by doxygen1.2.17