Player12
An open source football management simulator
Loading...
Searching...
No Matches
editor_fields.cpp File Reference
#include "gui/view_models/editor_fields.h"
#include <algorithm>
#include <limits>
#include "global/global.h"
#include "global/languages.h"
#include "model/role_utils.h"

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)