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

NvizFrame Class Reference

#include <nviz3d.h>

Collaboration diagram for NvizFrame:

Collaboration graph
[legend]
List of all members.

Public Methods

 NvizFrame (wxFrame *frame, const wxString &title, const wxPoint &pos, const wxSize &size, long style=wxDEFAULT_FRAME_STYLE)
void OnExit (wxCommandEvent &event)
void OnSettings (wxCommandEvent &event)

Public Attributes

Nviz3DCanvasglc_nvizcanvas

Constructor & Destructor Documentation

NvizFrame::NvizFrame wxFrame *    frame,
const wxString &    title,
const wxPoint &    pos,
const wxSize &    size,
long    style = wxDEFAULT_FRAME_STYLE
 

Definition at line 260 of file nviz3d.cpp.

References glc_nvizcanvas.

00262                      : wxFrame(frame, -1, title, pos, size, style)
00263 {
00264     glc_nvizcanvas = NULL;
00265 }


Member Function Documentation

void NvizFrame::OnExit wxCommandEvent &    event
 

Definition at line 268 of file nviz3d.cpp.

00269 {
00270     Destroy();
00271 }

void NvizFrame::OnSettings wxCommandEvent &    event
 

Definition at line 273 of file nviz3d.cpp.

References drag_scale_x, drag_scale_y, txt_drag_scale_x, and txt_drag_scale_y.

00274 {
00275     wxDialog *dlg_settings = new wxDialog(this, -1, "Settings", wxPoint(100,100), wxSize(200,300));
00276     wxStaticText *stc_drag_scale_x;
00277     stc_drag_scale_x = new wxStaticText(dlg_settings, -1, "X Dragging Scale", wxPoint(10,10));
00278     wxStaticText *stc_drag_scale_y;
00279     stc_drag_scale_y = new wxStaticText(dlg_settings, -1, "Y Dragging Scale", wxPoint(10,30));
00280     txt_drag_scale_x = new wxTextCtrl(dlg_settings, drag_scale_x, "0.01", wxPoint(50, 10));
00281     txt_drag_scale_y = new wxTextCtrl(dlg_settings, drag_scale_y, "0.01", wxPoint(50, 30));
00282     dlg_settings->Show();
00283 }


Member Data Documentation

Nviz3DCanvas* NvizFrame::glc_nvizcanvas
 

Definition at line 70 of file nviz3d.h.

Referenced by NvizFrame, and Nviz3DApp::OnInit.


The documentation for this class was generated from the following files:
Generated on Mon Jun 9 19:13:27 2003 for NeReK Documentation by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002