|
Harmony
HARMONic stabilitY assessment of PE-penetrated power systems
|
#include "harmony_banner_gui.h"#include "harmony_banner.h"#include <imgui.h>#include <implot.h>#include <filesystem>
Functions | |
| ImFont * | harmonyInitUiFont (ImGuiIO &io, const float sizePixels) |
| Load the primary UI font and replace ImGui's default. | |
| void | harmonyApplyUiStyleScale (const float scale) |
| Enlarge paddings, buttons, and scroll bars for readability. | |
| ImFont * | harmonyConfigureLauncherUi (ImGuiIO &io, ImFont **bannerFontOut) |
| Configure fonts and style for the HarmonyUI launcher window. | |
| ImFont * | harmonyConfigurePlotUi (ImGuiIO &io) |
| Configure fonts and style for the Harmony Visualization window. | |
| void | harmonyApplyPlotStyle () |
| Enlarge ImPlot tick labels, legends, markers, and line weight. | |
| ImFont * | harmonyInitBannerFont (ImGuiIO &io, const float sizePixels) |
| Load a monospace font for the ASCII banner in the current ImGui context. | |
| void | harmonyDrawBannerImGui (ImFont *bannerFont, const bool compact) |
| Draw the embedded banner inside the active ImGui window. | |
| void harmonyApplyPlotStyle | ( | ) |
Enlarge ImPlot tick labels, legends, markers, and line weight.
Referenced by harmonyConfigurePlotUi().
| void harmonyApplyUiStyleScale | ( | const float | scale | ) |
Enlarge paddings, buttons, and scroll bars for readability.
Referenced by harmonyConfigureLauncherUi(), and harmonyConfigurePlotUi().
| ImFont * harmonyConfigureLauncherUi | ( | ImGuiIO & | io, |
| ImFont ** | bannerFontOut | ||
| ) |
Configure fonts and style for the HarmonyUI launcher window.
References harmonyApplyUiStyleScale(), harmonyInitBannerFont(), harmonyInitUiFont(), kHarmonyLauncherBannerFontSizePx, kHarmonyUiFontSizePx, and kHarmonyUiStyleScale.
| ImFont * harmonyConfigurePlotUi | ( | ImGuiIO & | io | ) |
Configure fonts and style for the Harmony Visualization window.
References harmonyApplyPlotStyle(), harmonyApplyUiStyleScale(), harmonyInitUiFont(), kHarmonyPlotUiFontSizePx, and kHarmonyPlotUiStyleScale.
Referenced by init_gui(), and runHarmonyLauncher().
| void harmonyDrawBannerImGui | ( | ImFont * | bannerFont, |
| const bool | compact | ||
| ) |
Draw the embedded banner inside the active ImGui window.
References harmonyAsciiBanner().
| ImFont * harmonyInitBannerFont | ( | ImGuiIO & | io, |
| const float | sizePixels | ||
| ) |
Load a monospace font for the ASCII banner in the current ImGui context.
Referenced by harmonyConfigureLauncherUi(), and runHarmonyLauncher().
| ImFont * harmonyInitUiFont | ( | ImGuiIO & | io, |
| const float | sizePixels | ||
| ) |
Load the primary UI font and replace ImGui's default.
Referenced by harmonyConfigureLauncherUi(), and harmonyConfigurePlotUi().