2 //=============================================================================
6 * @author Carlos O'Ryan
8 //=============================================================================
11 #ifndef TAO_FL_SERVER_TEST_I_H
12 #define TAO_FL_SERVER_TEST_I_H
16 #include <FL/Fl_Gl_Window.H>
19 class Simple_Window
: public Fl_Gl_Window
23 Simple_Window (int x
, int y
, int w
, int h
,
26 void set_x_angle (CORBA::Long x
);
27 void set_y_angle (CORBA::Long y
);
30 /// from the Fl_Gl_Window...
33 virtual void draw_cube ();
39 /// The vertices of the cube
40 float boxv0
[3]; float boxv1
[3];
41 float boxv2
[3]; float boxv3
[3];
42 float boxv4
[3]; float boxv5
[3];
43 float boxv6
[3]; float boxv7
[3];
47 * @class Simple_Server_i
49 * @brief Simpler Server implementation
51 * Implements the Simple_Server interface in test.idl
53 class Simple_Server_i
: public POA_Simple_Server
57 Simple_Server_i (CORBA::ORB_ptr orb
,
58 Simple_Window
* window
);
60 // = The Simple_Server methods.
61 void set_x_angle (CORBA::Long x
);
62 void set_y_angle (CORBA::Long y
);
69 /// Display the graphics...
70 Simple_Window
* window_
;
73 #endif /* TAO_FL_SERVER_TEST_I_H */