Player12
An open source football management simulator
Loading...
Searching...
No Matches
editor_fields.h File Reference
#include <optional>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "gui/nav_history.h"

Go to the source code of this file.

Classes

struct  EditorField
 

Functions

std::vector< EditorField > editorFields (std::string_view table)
 
std::string_view editorTable (NavSection section)
 
bool hasBuiltinEditor (const std::optional< NavEntry > &context)
 

Function Documentation

◆ editorFields()

std::vector< EditorField > editorFields ( std::string_view  table)

Built-in gameplay controls. Unknown tables have no implicit editing surface; new features supply EditorContext::editable_fields explicitly. Player stat keys remain discovered from the player's live stats object.

◆ editorTable()

std::string_view editorTable ( NavSection  section)

Navigation support used by both the pencil affordance and the dialog.

◆ hasBuiltinEditor()

bool hasBuiltinEditor ( const std::optional< NavEntry > &  context)