class

FDesignResidualApprovals

Module
EditorFramework
Header
#include "EditorFramework/DesignResidualApprovals.h"
Namespace
Mowo

Public functions

ReturnsNameDescription
std::stringDefaultPath<MowoEditor module dir>/Design/ResidualApprovals.txt, beside DesignScreens.json.
boolIsKnownClassThe classes an area may be approved as; anything else is refused so a typo cannot mask a screen.
std::vector<FDesignResidualApproval>ParsePure so the format is checkable without a file.
std::stringFormat
std::vector<FDesignResidualApproval>Load
boolAppend
std::vector<FDesignRect>MasksForThe rectangles approved for one screen and theme, to add to the row's masks; note gains a count.

Function details

DefaultPath

C++
static std::string DefaultPath()

<MowoEditor module dir>/Design/ResidualApprovals.txt, beside DesignScreens.json.

IsKnownClass

C++
static bool IsKnownClass(const std::string& name)

The classes an area may be approved as; anything else is refused so a typo cannot mask a screen.

Parse

C++
static std::vector<FDesignResidualApproval> Parse(const std::string& text, int32_t& dropped)

Pure so the format is checkable without a file. Blank lines and # comments are skipped; a malformed line is dropped and counted in dropped.

Format

C++
static std::string Format(const std::vector<FDesignResidualApproval>& approvals)

Load

C++
static std::vector<FDesignResidualApproval> Load(const std::string& path)

Append

C++
static bool Append(const std::string& path, const FDesignResidualApproval& approval, std::string& error)

MasksFor

C++
static std::vector<FDesignRect> MasksFor(const std::vector<FDesignResidualApproval>& approvals, const std::string& folder, const std::string& theme, std::string& note)

The rectangles approved for one screen and theme, to add to the row's masks; note gains a count.

Generated from EditorFramework/DesignResidualApprovals.h via editorframework.json · Dec 5, 2026Version 1.1.0