Darwin
1.10(beta)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
projects
gui
drwnTextEditor.h
1
/*****************************************************************************
2
** DARWIN: A FRAMEWORK FOR MACHINE LEARNING RESEARCH AND DEVELOPMENT
3
** Distributed under the terms of the BSD license (see the LICENSE file)
4
** Copyright (c) 2007-2015, Stephen Gould
5
** All rights reserved.
6
**
7
******************************************************************************
8
** FILENAME: drwnTextEditor.h
9
** AUTHOR(S): Stephen Gould <stephen.gould@anu.edu.au>
10
** DESCRIPTION:
11
** Generic text editor GUI.
12
**
13
*****************************************************************************/
14
15
#pragma once
16
17
// wxWidgets
18
#include "wx/wx.h"
19
#include "wx/utils.h"
20
#include "wx/dialog.h"
21
#include "wx/textctrl.h"
22
23
using namespace
std;
24
25
// drwnTextEditor ------------------------------------------------------------
26
27
class
drwnTextEditor
:
public
wxDialog {
28
protected
:
29
wxTextCtrl *_text;
30
31
public
:
32
drwnTextEditor
(wxWindow *parent,
const
char
*title,
bool
bReadOnly =
true
);
33
virtual
~
drwnTextEditor
();
34
35
// i/o
36
void
clear();
37
void
addLine();
38
void
addLine(
const
char
*str,
bool
bBold =
false
);
39
};
drwnTextEditor
Definition:
drwnTextEditor.h:27
Generated on Tue Sep 8 2015 14:44:12 for Darwin by
1.8.6