|
Player12
An open source football management simulator
|
#include "gui/scenes/transfer_terms_editor.h"#include <fmt/printf.h>#include <imgui.h>#include <algorithm>#include <limits>#include "global/language_manager.h"#include "gui/widgets/format.h"#include "gui/widgets/theme.h"#include "model/transfer_tuning.h"Namespaces | |
| namespace | TransferTermsEditor |
| Pieces shared by the transfer dialogs: the structured offer editor (fee, upfront share, instalments, add-ons, sell-on), captions, panels and right-aligned action rows. | |
Functions | |
| void | TransferTermsEditor::formLabel (const char *text) |
| void | TransferTermsEditor::alignActions (std::initializer_list< const char * > labels) |
| bool | TransferTermsEditor::beginPanel (const char *id, const char *title) |
| void | TransferTermsEditor::endPanel () |
| bool | TransferTermsEditor::snapToOptions (TransferNegotiation::OfferTerms &terms) |
| bool | TransferTermsEditor::edit (TransferNegotiation::OfferTerms &terms, std::span< const UI::MoneyChip > fee_chips) |
| bool | TransferTermsEditor::snapLoanToOptions (TransferNegotiation::LoanTerms &terms) |
| bool | TransferTermsEditor::editLoan (TransferNegotiation::LoanTerms &terms, std::uint32_t market_value) |
| std::string | TransferTermsEditor::loanTermsLine (const TransferNegotiation::LoanTerms &terms) |
| std::string | TransferTermsEditor::structureText (const TransferNegotiation::OfferTerms &terms) |
| std::array<const char*, 6> labels {} |
| std::string pattern |
| std::array<std::string, 6> texts |