The Battle for Wesnoth  1.19.0-dev
Classes | Namespaces | Macros | Functions
location_palette.cpp File Reference
#include "editor/palette/location_palette.hpp"
#include "draw.hpp"
#include "editor/editor_common.hpp"
#include "editor/toolkit/editor_toolkit.hpp"
#include "font/sdl_ttf_compat.hpp"
#include "font/standard_colors.hpp"
#include "formula/string_utils.hpp"
#include "gettext.hpp"
#include "gui/dialogs/edit_text.hpp"
#include "gui/dialogs/transient_message.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
 
class  location_palette_button
 

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 16 of file location_palette.cpp.

Function Documentation

◆ is_positive_integer()

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

Definition at line 32 of file location_palette.cpp.

References c.

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