Mercurial > hg > Members > kono > Cerium
annotate Renderer/Test/aquarium.h @ 868:58b4fb8ad77c
[aquarium]: update screen scope on linda with protobuf
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Jun 2010 16:10:28 +0900 |
parents | c26aa4e52258 |
children | 157f2ffeb526 |
rev | line source |
---|---|
858 | 1 #include <math.h> |
2 #include <stdlib.h> | |
3 #include "SceneGraphRoot.h" | |
4 #include "Application.h" | |
5 #include "MainLoop.h" | |
859 | 6 typedef struct { |
7 const char *hostname; | |
8 int port; | |
9 } linda_t; | |
858 | 10 |
11 class aquarium : public Application { | |
12 public: | |
859 | 13 static linda_t linda_addr; |
14 static int linda; | |
863 | 15 static int serial_id; |
868
58b4fb8ad77c
[aquarium]: update screen scope on linda with protobuf
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
863
diff
changeset
|
16 static int start_x; |
58b4fb8ad77c
[aquarium]: update screen scope on linda with protobuf
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
863
diff
changeset
|
17 static int width; |
859 | 18 static void linda_connect(); |
868
58b4fb8ad77c
[aquarium]: update screen scope on linda with protobuf
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
863
diff
changeset
|
19 static void update_screen_scope(); |
858 | 20 MainLoopPtr init(Viewer *viewer, int screen_w, int screen_h); |
21 }; |