ManaPlus
Macros | Variables
setup_theme.cpp File Reference

(986a3bf)

#include "gui/widgets/tabs/setup_theme.h"
#include "gui/gui.h"
#include "gui/themeinfo.h"
#include "gui/windows/okdialog.h"
#include "gui/models/fontsizechoicelistmodel.h"
#include "gui/models/fontsmodel.h"
#include "gui/models/langlistmodel.h"
#include "gui/models/themesmodel.h"
#include "gui/widgets/button.h"
#include "gui/widgets/containerplacer.h"
#include "gui/widgets/createwidget.h"
#include "gui/widgets/dropdown.h"
#include "gui/widgets/label.h"
#include "gui/widgets/layouthelper.h"
#include "configuration.h"
#include "utils/delete2.h"
#include "debug.h"

Go to the source code of this file.

Macros

#define updateField(name1, name2)
 

Variables

const char * ACTION_THEME = "theme"
 
const char * ACTION_FONT = "font"
 
const char * ACTION_LANG = "lang"
 
const char * ACTION_BOLD_FONT = "bold font"
 
const char * ACTION_PARTICLE_FONT = "particle font"
 
const char * ACTION_HELP_FONT = "help font"
 
const char * ACTION_SECURE_FONT = "secure font"
 
const char * ACTION_NPC_FONT = "npc font"
 
const char * ACTION_JAPAN_FONT = "japanese font"
 
const char * ACTION_CHINA_FONT = "chinese font"
 
const char * ACTION_INFO = "info"
 

Macro Definition Documentation

◆ updateField

#define updateField (   name1,
  name2 
)
Value:
if (!mInfo->name1.empty()) \
name2 = mInfo->name1

Definition at line 348 of file setup_theme.cpp.

Variable Documentation

◆ ACTION_BOLD_FONT

const char* ACTION_BOLD_FONT = "bold font"

Definition at line 51 of file setup_theme.cpp.

Referenced by Setup_Theme::action(), and Setup_Theme::Setup_Theme().

◆ ACTION_CHINA_FONT

const char* ACTION_CHINA_FONT = "chinese font"

Definition at line 57 of file setup_theme.cpp.

Referenced by Setup_Theme::action(), and Setup_Theme::Setup_Theme().

◆ ACTION_FONT

const char* ACTION_FONT = "font"

Definition at line 49 of file setup_theme.cpp.

Referenced by Setup_Theme::action(), and Setup_Theme::Setup_Theme().

◆ ACTION_HELP_FONT

const char* ACTION_HELP_FONT = "help font"

Definition at line 53 of file setup_theme.cpp.

Referenced by Setup_Theme::action(), and Setup_Theme::Setup_Theme().

◆ ACTION_INFO

const char* ACTION_INFO = "info"

Definition at line 58 of file setup_theme.cpp.

Referenced by Setup_Theme::action().

◆ ACTION_JAPAN_FONT

const char* ACTION_JAPAN_FONT = "japanese font"

Definition at line 56 of file setup_theme.cpp.

Referenced by Setup_Theme::action(), and Setup_Theme::Setup_Theme().

◆ ACTION_LANG

const char* ACTION_LANG = "lang"

Definition at line 50 of file setup_theme.cpp.

Referenced by Setup_Theme::action(), and Setup_Theme::Setup_Theme().

◆ ACTION_NPC_FONT

const char* ACTION_NPC_FONT = "npc font"

Definition at line 55 of file setup_theme.cpp.

Referenced by Setup_Theme::action(), and Setup_Theme::Setup_Theme().

◆ ACTION_PARTICLE_FONT

const char* ACTION_PARTICLE_FONT = "particle font"

Definition at line 52 of file setup_theme.cpp.

Referenced by Setup_Theme::action(), and Setup_Theme::Setup_Theme().

◆ ACTION_SECURE_FONT

const char* ACTION_SECURE_FONT = "secure font"

Definition at line 54 of file setup_theme.cpp.

Referenced by Setup_Theme::action(), and Setup_Theme::Setup_Theme().

◆ ACTION_THEME

const char* ACTION_THEME = "theme"

Definition at line 48 of file setup_theme.cpp.

Referenced by Setup_Theme::action(), and Setup_Theme::Setup_Theme().