comparison cagou/core/cagou_main.py @ 131:36fc269e2a32

core: changed default background color to white
author Goffi <goffi@goffi.org>
date Fri, 06 Apr 2018 16:12:58 +0200
parents 0ec3c3c0ed92
children 8a0019ce3632
comparison
equal deleted inserted replaced
130:0ec3c3c0ed92 131:36fc269e2a32
62 import glob 62 import glob
63 import cagou.plugins 63 import cagou.plugins
64 import cagou.kv 64 import cagou.kv
65 from kivy import utils as kivy_utils 65 from kivy import utils as kivy_utils
66 import sys 66 import sys
67 from kivy.core.window import Window
68
69 # we want white background by default
70 Window.clearcolor = (1, 1, 1, 1)
71
72
67 if kivy_utils.platform == "android": 73 if kivy_utils.platform == "android":
68 # FIXME: move to separate android module 74 # FIXME: move to separate android module
69 kivy.support.install_android() 75 kivy.support.install_android()
70 # sys.platform is "linux" on android by default 76 # sys.platform is "linux" on android by default
71 # so we change it to allow backend to detect android 77 # so we change it to allow backend to detect android