From e96f9f3869c6ea5803f5759bf1737547a46be22f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 19 Jul 2021 11:32:34 +0200 Subject: Change function declaration style This is a very sweeping change, but I feel that it is necessary. --- src/button.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'src/button.c') diff --git a/src/button.c b/src/button.c index 0d62742..ca40644 100644 --- a/src/button.c +++ b/src/button.c @@ -16,7 +16,9 @@ static void GetScaledIconSize(IconNode *ip, int maxsize, /*************************************************************************** ***************************************************************************/ -void DrawButton(ButtonNode *bp) { +void +DrawButton(ButtonNode *bp) +{ long outlinePixel; long topPixel, bottomPixel; @@ -161,7 +163,9 @@ void DrawButton(ButtonNode *bp) { /*************************************************************************** ***************************************************************************/ -void ResetButton(ButtonNode *bp, Drawable d, GC g) { +void +ResetButton(ButtonNode *bp, Drawable d, GC g) +{ Assert(bp); @@ -181,8 +185,10 @@ void ResetButton(ButtonNode *bp, Drawable d, GC g) { /*************************************************************************** ***************************************************************************/ -void GetScaledIconSize(IconNode *ip, int maxsize, - int *width, int *height) { +void +GetScaledIconSize(IconNode *ip, int maxsize, + int *width, int *height) +{ double ratio; -- cgit v1.2.3