1 /++ 2 + Machine generated D bindings for Sokol library. 3 + 4 + Source header: sokol_app_imgui.h 5 + Module: sokol.appimgui 6 + 7 + Do not edit manually; regenerate using gen_d.py. 8 +/ 9 module sokol.appimgui; 10 import sapp = sokol.app; 11 12 extern(C) void sappimgui_setup() @system @nogc nothrow pure; 13 void setup() @trusted @nogc nothrow pure { 14 sappimgui_setup(); 15 } 16 extern(C) void sappimgui_shutdown() @system @nogc nothrow pure; 17 void shutdown() @trusted @nogc nothrow pure { 18 sappimgui_shutdown(); 19 } 20 extern(C) void sappimgui_track_frame() @system @nogc nothrow pure; 21 void trackFrame() @trusted @nogc nothrow pure { 22 sappimgui_track_frame(); 23 } 24 extern(C) void sappimgui_track_event(const sapp.Event* ev) @system @nogc nothrow pure; 25 void trackEvent(scope ref sapp.Event ev) @trusted @nogc nothrow pure { 26 sappimgui_track_event(&ev); 27 } 28 extern(C) void sappimgui_draw() @system @nogc nothrow pure; 29 void draw() @trusted @nogc nothrow pure { 30 sappimgui_draw(); 31 } 32 extern(C) void sappimgui_draw_menu(const(char)* title) @system @nogc nothrow pure; 33 void drawMenu(const(char)* title) @trusted @nogc nothrow pure { 34 sappimgui_draw_menu(title); 35 } 36 extern(C) void sappimgui_draw_hud_window_content() @system @nogc nothrow pure; 37 void drawHudWindowContent() @trusted @nogc nothrow pure { 38 sappimgui_draw_hud_window_content(); 39 } 40 extern(C) void sappimgui_draw_publicstate_window_content() @system @nogc nothrow pure; 41 void drawPublicstateWindowContent() @trusted @nogc nothrow pure { 42 sappimgui_draw_publicstate_window_content(); 43 } 44 extern(C) void sappimgui_draw_event_window_content() @system @nogc nothrow pure; 45 void drawEventWindowContent() @trusted @nogc nothrow pure { 46 sappimgui_draw_event_window_content(); 47 } 48 extern(C) void sappimgui_draw_hud_window(const(char)* title) @system @nogc nothrow pure; 49 void drawHudWindow(const(char)* title) @trusted @nogc nothrow pure { 50 sappimgui_draw_hud_window(title); 51 } 52 extern(C) void sappimgui_draw_publicstate_window(const(char)* title) @system @nogc nothrow pure; 53 void drawPublicstateWindow(const(char)* title) @trusted @nogc nothrow pure { 54 sappimgui_draw_publicstate_window(title); 55 } 56 extern(C) void sappimgui_draw_event_window(const(char)* title) @system @nogc nothrow pure; 57 void drawEventWindow(const(char)* title) @trusted @nogc nothrow pure { 58 sappimgui_draw_event_window(title); 59 } 60 extern(C) void sappimgui_draw_hud_menu_item(const(char)* label) @system @nogc nothrow pure; 61 void drawHudMenuItem(const(char)* label) @trusted @nogc nothrow pure { 62 sappimgui_draw_hud_menu_item(label); 63 } 64 extern(C) void sappimgui_draw_publicstate_menu_item(const(char)* label) @system @nogc nothrow pure; 65 void drawPublicstateMenuItem(const(char)* label) @trusted @nogc nothrow pure { 66 sappimgui_draw_publicstate_menu_item(label); 67 } 68 extern(C) void sappimgui_draw_event_menu_item(const(char)* label) @system @nogc nothrow pure; 69 void drawEventMenuItem(const(char)* label) @trusted @nogc nothrow pure { 70 sappimgui_draw_event_menu_item(label); 71 }