From b124b3d75fb16453959e15624c41d5fdaed7ad18 Mon Sep 17 00:00:00 2001 From: Kp Date: Sat, 9 May 2015 17:38:59 +0000 Subject: [PATCH] Shorten Hline/Vline --- common/include/ui.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/include/ui.h b/common/include/ui.h index 4975b1389..eeff42c30 100644 --- a/common/include/ui.h +++ b/common/include/ui.h @@ -230,6 +230,8 @@ extern grs_font_ptr ui_small_font; extern unsigned char CBLACK,CGREY,CWHITE,CBRIGHT,CRED; extern UI_GADGET * selected_gadget; +#define Hline(x1,x2,y) Hline(x1,y,x2) +#define Vline(y1,y2,x) Vline(x,y1,y2) extern void Hline(short x1, short x2, short y ); extern void Vline(short y1, short y2, short x ); extern void ui_string_centered( short x, short y, const char * s );