Skip to content

Commit

Permalink
Updated ImFontConfig struct haxe types
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidan63 committed Jan 27, 2018
1 parent 55b3f93 commit 28a0736
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions imgui/font/ImFontConfig.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package imgui.font;

import cpp.Pointer;
import cpp.ConstPointer;
import imgui.ImGui;
import imgui.util.ImVec2;

Expand All @@ -12,18 +11,19 @@ import imgui.util.ImVec2;
@:unreflective
extern class ImFontConfig
{
@:native('FontData') public var fontData : Pointer<Void>;
@:native('FontData') public var fontData : cpp.RawPointer<cpp.Void>;
@:native('FontDataSize') public var fontDataSize : Int;
@:native('FontDataOwnedByAtas') public var fontDataOwnedByAtas : Bool;
@:native('FontNo') public var fontNo : Int;
@:native('SizePixels') public var sizePixels : Float;
@:native('OversampleH') public var oversampleH : Int;
@:native('OversampleV') public var oversampleV : Int;
@:native('PixelSnapH') public var pixelSnapH : Bool;
@:native('GlyphExtraSpacing') public var glyphExtraSpacing : ImVec2;
@:native('GlyphOffset') public var glyphOffset : ImVec2;
@:native('GlyphRanges') public var glyphRanges : ConstPointer<ImWchar>;
@:native('GlyphRanges') public var glyphRanges : cpp.RawConstPointer<ImWchar>;
@:native('MergeMode') public var mergeMode : Bool;
@:native('RasterizerFlags') public var rasterizerFlags : UInt;
@:native('RasterizerFlags') public var rasterizerFlags : Int;
@:native('RasterizerMultiply') public var rasterizerMultiply : Float;

@:native('new ImFontConfig') static function create() : Pointer<ImFontConfig>;
Expand Down

0 comments on commit 28a0736

Please sign in to comment.