1 /////////////////////////////////////////////////////////////////////////////
2 // Purpose: XML resources editor
3 // Author: Vaclav Slavik
6 // Copyright: (c) 2000 Vaclav Slavik
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #pragma interface "preview.h"
19 class WXDLLEXPORT wxXmlNode
;
20 class WXDLLEXPORT wxScrolledWindow
;
21 class WXDLLEXPORT wxTextCtrl
;
22 class WXDLLEXPORT wxSplitterWindow
;
23 class WXDLLEXPORT wxXmlResource
;
24 class WXDLLEXPORT wxXmlDocument
;
28 class PreviewFrame
: public wxFrame
34 void Preview(wxXmlNode
*node
);
36 // current node updated, needs preview refresh
37 // (will be done once mouse enters preview win)
39 static PreviewFrame
*Get();
43 void PreviewToolbar();
47 static PreviewFrame
*ms_Instance
;
49 wxScrolledWindow
*m_ScrollWin
;
50 wxTextCtrl
*m_LogCtrl
;
51 wxSplitterWindow
*m_Splitter
;
59 void OnMouseEnter(wxMouseEvent
& event
);