Mercurial > hg > forks > yadex
view src/edwidget.h @ 33:a68786b9c74b
Oops, used indent with tabs enabled. Remove tabs.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 24 Sep 2011 15:59:33 +0300 |
parents | 8eaf72e2041b |
children | e2020fcc4c51 |
line wrap: on
line source
/* * edwidget.h * The class edwidget_c from which the edisplay widget are derived. * AYM 1998-09-23 */ #ifndef YH_EDWIDGET /* DO NOT INSERT ANYTHING BEFORE THIS LINE */ #define YH_EDWIDGET class edwidget_c { public:void const unset(); void const draw(); // Draw yourself void const undraw(); // If you're drawn, undraw yourself int const can_undraw(); // Can you undraw yourself ? int const need_to_clear(); // You need to undraw yself but can't ? void const clear(); // Forget you're drawn int const req_width(); // Tell me the width you'd like to have int const req_height(); // Tell me the height you'd like 2 have void const set_x0(int x0); // This is your top left corner void const set_y0(int y0); void const set_x1(int x1); // This is your bottom right corner void const set_y1(int y1); int const get_x0(); // Tell me where's your top left corner int const get_y0(); int const get_x1(); // Tell me where's your bottom right c. int const get_y1(); }; #endif /* DO NOT ADD ANYTHING AFTER THIS LINE */