#8865 NORM 10.1.3: Slider bar should change brush and line width
Zarro Boogs per Child
bugtracker at laptop.org
Tue Aug 31 12:48:27 EDT 2010
#8865: Slider bar should change brush and line width
--------------------------------------------------------+-------------------
Reporter: brian | Owner: Quozl
Type: enhancement | Status: assigned
Priority: normal | Milestone: 10.1.3
Component: paint/drawing-activity (oficina) | Version: not specified
Resolution: | Keywords: cjbfor9.1.0
Next_action: review | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
--------------------------------------------------------+-------------------
Comment(by FGrose):
Pressing <fn f5-8> in Paint-28 on os852, XO-1 results in the same actions
as <f5-8> keypresses, but pressing <ctrl f5-8> has the intended actions of
-5, -1, +1, +5.
I didn't notice any 'half-key' actions. Were they designed to result from
combined key presses?
Some code seems to be at
http://git.sugarlabs.org/projects/paint/repos/mainline/blobs/master/OficinaActivity.py#line136
{{{
def key_press(self, widget, event):
sliders = {65474: -5, 65475: -1, 65476: 1, 65477: 5}
if event.keyval in sliders:
self.area.change_line_size(sliders[event.keyval])
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/8865#comment:5>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list