[geany/geany-plugins] 70fa28: Update ao_colortip.c
Devyn Collier Johnson
git-noreply at xxxxx
Fri Oct 9 22:25:05 UTC 2020
Branch: refs/heads/master
Author: Devyn Collier Johnson <DevynCJohnson at Gmail.com>
Committer: GitHub <noreply at github.com>
Date: Mon, 25 May 2020 13:48:58 UTC
Commit: 70fa28de78b6d34e277a11c1a7f0368284461be5
https://github.com/geany/geany-plugins/commit/70fa28de78b6d34e277a11c1a7f0368284461be5
Log Message:
-----------
Update ao_colortip.c
Added another optional template for the color-tip
Modified Paths:
--------------
addons/src/ao_colortip.c
Modified: addons/src/ao_colortip.c
14 lines changed, 9 insertions(+), 5 deletions(-)
===================================================================
@@ -32,11 +32,15 @@ typedef struct _AoColorTipPrivate AoColorTipPrivate;
#define AO_COLORTIP_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj),\
AO_COLORTIP_TYPE, AoColorTipPrivate))
-// This is helpful for making the color-tip larger on 4K screens or for people with less acute vision
-#if (!(defined(COLOR_TIP_TEMPLATE) || defined(LARGE_COLOR_TIP)))
-# define COLOR_TIP_TEMPLATE " "
-#else
-# define COLOR_TIP_TEMPLATE " \n "
+// This is helpful for making the color-tip larger on 4K screens or for people with less acute vision
+#if (!defined(COLOR_TIP_TEMPLATE))
+# if defined(LARGE_COLOR_TIP)
+# define COLOR_TIP_TEMPLATE " \n "
+# elif defined(XLARGE_COLOR_TIP)
+# define COLOR_TIP_TEMPLATE " \n \n \n "
+# else
+# define COLOR_TIP_TEMPLATE " "
+# endif
#endif
struct _AoColorTip
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list