#8865 NORM Not Tri: Slider bar should change brush and line width

Zarro Boogs per Child bugtracker at laptop.org
Tue Oct 21 23:36:35 EDT 2008


#8865: Slider bar should change brush and line width
----------------------------------------------+-----------------------------
 Reporter:  brian                             |         Owner:  alexandre    
     Type:  enhancement                       |        Status:  new          
 Priority:  normal                            |     Milestone:  Not Triaged  
Component:  paint/drawing-activity (oficina)  |       Version:  not specified
 Keywords:                                    |   Next_action:  add to build 
 Verified:  0                                 |     Blockedby:               
 Blocking:                                    |  
----------------------------------------------+-----------------------------
 The slider bar (circles on the top of the XO keyboard) should change the
 width of the paintbrush and line widths in Paint activity. This would make
 drawing-without-modifying-tools-by-mouse easier.

 example of one way to do this -- in Area.py... function key_press:

 if event.keyval == 65474: # 65474 to 65477 are slider bar keys

   self.line_size = 2

   self.configure_line(self.line_size)

-- 
Ticket URL: <http://dev.laptop.org/ticket/8865>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list