Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ndk::frame Class Reference

Inheritance diagram for ndk::frame:

Inheritance graph
[legend]
Collaboration diagram for ndk::frame:

Collaboration graph
[legend]
List of all members.

Public Types

enum  style { raised, sunken }

Public Member Functions

 frame (panel *parent=0, style st=raised)
virtual void draw ()
virtual int padding () const

Private Attributes

style style_

Detailed Description

special version of panel with frame around it's borders you can use it for design widgets Packer class safely work with this frame.


Member Enumeration Documentation

enum ndk::frame::style
 

possible types of the frame

Enumeration values:
raised  raised frame
sunken  concave fame


Constructor & Destructor Documentation

ndk::frame::frame panel parent = 0,
style  st = raised
 

See also:
NCurses::Panel for details


Member Function Documentation

void ndk::frame::draw  )  [virtual]
 

draw frame on the panel

Reimplemented from ndk::panel.

Reimplemented in ndk::dialog_box< Main >, and ndk::dialog_box< T >.

int ndk::frame::padding  )  const [virtual]
 

drawing area are smaller now

Reimplemented from ndk::panel.


Member Data Documentation

style ndk::frame::style_ [private]
 

frame style


The documentation for this class was generated from the following files:
Generated on Fri Jun 4 16:20:56 2004 for NDK++ by doxygen 1.3.6