repo.or.cz
/
cinelerra_cv
/
ct.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
r878: This is Cinelerra 2.1.
[cinelerra_cv/ct.git]
/
guicast
/
test3.C
blob
94a86f7d390dc00648f31923d13a5866a69b0459
1
#include "bcsignals.h"
2
#include "guicast.h"
3
4
5
6
7
class TestWindow : public BC_Window
8
{
9
public:
10
TestWindow() : BC_Window("Test",
11
0,
12
0,
13
320,
14
240)
15
{
16
};
17
18
void create_objects()
19
{
20
set_color(BLACK);
21
set_font(LARGEFONT);
22
draw_text(10, 50, "Hello world");
23
flash();
24
flush();
25
};
26
};
27
28
29
int main()
30
{
31
new BC_Signals;
32
TestWindow window;
33
window.create_objects();
34
window.run_window();
35
}