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

NDK_XX::NDKDlgRadioButton Class Reference

#include <ndk++.h>

Inheritance diagram for NDK_XX::NDKDlgRadioButton:

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

Public Methods

 NDKDlgRadioButton (NDKDlgControl *parent, int id, const string &title,int lines, int cols, int y, int x,int style=tabstop|notify)
 NDKDlgRadioButton (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::NDKDlgRadioButton::NDKDlgRadioButton NDKDlgControl   parent,
int    id,
const string &    title,
int    lines,
int    cols,
int    y,
int    x,
int    style = tabstop|notify
 

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

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

00709     :NDKDlgListItem(parent,id,title,lines,cols,y,x,style)
00710 {   
00711     on_initial_update=true;
00712     set_text(text);
00713     on_initial_update=false;
00714 }

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

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

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

00721     :NDKDlgListItem(parent,id,title,1,title.size()+4,y,x,tabstop|notify)
00722 {
00723     on_initial_update=true;
00724     set_text(text);
00725     on_initial_update=false;
00726 }


Member Function Documentation

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

specialized on children

Reimplemented from NDK_XX::NDKDlgListItem.

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

References NDK_XX::NDKDlgListBox::_title, NDK_XX::NDKDlgListBox::curr_item, NDK_XX::NDKDlgListBox::data, NDK_XX::NDKDlgListBox::items, NDK_XX::ListItems, NDK_XX::NDKDlgListBox::pos_x, NDK_XX::NDKDlgListBox::pos_y, NDK_XX::NDKDlgListBox::top_item, and NDK_XX::VisibleItems.

00885                                     {return items[requested-top_item];}

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

specialized on children

Reimplemented from NDK_XX::NDKDlgListItem.

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

References NDK_XX::NDKDlgListBox::bottom_item, and NDK_XX::NDKDlgListBox::cur_sel.

00885 {return items[requested-top_item];}


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