Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/PascalTriangle.activity/pascaltriangle.py
Commit message (Collapse)AuthorAgeFilesLines
* Add [read|write]_file() supportHEADVERSION_1masterPhilip Withnall2013-08-221-0/+71
| | | | The activity now has full support for saving games in progress.
* Optimise set_show_hints()Philip Withnall2013-08-221-2/+3
| | | | Only redraw the drawing area if something’s actually changed.
* Tidy up importsPhilip Withnall2013-08-221-4/+1
| | | | Remove redundant ones.
* Reformat code for PEP8 compliancePhilip Withnall2013-08-201-43/+48
|
* Toolbar consistency fixesWalter Bender2013-08-201-38/+40
|
* Add docstrings to all applicable classes and methodsPhilip Withnall2013-08-191-21/+64
|
* Python code cleanupsPhilip Withnall2013-08-191-26/+33
| | | | In response to running pylint on the code.
* Fix variable shadowingPhilip Withnall2013-08-191-9/+10
|
* Tidy up cell indexing throughout the codePhilip Withnall2013-08-191-40/+38
|
* Remove use of Unicode in C-locale stringsPhilip Withnall2013-08-191-2/+2
| | | | Apparently the Sugar build chain doesn’t support it.
* Translation updatesPhilip Withnall2013-08-191-1/+1
|
* Fix positioning of triangle size sliderPhilip Withnall2013-08-191-12/+5
| | | | | Older versions of the PyGI GTK+ bindings crash when emitting the get-child-position signal to a Python callback, so use halign/valign instead.
* Fix the hint button to work with older versions of SugarPhilip Withnall2013-08-191-2/+13
| | | | | The ‘help’ icon it used didn’t previously exist, and accelerator support for ToggleToolButtons also didn’t exist.
* Add a Spanish translationPhilip Withnall2013-08-191-1/+1
| | | | Also fix a broken multiline translatable string in the source.
* Clean up activity appearance and renderingPhilip Withnall2013-08-191-5/+12
|
* Add i18n supportPhilip Withnall2013-08-191-7/+10
|
* Add a slider to change the triangle sizePhilip Withnall2013-08-191-6/+41
|
* Improve hint mode to highlight all edge cells equallyPhilip Withnall2013-08-191-1/+7
| | | | | | This means that a hint is given when the user selects the top-most edge cell, which would previously not have had a hint due to having no cells above it.
* Replace message dialogue with an alert barPhilip Withnall2013-08-191-16/+30
| | | | Much tidier.
* Add a hint mode which shows the summands for the current cellPhilip Withnall2013-08-191-0/+34
|
* Add a ‘New Game’ buttonPhilip Withnall2013-08-181-5/+22
|
* Implement the standard activity toolbarPhilip Withnall2013-08-181-3/+13
|
* Add copyright licencePhilip Withnall2013-08-181-0/+16
|
* Implement a ‘win’ dialogue box when the game is wonPhilip Withnall2013-08-181-14/+43
|
* Add support for entering new values in cellsPhilip Withnall2013-08-181-10/+125
| | | | This makes the game almost functionally complete.
* Add support for selecting a cellPhilip Withnall2013-08-171-36/+81
| | | | This is one step on the way to supporting typing new values into cells.
* Improve rendering of cellsPhilip Withnall2013-08-161-21/+50
| | | | Render them as hexagons rather than rectangles.
* Implement drawing a Pascal trianglePhilip Withnall2013-08-161-1/+59
| | | | This uses very basic graphics and is not yet interactive.
* Initial commit of skeleton activityPhilip Withnall2013-08-161-0/+35
This can be installed and run, but doesn’t draw anything or implement anything.