From cda47a41f4fd06cc06f94eec1451fac33e423ade Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 09 Mar 2007 10:22:51 +0000 Subject: Implement ToggleIconButton --- (limited to 'sugar/graphics/color.py') diff --git a/sugar/graphics/color.py b/sugar/graphics/color.py index 068aa16..1aa0b91 100644 --- a/sugar/graphics/color.py +++ b/sugar/graphics/color.py @@ -21,7 +21,8 @@ _system_colors = { 'button-hover' : '#808080', 'button-background-hover' : '#000000', 'icon-stroke-inactive' : '#757575', - 'icon-fill-inactive' : '#9D9FA1' + 'icon-fill-inactive' : '#9D9FA1', + 'toggle-button-background' : '#A1A5A8' } def _html_to_rgb(html_color): @@ -100,3 +101,4 @@ BUTTON_HOVER = SystemColor('button-hover') BUTTON_BACKGROUND_HOVER = SystemColor('button-background-hover') ICON_FILL_INACTIVE = SystemColor('icon-fill-inactive') ICON_STROKE_INACTIVE = SystemColor('icon-stroke-inactive') +TOGGLE_BUTTON_BACKGROUND = SystemColor('toggle-button-background') -- cgit v0.9.1