]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blob - tests/GUI/workplace.cc
- Agrego el dialogo de conectar
[z.facultad/75.42/plaqui.git] / tests / GUI / workplace.cc
1
2
3 #include "workplace.h"
4
5 WorkPlace::WorkPlace():Gtk::Fixed()
6 {
7 }
8
9 bool WorkPlace::on_expose_event(GdkEventExpose *e)
10 {
11         int i;
12         for(i=0; i<get_width(); i+=32) {
13                 get_window()->draw_line(get_style()->get_black_gc(), i, 0, i, get_height());
14         }
15         for(i=0; i<get_height(); i+=32) {
16                 get_window()->draw_line(get_style()->get_black_gc(), 0, i, get_width(), i);
17         }
18
19         return true;
20 }
21