OSDN Git Service
(root)
/
psychlops
/
cpp_document.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
hk
[psychlops/cpp_document.git]
/
Psychlops.manual
/
sample_cpp_file
/
2��
/
2.2.3_�l�p�`�̕`��2.cpp
1
#include <psychlops.h>
2
using namespace Psychlops;
3
4
Psychlops::Rectangle rect1;
5
6
void psychlops_main() {
7
8
Canvas sampleA(Canvas::fullscreen);
9
rect1.set(50,100,100,150);
10
sampleA.rect(rect1,Color::yellow);
11
sampleA.flip();
12
while(!Input::get(Keyboard::spc));
13
}