From: ayin Date: Sat, 5 Jan 2008 12:19:34 +0000 (+0000) Subject: Name scrollbar struct and remove typedef. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=3790029b57d7dcc9831b8737a5d98b5d287a931c;p=dana%2Furxvt.git Name scrollbar struct and remove typedef. --- diff --git a/src/scrollbar.h b/src/scrollbar.h index 59afc3df..e23dd323 100644 --- a/src/scrollbar.h +++ b/src/scrollbar.h @@ -5,7 +5,7 @@ struct rxvt_term; -typedef struct { +struct scrollBar_t { char state; /* scrollbar state */ char init; /* scrollbar has been initialised */ unsigned int beg; /* slider sub-window begin height */ @@ -28,7 +28,7 @@ typedef struct { void setMotion() { state = 'm'; } void setUp() { state = 'U'; } void setDn() { state = 'D'; } -} scrollBar_t; +}; #define scrollbar_TotalWidth() (scrollBar.width + scrollBar.shadow * 2) #define scrollbar_isMotion() (scrollBar.state == 'm')