@ -71,7 +71,7 @@ namespace ImGuiNET
[DllImport(cimguiLib)]
public static extern DrawList * igGetWindowDrawList ( ) ;
[DllImport(cimguiLib)]
public static extern Font * igGetWindowFont ( ) ;
public static extern Native Font* igGetWindowFont ( ) ;
[DllImport(cimguiLib)]
public static extern float igGetWindowFontSize ( ) ;
[DllImport(cimguiLib)]
@ -147,7 +147,7 @@ namespace ImGuiNET
// Parameters stacks (shared)
[DllImport(cimguiLib)]
public static extern void igPushFont ( Font * font ) ;
public static extern void igPushFont ( Native Font* font ) ;
[DllImport(cimguiLib)]
public static extern void igPopFont ( ) ;
[DllImport(cimguiLib)]
@ -645,6 +645,12 @@ namespace ImGuiNET
public static extern float igGetTime ( ) ;
[DllImport(cimguiLib)]
public static extern int igGetFrameCount ( ) ;
internal static void igPushFont ( object nativeFont )
{
throw new NotImplementedException ( ) ;
}
[DllImport(cimguiLib)]
public static extern string igGetStyleColName ( ColorTarget idx ) ;
[DllImport(cimguiLib)]
@ -741,34 +747,34 @@ namespace ImGuiNET
[DllImport(cimguiLib)]
public static extern void ImFontAtlas_GetTexDataAsRGBA32 ( FontAtlas * atlas , byte * * out_pixels , int * out_width , int * out_height , int * out_bytes_per_pixel ) ;
public static extern void ImFontAtlas_GetTexDataAsRGBA32 ( Native FontAtlas* atlas , byte * * out_pixels , int * out_width , int * out_height , int * out_bytes_per_pixel ) ;
[DllImport(cimguiLib)]
public static extern void ImFontAtlas_GetTexDataAsAlpha8 ( FontAtlas * atlas , byte * * out_pixels , int * out_width , int * out_height , int * out_bytes_per_pixel ) ;
public static extern void ImFontAtlas_GetTexDataAsAlpha8 ( Native FontAtlas* atlas , byte * * out_pixels , int * out_width , int * out_height , int * out_bytes_per_pixel ) ;
[DllImport(cimguiLib)]
public static extern void ImFontAtlas_SetTexID ( FontAtlas * atlas , void * tex ) ;
public static extern void ImFontAtlas_SetTexID ( Native FontAtlas* atlas , void * tex ) ;
[DllImport(cimguiLib)]
public static extern Font * ImFontAtlas_AddFont ( FontAtlas * atlas , ref FontConfig font_cfg ) ;
public static extern Native Font* ImFontAtlas_AddFont ( Native FontAtlas* atlas , ref FontConfig font_cfg ) ;
[DllImport(cimguiLib)]
public static extern Font * ImFontAtlas_AddFontDefault ( FontAtlas * atlas , IntPtr font_cfg ) ;
public static Font * ImFontAtlas_AddFontDefault ( FontAtlas * atlas ) { return ImFontAtlas_AddFontDefault ( atlas , IntPtr . Zero ) ; }
public static extern Native Font* ImFontAtlas_AddFontDefault ( Native FontAtlas* atlas , IntPtr font_cfg ) ;
public static Native Font* ImFontAtlas_AddFontDefault ( Native FontAtlas* atlas ) { return ImFontAtlas_AddFontDefault ( atlas , IntPtr . Zero ) ; }
[DllImport(cimguiLib)]
public static extern Font * ImFontAtlas_AddFontFromFileTTF ( FontAtlas * atlas , string filename , float size_pixels , IntPtr font_cfg , char * glyph_ranges ) ;
public static extern Native Font* ImFontAtlas_AddFontFromFileTTF ( Native FontAtlas* atlas , string filename , float size_pixels , IntPtr font_cfg , char * glyph_ranges ) ;
[DllImport(cimguiLib)]
public static extern Font * ImFontAtlas_AddFontFromMemoryTTF ( FontAtlas * atlas , void * ttf_data , int ttf_size , float size_pixels , IntPtr font_cfg , char * glyph_ranges ) ;
public static extern Native Font* ImFontAtlas_AddFontFromMemoryTTF ( Native FontAtlas* atlas , void * ttf_data , int ttf_size , float size_pixels , IntPtr font_cfg , char * glyph_ranges ) ;
[DllImport(cimguiLib)]
public static extern Font * ImFontAtlas_AddFontFromMemoryCompressedTTF ( FontAtlas * atlas , void * compressed_ttf_data , int compressed_ttf_size , float size_pixels , FontConfig * font_cfg , char * glyph_ranges ) ;
public static extern Native Font* ImFontAtlas_AddFontFromMemoryCompressedTTF ( Native FontAtlas* atlas , void * compressed_ttf_data , int compressed_ttf_size , float size_pixels , FontConfig * font_cfg , char * glyph_ranges ) ;
[DllImport(cimguiLib)]
public static extern Font * ImFontAtlas_AddFontFromMemoryCompressedBase85TTF ( FontAtlas * atlas , string compressed_ttf_data_base85 , float size_pixels , FontConfig * font_cfg , char * glyph_ranges ) ;
public static extern Native Font* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF ( Native FontAtlas* atlas , string compressed_ttf_data_base85 , float size_pixels , FontConfig * font_cfg , char * glyph_ranges ) ;
[DllImport(cimguiLib)]
public static extern void ImFontAtlas_ClearTexData ( FontAtlas * atlas ) ;
public static extern void ImFontAtlas_ClearTexData ( Native FontAtlas* atlas ) ;
[DllImport(cimguiLib)]
public static extern void ImFontAtlas_Clear ( FontAtlas * atlas ) ;
public static extern void ImFontAtlas_Clear ( Native FontAtlas* atlas ) ;
[DllImport(cimguiLib)]