C# Class LynnaLab.RoomEditor

Inheritance: TileGridViewer
显示文件 Open project: Drenn1/LynnaLab Class Usage Examples

Public Methods

Method Description
OnObjectsModified ( ) : void
OnRoomModified ( ) : void
RoomEditor ( ) : System
SetClient ( TileGridSelector client ) : void
SetObjectGroupEditor ( ObjectGroupEditor editor ) : void
SetRoom ( Room r ) : void

Protected Methods

Method Description
OnButtonPressEvent ( Gdk ev ) : bool
OnExposeEvent ( Gdk ev ) : bool
OnSizeAllocated ( Gdk allocation ) : void
OnSizeRequested ( Gtk &requisition ) : void

Private Methods

Method Description
DrawObjectGroup ( Graphics g, int index, int &cursorX, int &cursorY, int &selectedX, int &selectedY, ObjectGroup group, ObjectGroupEditor editor, List &objectIndices ) : int
OnClicked ( int x, int y ) : void
OnDragged ( int x, int y ) : void
UpdateMouse ( int x, int y ) : void

Method Details

OnButtonPressEvent() protected method

protected OnButtonPressEvent ( Gdk ev ) : bool
ev Gdk
return bool

OnExposeEvent() protected method

protected OnExposeEvent ( Gdk ev ) : bool
ev Gdk
return bool

OnObjectsModified() public method

public OnObjectsModified ( ) : void
return void

OnRoomModified() public method

public OnRoomModified ( ) : void
return void

OnSizeAllocated() protected method

protected OnSizeAllocated ( Gdk allocation ) : void
allocation Gdk
return void

OnSizeRequested() protected method

protected OnSizeRequested ( Gtk &requisition ) : void
requisition Gtk
return void

RoomEditor() public method

public RoomEditor ( ) : System
return System

SetClient() public method

public SetClient ( TileGridSelector client ) : void
client TileGridSelector
return void

SetObjectGroupEditor() public method

public SetObjectGroupEditor ( ObjectGroupEditor editor ) : void
editor ObjectGroupEditor
return void

SetRoom() public method

public SetRoom ( Room r ) : void
r Room
return void