]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blob - tests/GUI/workplace.cc
Agregue un intento de dibujar la grilla sobre el fondo, creando una clase
[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
16         return true;
17 }
18