|
| ImU32 | nanommo::Faded (ImU32 color, float share) |
| | The same colour, with its alpha times the share.
|
| const Fonts & | nanommo::GetFonts () |
| void | nanommo::LoadFonts (const std::string &folder) |
| std::string | nanommo::FontFolder () |
| | Where the client's fonts are, next to it.
|
| float | nanommo::InterfaceScale (float height, float player) |
| float | nanommo::UiScale () |
| float | nanommo::Ui (float points) |
| ImVec2 | nanommo::Ui (ImVec2 points) |
| void | nanommo::ApplyTheme (float scale) |
| | ImGui's style in our colours, with its sizes and its text at the scale.
|
| void | nanommo::PathPanel (ImDrawList *draw, ImVec2 min, ImVec2 max, float cut) |
| | A panel's shape: a rectangle with its corners cut off.
|
| void | nanommo::DrawPanel (ImDrawList *draw, ImVec2 min, ImVec2 max, float alpha) |
| void | nanommo::DrawDiamond (ImDrawList *draw, ImVec2 centre, float radius, ImU32 fill, ImU32 outline) |
| | A diamond, filled, with an outline.
|
| void | nanommo::DrawDivider (ImDrawList *draw, ImVec2 left, float width) |
| void | nanommo::DrawShadowedText (ImDrawList *draw, ImFont *font, float size, ImVec2 at, ImU32 color, const char *text) |
| | Text with a shadow under it.
|
| void | nanommo::DrawGradientText (ImDrawList *draw, ImFont *font, float size, ImVec2 at, ImU32 top, ImU32 bottom, const char *text) |
| void | nanommo::DrawTitle (ImDrawList *draw, ImVec2 top_centre, float size, const char *text) |
| | A title in carved gold capitals, centred on the point at its top.
|
| std::string | nanommo::Shown (const char *label) |
| | The part of an ImGui label that's shown: what's before any "##".
|
| bool | nanommo::BeginPanel (const char *name, bool *open, ImGuiWindowFlags flags, float alpha) |
| void | nanommo::EndPanel () |
| bool | nanommo::GameButton (const char *label, ImVec2 size, bool primary, bool enabled) |
| void | nanommo::DrawBar (ImDrawList *draw, ImVec2 min, ImVec2 max, float share, ImU32 color, ImU32 dark, const char *text) |
| void | nanommo::DrawSlot (ImDrawList *draw, ImVec2 min, ImVec2 max, ImU32 edge) |
| void | nanommo::DrawRoundButton (ImDrawList *draw, ImVec2 centre, float radius, const char *icon, bool hovered, bool on) |
| void | nanommo::DrawSlotIcon (ImDrawList *draw, ImVec2 min, ImVec2 max, const char *icon, ImU32 color, float alpha=1.0f) |
| | An icon in the middle of a slot, in its colour, on a glow of that colour.
|
| void | nanommo::DrawDragged (const char *icon, ImU32 color, float size, ImVec2 grab) |
| void | nanommo::DrawBackdrop (ImDrawList *draw, ImVec2 size, float time) |
| void | nanommo::DrawLogo (ImDrawList *draw, ImVec2 top_centre, float size) |
|
| constexpr ImU32 | nanommo::colors::kNight = IM_COL32(11, 5, 7, 255) |
| constexpr ImU32 | nanommo::colors::kCoal = IM_COL32(30, 14, 17, 255) |
| constexpr ImU32 | nanommo::colors::kWine = IM_COL32(76, 11, 20, 255) |
| constexpr ImU32 | nanommo::colors::kCrimson = IM_COL32(148, 18, 31, 255) |
| constexpr ImU32 | nanommo::colors::kRed = IM_COL32(196, 29, 41, 255) |
| constexpr ImU32 | nanommo::colors::kEmber = IM_COL32(255, 90, 60, 255) |
| constexpr ImU32 | nanommo::colors::kFlame = IM_COL32(255, 160, 74, 255) |
| constexpr ImU32 | nanommo::colors::kGold = IM_COL32(255, 211, 77, 255) |
| constexpr ImU32 | nanommo::colors::kGoldLight = IM_COL32(255, 243, 196, 255) |
| constexpr ImU32 | nanommo::colors::kGoldDark = IM_COL32(201, 138, 18, 255) |
| constexpr ImU32 | nanommo::colors::kBrass = IM_COL32(138, 98, 38, 255) |
| | The trim round every panel: gold gone dark with age.
|
| constexpr ImU32 | nanommo::colors::kPaper = IM_COL32(243, 233, 220, 255) |
| constexpr ImU32 | nanommo::colors::kMuted = IM_COL32(181, 162, 151, 255) |
| constexpr ImU32 | nanommo::colors::kFaint = IM_COL32(143, 123, 112, 255) |
| constexpr ImU32 | nanommo::colors::kShadow = IM_COL32(0, 0, 0, 200) |
| constexpr ImU32 | nanommo::colors::kHealth = IM_COL32(214, 52, 46, 255) |
| constexpr ImU32 | nanommo::colors::kHealthDark = IM_COL32(110, 16, 22, 255) |
| constexpr ImU32 | nanommo::colors::kGood = IM_COL32(126, 214, 112, 255) |
| constexpr float | nanommo::kTextSize = 18.0f |
| | In points, at a scale of one.
|