1 #ifndef LEVELS__myWnd_EditFrontPanels_H
2 #define LEVELS__myWnd_EditFrontPanels_H
4 #include <wx/filepicker.h>
5 #include <wx/listctrl.h>
7 #include "common__modalsFrames.h"
8 #include "common__ob_controls.h"
9 #include "common__wxFrameImage.h"
10 #include "common__object_stage.h"
13 //****************************************************
14 class Panel_SceneView
;
15 //****************************************************
17 class wnd_EditFrontPanels
: public wxDialog
20 wnd_EditFrontPanels( wxWindow
* _parent
22 , ob_StageDeclaration
* _stage_declaration
23 , ob_StagesSet
* _stage_set
27 ~wnd_EditFrontPanels();
30 ob_StageDeclaration
* stage_declaration
;
31 ob_StagesSet
* stage_set
;
33 prObFileChooserCtrl
* ctrl_path
;
35 wxListBox
* listCtrl_panels
;
36 Panel_SceneView
* sceneView
;
38 void Zero_Panel_Vals();
39 void Update_Panel_Vals();
40 void Update_Panels_View();
44 ob_front_panel
** oPanels
;
45 size_t oMap_OldNew_Panels__size
;
46 ob_front_panel
**oMap_OldNew_Panels
;
48 bool b_reverted_direction
;
50 bool b_not_update_vals
; // Set to say not update vals of the current layer
54 void Check_Param_Change();
59 void Evt_OK( wxCommandEvent
& evt_menu
);
60 void Evt_Cancel( wxCommandEvent
& evt_menu
);
62 void Evt_ParamFocusOut( wxFocusEvent
& dummy
);
63 void Evt_SelectedChange( wxCommandEvent
& evt_menu
);
64 void Evt_MoveUp( wxCommandEvent
& evt_menu
);
65 void Evt_MoveDown( wxCommandEvent
& evt_menu
);
66 void Evt_New( wxCommandEvent
& evt_menu
);
67 void Evt_Delete( wxCommandEvent
& evt_menu
);
69 void Evt_ParamChange( wxCommandEvent
& evt_menu
);
71 void EvtActivate( wxActivateEvent
& evt
);
72 void EvtClose( wxCloseEvent
& evt
);
73 void EvtResize( wxSizeEvent
& evt
);
80 #endif //LEVELS__myWnd_EditFrontPanels_H