12 #include "vtui/AutoDialog.h"
29 LODDlg( wxWindow *parent, wxWindowID
id,
const wxString &title,
30 const wxPoint& pos = wxDefaultPosition,
31 const wxSize& size = wxDefaultSize,
32 long style = wxDEFAULT_DIALOG_STYLE );
35 wxTextCtrl* GetTileStatus() {
return (wxTextCtrl*) FindWindow( ID_TILE_STATUS ); }
36 wxSpinCtrl* GetTarget() {
return (wxSpinCtrl*) FindWindow( ID_TARGET ); }
37 wxTextCtrl* GetCurrent() {
return (wxTextCtrl*) FindWindow( ID_CURRENT ); }
38 wxPanel* GetPanel1() {
return (wxPanel*) FindWindow( ID_PANEL1 ); }
39 wxPanel* GetPanel2() {
return (wxPanel*) FindWindow( ID_PANEL2 ); }
40 wxPanel* GetPanel3() {
return (wxPanel*) FindWindow( ID_PANEL3 ); }
41 wxNotebook *GetNotebook() {
return (wxNotebook*) FindWindow( ID_NOTEBOOK ); }
43 void Refresh(
float res0,
float res,
float res1,
int target,
int count,
45 void DrawLODChart(
float res0,
float res,
float res1,
int target,
int count);
48 void SetFrame(
EnviroFrame *pFrame) { m_pFrame = pFrame; }
49 void SetPagingRange(
float fmin,
float fmax);
65 void SlidersToValues();
66 void ValuesToSliders();
70 void OnSpinTargetUp( wxSpinEvent &
event );
71 void OnSpinTargetDown( wxSpinEvent &event );
72 void OnText( wxCommandEvent &event );
73 void OnTarget( wxCommandEvent &event );
74 void OnRangeSlider( wxCommandEvent &event );
75 void OnInitDialog(wxInitDialogEvent& event);
81 #endif // __LODDlg_H__