[longomatch] Increase space for categories names in OS X and Windows



commit 298eec342c1ff5502fe0f04a6d02248088189d40
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sat Aug 10 12:17:56 2013 +0200

    Increase space for categories names in OS X and Windows

 LongoMatch.GUI/Gui/Component/Stats/GameViewer.cs |    4 ++++
 configure.ac                                     |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/Stats/GameViewer.cs 
b/LongoMatch.GUI/Gui/Component/Stats/GameViewer.cs
index f588146..45411b7 100644
--- a/LongoMatch.GUI/Gui/Component/Stats/GameViewer.cs
+++ b/LongoMatch.GUI/Gui/Component/Stats/GameViewer.cs
@@ -130,6 +130,10 @@ namespace LongoMatch.Gui.Component
                        if (full < normal) {
                                full = normal;
                        }
+#if !OS_TYPE_LINUX
+                       normal = (int) (normal * 1.3);
+                       full = (int) (full * 1.3);
+#endif
                }
                
                protected void OnSubcatscheckbuttonClicked (object sender, EventArgs e)
diff --git a/configure.ac b/configure.ac
index 4cabbee..f224fa8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,19 +94,23 @@ case "$host" in
   *-*-mingw*|*-*-cygwin*)
     ostype=Windows
     AC_DEFINE(OSTYPE_WINDOWS)
+    GMCS_FLAGS="$GMCS_FLAGS -define:OS_TYPE_WINDOWS"
     ;;
   *-*-darwin*)
     AC_DEFINE(OSTYPE_OS_X)
     ostype=OS_X
+    GMCS_FLAGS="$GMCS_FLAGS -define:OS_TYPE_OS_X"
     ;;
   *-*-linux*)
     AC_DEFINE(OSTYPE_LINUX)
+    GMCS_FLAGS="$GMCS_FLAGS -define:OS_TYPE_OS_LINUX"
     ostype=Linux
     ;;
 esac
 AM_CONDITIONAL(OSTYPE_WINDOWS, test x$ostype = xWindows)
 AM_CONDITIONAL(OSTYPE_OS_X, test x$ostype = xOS_X)
 AM_CONDITIONAL(OSTYPE_LINUX, test x$ostype = xLinux)
+AC_SUBST(GMCS_FLAGS, ["$GMCS_FLAGS"])
 AC_MSG_RESULT($ostype)
 
 AM_CONDITIONAL(ENABLE_TESTS, test x = y)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]