Changeset 185


Ignore:
Timestamp:
07/06/09 17:47:55 (10 years ago)
Author:
bretzel_parpg
Message:

Restructured the dragging and dropping data a bit

Location:
trunk/PARPG/scripts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/PARPG/scripts/drag_drop_data.py

    r181 r185  
    1616#   along with PARPG.  If not, see <http://www.gnu.org/licenses/>. 
    1717 
    18 class DragAndDropData(): 
    19     """ 
    20     This contains the data that tells the GUI whether something is being dragged, dropped etc. 
    21     It is in one place to allow communication between multiple windows 
    22     """ 
    23     def __init___(self): 
    24         """ 
    25         @return: None 
    26         """ 
    27         self.dragging = False 
    28         self.dragged_image = None 
    29         self.dragged_type = None 
    30         self.dragged_item = None 
    31         self.dropped_type = None 
     18""" 
     19This contains the data that tells the GUI whether something is being dragged, dropped etc. 
     20It is in one place to allow communication between multiple windows 
     21""" 
     22dragging = False 
     23dragged_image = None 
     24dragged_type = None 
     25dragged_item = None 
     26dropped_type = None 
  • trunk/PARPG/scripts/gui_container.py

    r181 r185  
    3131        @param title: The title of the window 
    3232        @type data: list or string 
    33         @param data: A list of 9 images to use for the slots 1 - 9 OR a string for one image that will be used on all the slots 
     33        @param data: A list of 9 images to use for the slots 1 - 9  
     34                     OR 
     35                     A string for one image that will be used on all the slots 
    3436        @return: None 
    3537        """ 
  • trunk/PARPG/scripts/world.py

    r181 r185  
    392392    def saveGame(self): 
    393393        """ Called when the user wants to save the game. 
    394             TODO: allow the user to select a file 
    395394            @return: None""" 
    396395        self.save_browser = PARPGFileBrowser(self.engine, 
Note: See TracChangeset for help on using the changeset viewer.