|
Harmony
HARMONic stabilitY assessment of PE-penetrated power systems
|

Go to the source code of this file.
Functions | |
| ImFont * | harmonyInitUiFont (ImGuiIO &io, float sizePixels=kHarmonyUiFontSizePx) |
| Load the primary UI font and replace ImGui's default. | |
| void | harmonyApplyUiStyleScale (float scale=kHarmonyUiStyleScale) |
| Enlarge paddings, buttons, and scroll bars for readability. | |
| void | harmonyApplyPlotStyle () |
| Enlarge ImPlot tick labels, legends, markers, and line weight. | |
| 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. | |
| ImFont * | harmonyInitBannerFont (ImGuiIO &io, float sizePixels=10.0f) |
| Load a monospace font for the ASCII banner in the current ImGui context. | |
| void | harmonyDrawBannerImGui (ImFont *bannerFont, bool compact=false) |
| Draw the embedded banner inside the active ImGui window. | |
Variables | |
| constexpr float | kHarmonyUiFontSizePx = 20.0f |
| Default UI font size (pixels) for HarmonyUI. | |
| constexpr float | kHarmonyLauncherBannerFontSizePx = 10.0f |
| ASCII banner font size (pixels) in the launcher. | |
| constexpr float | kHarmonyUiStyleScale = 1.35f |
| ImGui widget scale factor for HarmonyUI. | |
| constexpr float | kHarmonyPlotUiFontSizePx = 24.0f |
| UI font size (pixels) in the plot / visualization window. | |
| constexpr float | kHarmonyPlotUiStyleScale = 1.45f |
| ImGui widget scale in the plot window. | |
| constexpr float | kHarmonyPlotPanelHeightPx = 380.0f |
| Default height for standard ImPlot panels. | |
| constexpr float | kHarmonyPlotEigenHeightPx = 640.0f |
| Height for eigenvalue s-plane plots. | |
| constexpr float | kHarmonyPlotWaveformHeightPx = 300.0f |
| Height for abc / grouped waveform plots. | |
| void harmonyApplyPlotStyle | ( | ) |
Enlarge ImPlot tick labels, legends, markers, and line weight.
Referenced by harmonyConfigurePlotUi().
| void harmonyApplyUiStyleScale | ( | float | scale = kHarmonyUiStyleScale | ) |
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, |
| bool | compact = false |
||
| ) |
Draw the embedded banner inside the active ImGui window.
References harmonyAsciiBanner().
| ImFont * harmonyInitBannerFont | ( | ImGuiIO & | io, |
| float | sizePixels = 10.0f |
||
| ) |
Load a monospace font for the ASCII banner in the current ImGui context.
Referenced by harmonyConfigureLauncherUi(), and runHarmonyLauncher().
| ImFont * harmonyInitUiFont | ( | ImGuiIO & | io, |
| float | sizePixels = kHarmonyUiFontSizePx |
||
| ) |
Load the primary UI font and replace ImGui's default.
Referenced by harmonyConfigureLauncherUi(), and harmonyConfigurePlotUi().
|
constexpr |
ASCII banner font size (pixels) in the launcher.
Referenced by harmonyConfigureLauncherUi(), and runHarmonyLauncher().
|
constexpr |
Height for eigenvalue s-plane plots.
Referenced by plot_eigenvalues_implot().
|
constexpr |
Default height for standard ImPlot panels.
Referenced by bode_plot_implot().
|
constexpr |
UI font size (pixels) in the plot / visualization window.
Referenced by harmonyConfigurePlotUi().
|
constexpr |
ImGui widget scale in the plot window.
Referenced by harmonyConfigurePlotUi().
|
constexpr |
Height for abc / grouped waveform plots.
Referenced by plot_abc_groups_implot().
|
constexpr |
Default UI font size (pixels) for HarmonyUI.
Referenced by harmonyConfigureLauncherUi().
|
constexpr |
ImGui widget scale factor for HarmonyUI.
Referenced by harmonyConfigureLauncherUi().