Open Ephys GUI
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Variables
Pages
UI
InfoLabel.h
1
/*
2
------------------------------------------------------------------
3
4
This file is part of the Open Ephys GUI
5
Copyright (C) 2012 Open Ephys
6
7
------------------------------------------------------------------
8
9
This program is free software: you can redistribute it and/or modify
10
it under the terms of the GNU General Public License as published by
11
the Free Software Foundation, either version 3 of the License, or
12
(at your option) any later version.
13
14
This program is distributed in the hope that it will be useful,
15
but WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
GNU General Public License for more details.
18
19
You should have received a copy of the GNU General Public License
20
along with this program. If not, see <http://www.gnu.org/licenses/>.
21
22
*/
23
24
#ifndef __INFOLABEL_H_14DA9A62__
25
#define __INFOLABEL_H_14DA9A62__
26
27
#include "../../JuceLibraryCode/JuceHeader.h"
28
#include "../Processors/Visualization/OpenGLCanvas.h"
29
30
/**
31
32
Displays general instructions about how to use the application.
33
34
Inhabits a tab in the DataViewport.
35
36
@see UIComponent, DataViewport
37
38
*/
39
40
class
InfoLabel
:
public
OpenGLCanvas
41
42
{
43
public
:
44
InfoLabel
();
45
~
InfoLabel
();
46
void
newOpenGLContextCreated();
47
void
renderOpenGL();
48
49
private
:
50
51
int
xBuffer, yBuffer;
52
53
void
drawLabel();
54
55
int
getTotalHeight();
56
57
void
canvasWasResized();
58
59
FTSimpleLayout layout;
60
String infoString;
61
62
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (
InfoLabel
);
63
64
65
};
66
67
68
69
70
#endif // __INFOLABEL_H_14DA9A62__
Generated on Sun May 20 2012 21:23:23 for Open Ephys GUI by
1.8.1