VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
MenuModel.hpp File Reference
#include <functional>
#include <memory>
#include <optional>
#include <string>
#include <string_view>
#include <vector>

Go to the source code of this file.

Classes

struct  VoltMod::MenuRow
struct  VoltMod::MenuOptions
class  VoltMod::MenuSurface
struct  VoltMod::MenuItem
struct  VoltMod::Menu

Namespaces

namespace  VoltMod

Enumerations

enum class  VoltMod::MenuRowKind {
  VoltMod::Text , VoltMod::Button , VoltMod::Submenu , VoltMod::Toggle ,
  VoltMod::Choice , VoltMod::Input
}

Functions

constexpr int VoltMod::PageCount (int items, int perPage)
constexpr int VoltMod::WrapIndex (int value, int count)
bool VoltMod::IsRowActionable (const MenuItem &item, int slot)