Beispiel #1
0
 extern private static void ICall_getScreenSize(out IntSize value);
Beispiel #2
0
 extern private static void ICall_getSize(IntPtr widget_ptr, out IntSize value);//IntSize
Beispiel #3
0
 /// <summary>
 /// 设置分辨率
 /// </summary>
 /// <param name="size">分辨率</param>
 public static void SetResolution(IntSize size)
 {
     ICall_setResolution(ref size);
 }
Beispiel #4
0
 private static extern void ICall_getTextSize(IntPtr widget_ptr, out IntSize value);
Beispiel #5
0
 extern private static void ICall_setSize(IntPtr widget_ptr, ref IntSize value);
Beispiel #6
0
 /** Set _tile size */
 internal void SetImageTile(IntSize value)
 {
     ICall_setImageTile(mInstance.Ptr, ref value);
 }
Beispiel #7
0
 private static extern void ICall_setMinSize(IntPtr widget_ptr, ref IntSize _value);
Beispiel #8
0
 private static extern void ICall_setImageInfo(IntPtr widget_ptr, String texture, ref IntCoord coord, ref IntSize tile);
Beispiel #9
0
 private static extern void ICall_setImageTile(IntPtr widget_ptr, ref IntSize tile);
Beispiel #10
0
 //------------------------------------------------------------------------------//
 // The simple interface
 //------------------------------------------------------------------------------//
 /* Set texture and size of image _tile
     @param _texture file name or texture name
     @param _coord - part of texture where we take tiles
     @param _tile size
 */
 internal void SetImageInfo(string texture, IntCoord coord, IntSize tile)
 {
     ICall_setImageInfo(mInstance.Ptr, texture, ref coord, ref tile);
 }
Beispiel #11
0
 /** Set _tile size */
 internal void SetImageTile(IntSize value)
 {
     ICall_setImageTile(mInstance.Ptr, ref value);
 }
Beispiel #12
0
        //------------------------------------------------------------------------------//
        // The simple interface
        //------------------------------------------------------------------------------//

        /* Set texture and size of image _tile
         *  @param _texture file name or texture name
         *  @param _coord - part of texture where we take tiles
         *  @param _tile size
         */
        internal void SetImageInfo(string texture, IntCoord coord, IntSize tile)
        {
            ICall_setImageInfo(mInstance.Ptr, texture, ref coord, ref tile);
        }
Beispiel #13
0
 extern private static void ICall_setImageTile(IntPtr widget_ptr, ref IntSize tile);
Beispiel #14
0
 extern private static void ICall_setImageInfo(IntPtr widget_ptr, String texture, ref IntCoord coord, ref IntSize tile);
Beispiel #15
0
 extern private static void ICall_getResolution(out IntSize value);
Beispiel #16
0
 private static extern IntPtr ICall_getMinSize(IntPtr widget_ptr, out IntSize _value);
Beispiel #17
0
 extern private static void ICall_setResolution(ref IntSize value);
 extern private static IntPtr ICall_getMaxSize(IntPtr widget_ptr, out IntSize _value);