Ignore:
Timestamp:
10/10/09 17:26:08 (10 years ago)
Author:
Kaydeth_parpg
Message:

Ticket #2: Patch by Kaydeth. Updated the classes in console.py through engine.py (went through files alphabetically) to correct some obvious discrepancies with our coding standard. comment[s:trac, t:2]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/dialoguegui.py

    r290 r312  
    150150                position_technique='center:center' 
    151151            ) 
    152             button.margins=(5,5) 
    153             button.background_color=fife.Color(0,0,0) 
    154             button.color=fife.Color(0,255,0) 
     152            button.margins = (5,5) 
     153            button.background_color = fife.Color(0,0,0) 
     154            button.color = fife.Color(0,255,0) 
    155155            button.border_size = 0 
    156156            button.wrap_text = 1 
    157             button.capture(lambda button=button: self.handleEntered(button), event_name='mouseEntered') 
    158             button.capture(lambda button=button: self.handleExited(button), event_name='mouseExited') 
    159             button.capture(lambda button=button: self.handleClicked(button), event_name='mouseClicked') 
     157            button.capture(lambda button=button: self.handleEntered(button), \ 
     158                           event_name='mouseEntered') 
     159            button.capture(lambda button=button: self.handleExited(button), \ 
     160                           event_name='mouseExited') 
     161            button.capture(lambda button=button: self.handleClicked(button), \ 
     162                           event_name='mouseClicked') 
    160163            choices_list.addChild(button) 
    161164            self.dialogue_gui.adaptLayout(True) 
Note: See TracChangeset for help on using the changeset viewer.