Changeset 30


Ignore:
Timestamp:
02/04/10 22:45:19 (12 years ago)
Author:
sc
Message:

client_interface_button:

  • whitespace cleanup

client_interface:

  • comments added
Location:
rc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rc/puzzlebox_brainstorms_client_interface.py

    r29 r30  
    1111# For more information please refer to http://www.gnu.org/copyleft/gpl.htm 
    1212# 
    13 # Last Update: 2010.02.03 
     13# Last Update: 2010.02.04 
    1414# 
    1515##################################################################### 
     
    323323                        elif (event.type == self.pygame.locals.MOUSEBUTTONUP): 
    324324                                 
     325                                # We release all activated buttons when a mouse button is 
     326                                # released because its possible the user may have pressed 
     327                                # the mouse button down while hovering over one button on 
     328                                # the screen, then dragged the pointer while still holding 
     329                                # down the mouse button, finally releasing it over another 
     330                                # button on the screen. 
     331                                 
    325332                                mouse_button = event.button 
    326333                                 
  • rc/puzzlebox_brainstorms_client_interface_button.py

    r27 r30  
    1111# For more information please refer to http://www.gnu.org/copyleft/gpl.htm 
    1212# 
    13 # Last Update: 2010.02.03 
     13# Last Update: 2010.02.04 
    1414# 
    1515##################################################################### 
     
    7474                if not self.activated: 
    7575                        self.draw_image(self.button_image, self.display_position) 
    76                          
     76                 
    7777                else: 
    7878                        self.draw_image(self.activated_image, self.display_position) 
Note: See TracChangeset for help on using the changeset viewer.