7 #if defined FMGUI_ENABLE_IMPLOT
16 static void FmGuiRoutine(
void)
22 ImGui::ShowDemoWindow();
25 ImGui::Begin(
"Hello, world!");
26 ImGui::Text(
"Here, have some text.");
31 #if defined FMGUI_ENABLE_IMPLOT
32 ImPlot::ShowDemoWindow();
37 static void FmGuiInputRoutine(UINT uMsg, WPARAM wParam, LPARAM lParam)
45 if (uMsg == WM_KEYDOWN)
49 std::printf(
"W key pressed!\n");
67 void ed_fm_set_plugin_data_install_path(
const char *path)
86 config.
style = FmGui::Style::kCLASSIC;
92 std::fprintf(stderr,
"FmGui::StartupHook failed!\n");
113 void ed_fm_release(
void)
118 std::fprintf(stderr,
"FmGui::ShutdownHook failed...\n");
bool StartupHook(const Config &config=Config())
std::string AddressDump(void)
void SetRoutinePtr(RoutinePtr pRoutine)
void SetInputRoutinePtr(InputRoutinePtr pInputRoutine)
bool SetWidgetVisibility(bool bEnabled)
FmGui configuration data.