[chronojump] New config for LowHeight devices (<500 px)



commit 29e609d4a72d0f85b3b7796f4198dbc2c0f673dc
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Feb 25 14:55:42 2021 +0100

    New config for LowHeight devices (<500 px)

 src/config.cs | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/config.cs b/src/config.cs
index e143654d..07103ca2 100644
--- a/src/config.cs
+++ b/src/config.cs
@@ -57,6 +57,7 @@ public class Config
        public bool Exhibition; //like YOMO. does not have rfid capture, user autologout management, and 
automatic configuration of gui
        public ExhibitionTest.testTypes ExhibitionStationType;
        public bool Raspberry;
+       public bool LowHeight; //devices with less than 500 px vertical, like Odroid Go Super
        public bool GuiTest;
        /*
         * unused because the default serverURL chronojump.org is ok:
@@ -137,6 +138,8 @@ public class Config
                                                */
                                        else if(parts[0] == "Raspberry" && Util.StringToBool(parts[1])) 
//Raspberry: small screens, could be networks or not. They are usually disconnected by cable removal, so do 
not show send log at start
                                                Raspberry = true;
+                                       else if(parts[0] == "LowHeight" && Util.StringToBool(parts[1]))
+                                               LowHeight = true;
                                        else if(parts[0] == "GuiTest" && Util.StringToBool(parts[1]))
                                                GuiTest = true;
                                } while(true);


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