예제 #1
0
 /// <summary>Changes the color of the fog</summary>
 /// <description>
 /// .
 /// </description>
 /// <param name="new_color">the new fog color (rgb 0-255, a is ignored.</param>
 public void SetFogColor(ColorI new_color)
 {
     new_color.Alloc();             InternalUnsafeMethods.SetFogColor__Args _args = new InternalUnsafeMethods.SetFogColor__Args()
     {
         new_color = new_color.internalStructPtr,
     };
     InternalUnsafeMethods.SetFogColor()(ObjectPtr, _args);
     new_color.Free();
 }
예제 #2
0
        /// <description>
        /// (int id, ColorI fontColor, ColorI fontColorHL, ColorI fontColorSEL)
        /// </description>
        public void AddScheme(uint id, ColorI fontColor, ColorI fontColorHL, ColorI fontColorSEL) {
fontColor.Alloc();fontColorHL.Alloc();fontColorSEL.Alloc();             InternalUnsafeMethods.AddScheme__Args _args = new InternalUnsafeMethods.AddScheme__Args() {
                id = id,
                fontColor = fontColor.internalStructPtr,
                fontColorHL = fontColorHL.internalStructPtr,
                fontColorSEL = fontColorSEL.internalStructPtr,
             };
             InternalUnsafeMethods.AddScheme()(ObjectPtr, _args);
fontColor.Free();fontColorHL.Free();fontColorSEL.Free();        }