Documentation fixes
This commit is contained in:
@@ -2,7 +2,6 @@ package;
|
|||||||
|
|
||||||
|
|
||||||
import lime.app.Application;
|
import lime.app.Application;
|
||||||
import lime.app.Config;
|
|
||||||
import lime.app.Event;
|
import lime.app.Event;
|
||||||
import lime.app.Future;
|
import lime.app.Future;
|
||||||
import lime.app.IModule;
|
import lime.app.IModule;
|
||||||
@@ -58,6 +57,7 @@ import lime.graphics.OpenGLES3RenderContext;
|
|||||||
import lime.graphics.OpenGLRenderContext;
|
import lime.graphics.OpenGLRenderContext;
|
||||||
import lime.graphics.PixelFormat;
|
import lime.graphics.PixelFormat;
|
||||||
import lime.graphics.RenderContext;
|
import lime.graphics.RenderContext;
|
||||||
|
import lime.graphics.RenderContextAttributes;
|
||||||
import lime.graphics.RenderContextType;
|
import lime.graphics.RenderContextType;
|
||||||
import lime.graphics.WebGL2RenderContext;
|
import lime.graphics.WebGL2RenderContext;
|
||||||
import lime.graphics.WebGLRenderContext;
|
import lime.graphics.WebGLRenderContext;
|
||||||
@@ -127,7 +127,27 @@ import lime.system.Sensor;
|
|||||||
import lime.system.SensorType;
|
import lime.system.SensorType;
|
||||||
import lime.system.System;
|
import lime.system.System;
|
||||||
import lime.system.ThreadPool;
|
import lime.system.ThreadPool;
|
||||||
// TODO: Harfbuzz
|
import lime.text.harfbuzz.HB;
|
||||||
|
import lime.text.harfbuzz.HBBlob;
|
||||||
|
import lime.text.harfbuzz.HBBuffer;
|
||||||
|
import lime.text.harfbuzz.HBBufferClusterLevel;
|
||||||
|
import lime.text.harfbuzz.HBBufferContentType;
|
||||||
|
import lime.text.harfbuzz.HBBufferFlags;
|
||||||
|
import lime.text.harfbuzz.HBBufferSerializeFlags;
|
||||||
|
import lime.text.harfbuzz.HBBufferSerializeFormat;
|
||||||
|
import lime.text.harfbuzz.HBDirection;
|
||||||
|
import lime.text.harfbuzz.HBFace;
|
||||||
|
import lime.text.harfbuzz.HBFeature;
|
||||||
|
import lime.text.harfbuzz.HBFont;
|
||||||
|
import lime.text.harfbuzz.HBFTFont;
|
||||||
|
import lime.text.harfbuzz.HBGlyphExtents;
|
||||||
|
import lime.text.harfbuzz.HBGlyphInfo;
|
||||||
|
import lime.text.harfbuzz.HBGlyphPosition;
|
||||||
|
import lime.text.harfbuzz.HBLanguage;
|
||||||
|
import lime.text.harfbuzz.HBMemoryMode;
|
||||||
|
import lime.text.harfbuzz.HBScript;
|
||||||
|
import lime.text.harfbuzz.HBSegmentProperties;
|
||||||
|
import lime.text.harfbuzz.HBSet;
|
||||||
import lime.text.Font;
|
import lime.text.Font;
|
||||||
import lime.text.Glyph;
|
import lime.text.Glyph;
|
||||||
import lime.text.GlyphMetrics;
|
import lime.text.GlyphMetrics;
|
||||||
@@ -147,6 +167,7 @@ import lime.ui.MouseCursor;
|
|||||||
import lime.ui.ScanCode;
|
import lime.ui.ScanCode;
|
||||||
import lime.ui.Touch;
|
import lime.ui.Touch;
|
||||||
import lime.ui.Window;
|
import lime.ui.Window;
|
||||||
|
import lime.ui.WindowAttributes;
|
||||||
import lime.utils.ArrayBuffer;
|
import lime.utils.ArrayBuffer;
|
||||||
import lime.utils.ArrayBufferView;
|
import lime.utils.ArrayBufferView;
|
||||||
import lime.utils.AssetCache;
|
import lime.utils.AssetCache;
|
||||||
|
|||||||
@@ -2246,7 +2246,7 @@ class NativeOpenGLRenderContext {
|
|||||||
#if (lime_cffi && lime_opengl && !macro)
|
#if (lime_cffi && lime_opengl && !macro)
|
||||||
return NativeCFFI.lime_gl_get_queryi (target, pname);
|
return NativeCFFI.lime_gl_get_queryi (target, pname);
|
||||||
#else
|
#else
|
||||||
return null;
|
return 0;
|
||||||
#end
|
#end
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -2266,7 +2266,7 @@ class NativeOpenGLRenderContext {
|
|||||||
#if (lime_cffi && lime_opengl && !macro)
|
#if (lime_cffi && lime_opengl && !macro)
|
||||||
return NativeCFFI.lime_gl_get_query_objectui (__getObjectID (query), pname);
|
return NativeCFFI.lime_gl_get_query_objectui (__getObjectID (query), pname);
|
||||||
#else
|
#else
|
||||||
return null;
|
return 0;
|
||||||
#end
|
#end
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -401,7 +401,7 @@ abstract HBBuffer(CFFIPointer) from CFFIPointer to CFFIPointer {
|
|||||||
#if (lime_cffi && lime_harfbuzz && !macro)
|
#if (lime_cffi && lime_harfbuzz && !macro)
|
||||||
return NativeCFFI.lime_hb_buffer_get_script (this);
|
return NativeCFFI.lime_hb_buffer_get_script (this);
|
||||||
#else
|
#else
|
||||||
return null;
|
return cast 0;
|
||||||
#end
|
#end
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,9 +3,9 @@ package lime.text.harfbuzz;
|
|||||||
|
|
||||||
@:enum abstract HBBufferFlags(Int) from Int to Int {
|
@:enum abstract HBBufferFlags(Int) from Int to Int {
|
||||||
|
|
||||||
public var DEFAULT = 0x00000000u;
|
public var DEFAULT = 0x00000000;
|
||||||
public var BOT = 0x00000001u;
|
public var BOT = 0x00000001;
|
||||||
public var EOT = 0x00000002u;
|
public var EOT = 0x00000002;
|
||||||
public var PRESERVE_DEFAULT_IGNORABLES = 0x00000004u;
|
public var PRESERVE_DEFAULT_IGNORABLES = 0x00000004;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -3,9 +3,9 @@ package lime.text.harfbuzz;
|
|||||||
|
|
||||||
@:enum abstract HBBufferSerializeFlags(Int) from Int to Int {
|
@:enum abstract HBBufferSerializeFlags(Int) from Int to Int {
|
||||||
|
|
||||||
public var DEFAULT = 0x00000000u;
|
public var DEFAULT = 0x00000000;
|
||||||
public var NO_CLUSTERS = 0x00000001u;
|
public var NO_CLUSTERS = 0x00000001;
|
||||||
public var NO_POSITIONS = 0x00000002u;
|
public var NO_POSITIONS = 0x00000002;
|
||||||
public var NO_GLYPH_NAMES = 0x00000004u;
|
public var NO_GLYPH_NAMES = 0x00000004;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -89,7 +89,7 @@ abstract HBFont(CFFIPointer) from CFFIPointer to CFFIPointer {
|
|||||||
#if (lime_cffi && lime_harfbuzz && !macro)
|
#if (lime_cffi && lime_harfbuzz && !macro)
|
||||||
return NativeCFFI.lime_hb_font_glyph_from_string (this, s);
|
return NativeCFFI.lime_hb_font_glyph_from_string (this, s);
|
||||||
#else
|
#else
|
||||||
return null;
|
return 0;
|
||||||
#end
|
#end
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ package lime.text.harfbuzz;
|
|||||||
|
|
||||||
|
|
||||||
import lime._internal.backend.native.NativeCFFI;
|
import lime._internal.backend.native.NativeCFFI;
|
||||||
|
import lime.math.Vector2;
|
||||||
import lime.system.CFFIPointer;
|
import lime.system.CFFIPointer;
|
||||||
|
|
||||||
@:access(lime._internal.backend.native.NativeCFFI)
|
@:access(lime._internal.backend.native.NativeCFFI)
|
||||||
@@ -10,7 +11,7 @@ import lime.system.CFFIPointer;
|
|||||||
abstract HBSet(CFFIPointer) from CFFIPointer to CFFIPointer {
|
abstract HBSet(CFFIPointer) from CFFIPointer to CFFIPointer {
|
||||||
|
|
||||||
|
|
||||||
public static var empty (get, never):HBBlob;
|
public static var empty (get, never):HBSet;
|
||||||
|
|
||||||
public var allocationSuccessful (get, never):Bool;
|
public var allocationSuccessful (get, never):Bool;
|
||||||
public var isEmpty (get, never):Bool;
|
public var isEmpty (get, never):Bool;
|
||||||
@@ -48,15 +49,6 @@ abstract HBSet(CFFIPointer) from CFFIPointer to CFFIPointer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function addRange (first:Int, last:Int):Void {
|
|
||||||
|
|
||||||
#if (lime_cffi && lime_harfbuzz && !macro)
|
|
||||||
NativeCFFI.lime_hb_set_add_range (this, first, last);
|
|
||||||
#end
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public function clear ():Void {
|
public function clear ():Void {
|
||||||
|
|
||||||
#if (lime_cffi && lime_harfbuzz && !macro)
|
#if (lime_cffi && lime_harfbuzz && !macro)
|
||||||
|
|||||||
Reference in New Issue
Block a user