Fix docs and compile
This commit is contained in:
@@ -152,6 +152,7 @@ import lime.text.Font;
|
||||
import lime.text.Glyph;
|
||||
import lime.text.GlyphMetrics;
|
||||
import lime.text.UTF8String;
|
||||
import lime.ui.Cursor;
|
||||
import lime.ui.FileDialog;
|
||||
import lime.ui.FileDialogType;
|
||||
import lime.ui.Gamepad;
|
||||
@@ -162,8 +163,6 @@ import lime.ui.Joystick;
|
||||
import lime.ui.JoystickHatPosition;
|
||||
import lime.ui.KeyCode;
|
||||
import lime.ui.KeyModifier;
|
||||
import lime.ui.Mouse;
|
||||
import lime.ui.MouseCursor;
|
||||
import lime.ui.ScanCode;
|
||||
import lime.ui.Touch;
|
||||
import lime.ui.Window;
|
||||
|
||||
@@ -109,7 +109,7 @@ abstract HBFont(CFFIPointer) from CFFIPointer to CFFIPointer {
|
||||
public function makeImmutable ():Void {
|
||||
|
||||
#if (lime_cffi && lime_harfbuzz && !macro)
|
||||
return NativeCFFI.lime_hb_font_make_immutable (this);
|
||||
NativeCFFI.lime_hb_font_make_immutable (this);
|
||||
#end
|
||||
|
||||
}
|
||||
@@ -118,9 +118,7 @@ abstract HBFont(CFFIPointer) from CFFIPointer to CFFIPointer {
|
||||
public function subtractGlyphOriginForDirection (glyph:Int, direction:HBDirection, x:Int, y:Int):Void {
|
||||
|
||||
#if (lime_cffi && lime_harfbuzz && !macro)
|
||||
return NativeCFFI.lime_hb_font_subtract_glyph_origin_for_direction (this, glyph, direction, x, y);
|
||||
#else
|
||||
return null;
|
||||
NativeCFFI.lime_hb_font_subtract_glyph_origin_for_direction (this, glyph, direction, x, y);
|
||||
#end
|
||||
|
||||
}
|
||||
|
||||
@@ -141,7 +141,7 @@ abstract HBSet(CFFIPointer) from CFFIPointer to CFFIPointer {
|
||||
public function set (other:HBSet):Void {
|
||||
|
||||
#if (lime_cffi && lime_harfbuzz && !macro)
|
||||
return NativeCFFI.lime_hb_set_set (this, other);
|
||||
NativeCFFI.lime_hb_set_set (this, other);
|
||||
#end
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user