Mercurial > MadButterfly
diff src/mbaf/mbbutton.c @ 822:586e50f82c1f
Unify coding style tag for emacs and vim.
author | Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com> |
---|---|
date | Tue, 14 Sep 2010 01:08:39 +0800 |
parents | 26c302b47de1 |
children | dffecd62817c |
line wrap: on
line diff
--- a/src/mbaf/mbbutton.c Tue Sep 14 00:25:44 2010 +0800 +++ b/src/mbaf/mbbutton.c Tue Sep 14 01:08:39 2010 +0800 @@ -1,3 +1,5 @@ +// -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*- +// vim: sw=4:ts=8:sts=4 #include <stdio.h> #include <mb.h> @@ -24,16 +26,16 @@ rdman_redraw_changed(btn->rdman); } -static void mb_button_move(event_t *evt, void *arg) +static void mb_button_move(event_t *evt, void *arg) { mb_button_t *btn = (mb_button_t *) arg; - + printf("Mouse move\n"); coord_show(btn->active); mb_button_refresh(btn); } -static void mb_button_out(event_t *evt, void *arg) +static void mb_button_out(event_t *evt, void *arg) { mb_button_t *btn = (mb_button_t *) arg; @@ -61,7 +63,7 @@ mb_button_t *btn = (mb_button_t *) arg; btn->progm = NULL; - + } static void mb_button_pressed(event_t *evt, void *arg)