#3271 NORM Untriag: color scales

Zarro Boogs per Child bugtracker at laptop.org
Mon Sep 10 11:23:07 EDT 2007


#3271: color scales
--------------------------+-------------------------------------------------
  Reporter:  benzea       |       Owner:  marco    
      Type:  enhancement  |      Status:  new      
  Priority:  normal       |   Milestone:  Untriaged
 Component:  sugar        |     Version:           
Resolution:               |    Keywords:  review+  
  Verified:  0            |  
--------------------------+-------------------------------------------------

Comment(by benzea):

 I just realized that the API is not very nice from the activity point of
 view. I think we could hide the adjustment entirely.

 So we could have the following properties:
   upper_color -- as right now
   lower_color -- as right now
   current_color -- read only property to get the color, can be used to
 listen to changes
   value -- value between 0.0 and 1.0 to set the color (is already there
 anyways from GtkRange)

 The class init function would take three arguments, lower_color,
 upper_color and value.

-- 
Ticket URL: <https://dev.laptop.org/ticket/3271#comment:4>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list