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

NDK_XX::NDKDlgCheckListBox Class Reference

#include <ndk++.h>

Inheritance diagram for NDK_XX::NDKDlgCheckListBox:

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

Public Methods

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

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

References NDK_XX::NDKDialogBox::changed, NDK_XX::NDKDialogBox::pBtnCancel, NDK_XX::NDKDialogBox::pBtnNo, NDK_XX::NDKDialogBox::pBtnOk, NDK_XX::NDKDialogBox::pBtnYes, and NDK_XX::NDKDialogBox::user_request.

Referenced by NDK_XX::NDKDlgListBox::set_text().

01045          :
    DECLARE_BINDINGS();


Member Function Documentation

void NDK_XX::NDKDlgCheckListBox::initialize_items   [protected]
 

Definition at line 1463 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.

Referenced by NDK_XX::NDKDlgListBox::set_text().

01464 {
01465     curr_item=top_item=bottom_item=0;
01466     for(int i=pos_y;i<maxy();i++){
01467         items.push_back(new NDKDlgCheckButton(this,-1,"",1,width()-pos_x-has_frame() ,i,pos_x));
01468     }
01469     show_empty();
01470 }


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