Changeset 90


Ignore:
Timestamp:
06/05/09 04:11:32 (10 years ago)
Author:
bretzel_parpg
Message:

Added a few comments and changed the text on the set to defaults button

Location:
trunk/PARPG
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/PARPG/gui/hud_options.xml

    r89 r90  
    1818    <Button name="closeButton" text="Close" /> 
    1919    <Spacer /> 
    20     <Button name="defaultsButton" text="Set to Defaults" /> 
     20    <Button name="defaultsButton" text="Reset to Defaults" /> 
    2121    <Button name="applyButton" text="Apply" /> 
    2222  </HBox> 
  • trunk/PARPG/scripts/hud.py

    r89 r90  
    22 
    33"""Import all necessary modules""" 
     4import shutil 
    45import fife 
    56import pychan 
    67from pychan.tools import callbackWithArguments as cbwa 
    7 import shutil 
    88 
    99"""Main Hud class""" 
     
    8383 
    8484    def setToDefaults(self): 
     85        """ Reset all the options to the options in settings-dist.xml """ 
    8586        shutil.copyfile('settings-dist.xml', 'settings.xml') 
    8687        self.requireRestartDialog() 
     
    195196        """ 
    196197        Set the HP display on the HUD to value 
    197         NOTE: This does not in any way affect the character's actual health, only 
    198               what is displayed on the HUD 
     198        NOTE: This does not in any way affect the character's actual health, only what is displayed on the HUD 
    199199        """ 
    200200        self.hp.text = value 
Note: See TracChangeset for help on using the changeset viewer.