public  Point2I clientToScreen(Point2I coordinate){

return new Point2I ( pInvokes.m_ts.fnGuiCanvas_clientToScreen(_ID, coordinate.AsString()));
}
public  Point2I screenToClient(Point2I coordinate){

return new Point2I ( pInvokes.m_ts.fnGuiCanvas_screenToClient(_ID, coordinate.AsString()));
}
public  void setBrushPos(Point2I pos){

pInvokes.m_ts.fn_TerrainEditor_setBrushPos(_ID, pos.AsString());
}
public  void setCursorPos(Point2I pos){

pInvokes.m_ts.fn_GuiCanvas_setCursorPos(_ID, pos.AsString());
}
Beispiel #5
0
/// <summary>
/// )
/// </summary>
public  string getClickVector(string guitsctrl, Point2I mousePoint){


return m_ts.fnGuiTSCtrl_getClickVector(guitsctrl, mousePoint.AsString());
}
public  void setSelectorPos(Point2I newPos){

pInvokes.m_ts.fn_GuiColorPickerCtrl_setSelectorPos(_ID, newPos.AsString());
}
Beispiel #7
0
/// <summary>
/// Translate a coordinate from screen-space to canvas window-space.   @param coordinate The coordinate in screen-space.   @return The given coordinate translated to window-space. )
/// </summary>
public  Point2I screenToClient(string guicanvas, Point2I coordinate){


return new Point2I ( m_ts.fnGuiCanvas_screenToClient(guicanvas, coordinate.AsString()));
}
public  string getWorldPosition(Point2I mousePoint){

return pInvokes.m_ts.fnGuiTSCtrl_getWorldPosition(_ID, mousePoint.AsString());
}
Beispiel #9
0
/// <summary>
/// (Point2I pos)			  @hide)
/// </summary>
public  void GuiCanvas_setCursorPos(string guicanvas, Point2I pos){


m_ts.fn_GuiCanvas_setCursorPos(guicanvas, pos.AsString());
}
Beispiel #10
0
/// <summary>
/// Translate a coordinate from canvas window-space to screen-space.   @param coordinate The coordinate in window-space.   @return The given coordinate translated to screen-space. )
/// </summary>
public  Point2I clientToScreen(string guicanvas, Point2I coordinate){


return new Point2I ( m_ts.fnGuiCanvas_clientToScreen(guicanvas, coordinate.AsString()));
}
Beispiel #11
0
/// <summary>
/// Return the integer character code value corresponding to the first character in the given string.
/// )
/// 
/// </summary>
public  Point2I dnt_testcase_8(Point2I chr){


return new Point2I ( m_ts.fn_dnt_testcase_8(chr.AsString()));
}
Beispiel #12
0
/// <summary>
/// Location)
/// </summary>
public  void TerrainEditor_setBrushPos(string terraineditor, Point2I pos){


m_ts.fn_TerrainEditor_setBrushPos(terraineditor, pos.AsString());
}
Beispiel #13
0
/// <summary>
/// )
/// </summary>
public  string getWorldPosition(string guitsctrl, Point2I mousePoint){


return m_ts.fnGuiTSCtrl_getWorldPosition(guitsctrl, mousePoint.AsString());
}
public  void setWindowPosition(Point2I position){

pInvokes.m_ts.fnGuiCanvas_setWindowPosition(_ID, position.AsString());
}
Beispiel #15
0
/// <summary>
/// Set the position of the platform window associated with the canvas.   @param position The new position of the window in screen-space. )
/// </summary>
public  void setWindowPosition(string guicanvas, Point2I position){


m_ts.fnGuiCanvas_setWindowPosition(guicanvas, position.AsString());
}
public  string getClickVector(Point2I mousePoint){

return pInvokes.m_ts.fnGuiTSCtrl_getClickVector(_ID, mousePoint.AsString());
}
Beispiel #17
0
/// <summary>
/// Sets the current position of the selector)
/// </summary>
public  void GuiColorPickerCtrl_setSelectorPos(string guicolorpickerctrl, Point2I newPos){


m_ts.fn_GuiColorPickerCtrl_setSelectorPos(guicolorpickerctrl, newPos.AsString());
}
public  void moveSelection(Point2I pos){

pInvokes.m_ts.fn_GuiEditCtrl_moveSelection(_ID, pos.AsString());
}
Beispiel #19
0
/// <summary>
/// Move all controls in the selection by (dx,dy) pixels.)
/// </summary>
public  void GuiEditCtrl_moveSelection(string guieditctrl, Point2I pos){


m_ts.fn_GuiEditCtrl_moveSelection(guieditctrl, pos.AsString());
}