VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
CenterHtmlRender.cpp File Reference
#include "Menu/CenterHtmlRender.hpp"
#include <VoltMod/Core/Text/Strings.hpp>
#include <VoltMod/Core/Text/Translations.hpp>
#include <VoltMod/Menu/MenuModel.hpp>
#include <VoltMod/Ui/Palette.hpp>
#include <algorithm>
#include <sstream>
#include <string>
#include <string_view>

Go to the source code of this file.

Namespaces

namespace  VoltMod

Functions

std::string VoltMod::RenderHeader (const CenterHtmlHeader &header)
static std::string VoltMod::FooterChunk (std::string_view keyColor, std::string_view keyText, const std::string &label)
std::string VoltMod::RenderFooter (bool isSubmenu, bool isPaginated, bool selectedRowSteps, int slot, Translations &translations)
static std::string VoltMod::RowText (const MenuRow &row)
static std::string VoltMod::RenderItems (const CenterHtmlView &view, int pageStart, int pageEnd, MenuRow &selected)
std::string VoltMod::RenderMenuHtml (const Menu *menu, const CenterHtmlView &view, Translations &translations)
std::string VoltMod::RenderCaptureOverlay (const std::string &menuTitle, std::string_view prompt)