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

NDK_XX::NDKDlgChoiceBox Class Reference

#include <ndk++.h>

Inheritance diagram for NDK_XX::NDKDlgChoiceBox:

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

Public Methods

 NDKDlgChoiceBox (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::NDKDlgChoiceBox::NDKDlgChoiceBox NDKDlgControl   parent,
int    id,
const string &    title,
int    lines,
int    cols,
int    y,
int    x,
int    style = tabstop|framed|notify
[inline]
 

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

01049                               {}
01050         
01051     ///called at the end of the modal loop
01052     virtual void on_dlg_term(){ }
01053     
01054     ///called if user presses one of the 'exits' 
01055     virtual bool can_close();
01056     
01057     ///called when the user enters a control


Member Function Documentation

void NDK_XX::NDKDlgChoiceBox::initialize_items   [protected]
 

Definition at line 1477 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::pos_x, NDK_XX::NDKDlgListBox::pos_y, NDK_XX::NDKDlgListBox::show_empty(), and NDK_XX::NDKDlgListBox::top_item.

01478 {
01479     curr_item=top_item=bottom_item=0;
01480     for(int i=pos_y;i<maxy();i++){
01481         items.push_back(new NDKDlgRadioButton(this,-1,"",1,width()-pos_x-has_frame() ,i,pos_x));
01482     }
01483     show_empty();
01484 }


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