-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upstreaming v9 #14
Upstreaming v9 #14
Commits on Jul 14, 2020
-
Remove unused signal callbacks
Possibly these were an intention to implement game pause on alt-tab.
Configuration menu - View commit details
-
Copy full SHA for a2c7a7a - Browse repository at this point
Copy the full SHA a2c7a7aView commit details -
Remove unused instance variable
Variable is not used anywhere else, so remove it.
Configuration menu - View commit details
-
Copy full SHA for b4e7274 - Browse repository at this point
Copy the full SHA b4e7274View commit details -
No reason to force the title, as it is forced already by BlockParty.
Configuration menu - View commit details
-
Copy full SHA for e304514 - Browse repository at this point
Copy the full SHA e304514View commit details -
Same font is used for more than score, so stop calling it a scorefont.
Configuration menu - View commit details
-
Copy full SHA for 6cfbc24 - Browse repository at this point
Copy the full SHA 6cfbc24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 171774b - Browse repository at this point
Copy the full SHA 171774bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00e2982 - Browse repository at this point
Copy the full SHA 00e2982View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7eceed - Browse repository at this point
Copy the full SHA c7eceedView commit details -
Port to GTK 3 - expose to draw
A port to GTK 3 should have changed the expose callback to a draw callback, using the supplied cairo.Context. Possibly reduces display update CPU cost. Regression introduced 6af29a1
Configuration menu - View commit details
-
Copy full SHA for 0d3b679 - Browse repository at this point
Copy the full SHA 0d3b679View commit details -
Port to GTK 3 - missing WindowType change
Port to GTK 3 did not complete all porting. Now possible again to run the game using "python3 BlockParty.py"
Configuration menu - View commit details
-
Copy full SHA for 863953e - Browse repository at this point
Copy the full SHA 863953eView commit details -
Port to GTK 3 - fix vanishing cursor
Vanishing cursor helps to avoid distraction, but it was lost in the port to GTK 3. Get the saved cursor from the window after it is realized. Flush the cursor change through Gdk. Keep the timer source identifier. When the activity is closing, stop the timer and audio player, otherwise the timer may trigger and VanishingCursor may try to restore the cursor while there is no window for the Gtk.DrawingArea, yielding traceback.
Configuration menu - View commit details
-
Copy full SHA for 7291839 - Browse repository at this point
Copy the full SHA 7291839View commit details -
Scale font to Sugar configuration
Sugar has a configuration setting for font face and size, so use it rather than a pre-coded face and size. Also scale according to display size relative to the 900 pixel width of the OLPC XO-1.
Configuration menu - View commit details
-
Copy full SHA for 4d76253 - Browse repository at this point
Copy the full SHA 4d76253View commit details -
We're odd, because we draw on Gtk.Window. Makes it impossible to add a Sugar toolbar. Instead, let's draw on the new Gtk.DrawingArea widget.
Configuration menu - View commit details
-
Copy full SHA for 2331989 - Browse repository at this point
Copy the full SHA 2331989View commit details -
Also avoid dropping unhandled key press events (return True), as it prevented the ctrl+q stop accelerator from working.
Configuration menu - View commit details
-
Copy full SHA for a1bedfa - Browse repository at this point
Copy the full SHA a1bedfaView commit details -
Adjust height by the expected size of the toolbar.
Configuration menu - View commit details
-
Copy full SHA for a36ea19 - Browse repository at this point
Copy the full SHA a36ea19View commit details -
Icon is the "T" tetronimo, upside down, with extra gap between the squares. Squares in the icon were not distributed evenly across the available dimensions, and the shape centre was above and to the right of the icon centre.
Configuration menu - View commit details
-
Copy full SHA for fc6efe4 - Browse repository at this point
Copy the full SHA fc6efe4View commit details