X-Git-Url: https://rtime.felk.cvut.cz/gitweb/l4.git/blobdiff_plain/8fe9942cde59835eb3c3c6936d866dd3305582ef..003b628647705666de261350195da72a38f2c4d2:/l4/pkg/l4con/include/l4con.h diff --git a/l4/pkg/l4con/include/l4con.h b/l4/pkg/l4con/include/l4con.h index 4285da988..5e95f85cf 100644 --- a/l4/pkg/l4con/include/l4con.h +++ b/l4/pkg/l4con/include/l4con.h @@ -125,17 +125,33 @@ #include #include +#include class L4con : public L4::Kobject_t { public: - class L4con_ { - public: - enum Opcodes { - Close, Pslim_fill, Pslim_copy, Puts, Puts_scale, Get_font_size - }; - }; - long close() const throw(); + L4_INLINE_RPC(long, close, ()); + + L4_INLINE_RPC(long, pslim_fill, (int x, int y, int w, int h, + l4con_pslim_color_t color)); + + L4_INLINE_RPC(long, pslim_copy, (int x, int y, int w, int h, + l4_int16_t dx, l4_int16_t dy)); + + L4_INLINE_RPC(long, puts, (short x, short y, l4con_pslim_color_t fg_color, + l4con_pslim_color_t bg_color, + L4::Ipc::String text)); + + L4_INLINE_RPC(long, puts_scale, (short x, short y, + l4con_pslim_color_t fg_color, + l4con_pslim_color_t bg_color, + short scale_x, short scale_y, + L4::Ipc::String text)); + L4_INLINE_RPC(long, get_font_size, (short *w, short *h)); + + + typedef L4::Typeid::Rpcs Rpcs; }; #endif