Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/draw_piano.py
Commit message (Collapse)AuthorAgeFilesLines
* Make private methods if needed.Gonzalo Odiard2013-03-211-78/+70
| | | | | | The objective is have a minimal api exposed Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Pep8 fixesGonzalo Odiard2013-03-211-53/+53
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Show feedback in the screen when the physical keyboard is usedGonzalo Odiard2013-03-211-24/+71
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Enlarge fonts in notes labelsGonzalo Odiard2013-03-201-4/+4
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Delay the processing of button release eventsGonzalo Odiard2013-03-201-2/+4
| | | | | | | | This is needed because at times, a mousemove event came after the button release event, and the virtual keys states are confused. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Redraw only the needed area to improve visual performanceGonzalo Odiard2013-03-201-4/+61
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Move the x begginig key position to a dictionaryGonzalo Odiard2013-03-201-15/+25
| | | | | | To simplify the code. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Draw the piano at the bottom of the screenGonzalo Odiard2012-11-271-0/+1
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Add a array with the values the iano will return independent of the labelsGonzalo Odiard2012-11-241-3/+12
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Enlarge black keysGonzalo Odiard2012-11-241-3/+3
|
* Enlarge black keys to improve use with touchGonzalo Odiard2012-11-231-18/+26
| | | | | | | The 1/3 and 2/3 values in the code where replaced by constants to do easier check different values and replaced by 2/5 and 3/5 Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Use the keyboard in the screen to play soundsGonzalo Odiard2012-10-091-6/+6
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Add support to touchGonzalo Odiard2012-10-071-56/+72
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Initial port to Gtk3Gonzalo Odiard2012-04-291-35/+31
| | | | | | Only gtk / cairo port, gst does not work. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Add capability of change the labelssugar-0.94Gonzalo Odiard2012-01-021-0/+4
|
* Initial versionGonzalo Odiard2012-01-011-0/+429