~neomilium/heekscnc/heeks

« back to all changes in this revision

Viewing changes to src/OutputCanvas.h

  • Committer: Dan Heeks
  • Date: 2008-07-17 14:54:00 UTC
  • Revision ID: git-v1:5b3ee80cd3c0bee835afb056556f883a80f2b6e0
Initial adding of all the HeeksCNC files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// OutputCanvas.h
 
2
 
 
3
#pragma once
 
4
 
 
5
class COutputTextCtrl: public wxTextCtrl
 
6
{
 
7
public:
 
8
    COutputTextCtrl(wxWindow *parent, wxWindowID id, const wxString &value, const wxPoint &pos, const wxSize &size, int style = 0): wxTextCtrl(parent, id, value, pos, size, style){}
 
9
};
 
10
 
 
11
class COutputCanvas: public wxScrolledWindow
 
12
{
 
13
private:
 
14
    void Resize();
 
15
 
 
16
public:
 
17
    COutputTextCtrl *m_textCtrl;
 
18
 
 
19
    COutputCanvas(wxWindow* parent);
 
20
        virtual ~COutputCanvas(){}
 
21
 
 
22
    void OnSize(wxSizeEvent& event);
 
23
 
 
24
    DECLARE_NO_COPY_CLASS(COutputCanvas)
 
25
    DECLARE_EVENT_TABLE()
 
26
};
 
27