The Battle for Wesnoth  1.15.0-dev
Classes | Namespaces | Macros | Functions
location_palette.cpp File Reference
#include "editor/palette/location_palette.hpp"
#include "gettext.hpp"
#include "font/marked-up_text.hpp"
#include "font/standard_colors.hpp"
#include "tooltips.hpp"
#include "editor/editor_common.hpp"
#include "editor/toolkit/editor_toolkit.hpp"
#include "gui/dialogs/edit_text.hpp"
#include "gui/dialogs/transient_message.hpp"
#include "formula/string_utils.hpp"
#include <boost/regex.hpp>
Include dependency graph for location_palette.cpp:

Go to the source code of this file.

Classes

class  location_palette_item
 
struct  location_palette_item::state_t
 

Namespaces

 editor
 Manage the empty-palette in the editor.
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-editor"
 

Functions

static bool is_positive_integer (const std::string &str)
 
static bool editor::loc_id_comp (const std::string &lhs, const std::string &rhs)
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-editor"

Definition at line 15 of file location_palette.cpp.

Function Documentation

◆ is_positive_integer()

static bool is_positive_integer ( const std::string &  str)
static

Definition at line 33 of file location_palette.cpp.

References c.

Referenced by editor::loc_id_comp(), and location_palette_item::set_item_id().