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

NDK_XX::NDKDlgCheckButton Class Reference

#include <ndk++.h>

Inheritance diagram for NDK_XX::NDKDlgCheckButton:

NDK_XX::NDKDlgListItem NDK_XX::NDKDlgButton NDK_XX::NDKDlgLabel NDK_XX::NDKDlgControl List of all members.

Public Methods

 NDKDlgCheckButton (NDKDlgControl *parent, int id, const string &title,int lines, int cols, int y, int x,int style=tabstop|notify)
 NDKDlgCheckButton (NDKDlgControl *parent, int id, const string &title,int y, int x)

Protected Methods

void show_state (bool ref=false)
 specialized on children

int state_size () const
 specialized on children


Constructor & Destructor Documentation

NDK_XX::NDKDlgCheckButton::NDKDlgCheckButton NDKDlgControl   parent,
int    id,
const string &    title,
int    lines,
int    cols,
int    y,
int    x,
int    style = tabstop|notify
 

Definition at line 733 of file ndk++.cc.

References NDK_XX::NDKDlgControl::on_initial_update, NDK_XX::NDKDlgListItem::set_text(), and NDK_XX::NDKDlgLabel::text.

00737         :NDKDlgListItem(parent,id,title,lines,cols,y,x,style)
00738 {
00739     on_initial_update=true;
00740     set_text(text);
00741     on_initial_update=false;
00742 }

NDK_XX::NDKDlgCheckButton::NDKDlgCheckButton NDKDlgControl   parent,
int    id,
const string &    title,
int    y,
int    x
 

Definition at line 746 of file ndk++.cc.

References NDK_XX::NDKDlgControl::on_initial_update, NDK_XX::NDKDlgListItem::set_text(), and NDK_XX::NDKDlgLabel::text.

00749     :NDKDlgListItem(parent,id,title,1,title.size()+4,y,x,tabstop|notify)
00750 {
00751     on_initial_update=true;
00752     set_text(text);
00753     on_initial_update=false;
00754 }


Member Function Documentation

void NDK_XX::NDKDlgCheckButton::show_state bool    ref = false [inline, protected, virtual]
 

specialized on children

Reimplemented from NDK_XX::NDKDlgListItem.

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

00885                                     {return items[requested-top_item];}

int NDK_XX::NDKDlgCheckButton::state_size   const [inline, protected, virtual]
 

specialized on children

Reimplemented from NDK_XX::NDKDlgListItem.

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

References NDK_XX::NDKDlgListBox::items, and NDK_XX::NDKDlgListBox::top_item.

00885 {return items[requested-top_item];}


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