Moved marked-up_text.*pp to font/

This commit is contained in:
Charles Dang 2016-10-16 22:54:07 +11:00
parent 30c1a852d3
commit b6ea5106ca
42 changed files with 43 additions and 43 deletions

View file

@ -339,6 +339,8 @@
<Unit filename="../../src/font/font_description.hpp" />
<Unit filename="../../src/font/font_id.hpp" />
<Unit filename="../../src/font/font_options.hpp" />
<Unit filename="../../src/font/marked-up_text.cpp" />
<Unit filename="../../src/font/marked-up_text.hpp" />
<Unit filename="../../src/font/pango/escape.hpp" />
<Unit filename="../../src/font/pango/font.hpp" />
<Unit filename="../../src/font/pango/hyperlink.hpp" />
@ -862,8 +864,6 @@
<Unit filename="../../src/map/location.hpp" />
<Unit filename="../../src/map/map.cpp" />
<Unit filename="../../src/map/map.hpp" />
<Unit filename="../../src/marked-up_text.cpp" />
<Unit filename="../../src/marked-up_text.hpp" />
<Unit filename="../../src/md5.cpp" />
<Unit filename="../../src/md5.hpp" />
<Unit filename="../../src/menu_events.cpp" />

View file

@ -987,6 +987,7 @@ set(libwesnoth-game_STAT_SRC
floating_label.cpp
font/constants.cpp
font/font_config.cpp
font/marked-up_text.cpp
font/sdl_ttf.cpp
font/text.cpp
font/text_cache.cpp
@ -1012,7 +1013,6 @@ set(libwesnoth-game_STAT_SRC
lobby_preferences.cpp
utils/make_enum.cpp
map/label.cpp
marked-up_text.cpp
minimap.cpp
pathfind/astarsearch.cpp
pathutils.cpp

View file

@ -92,6 +92,7 @@ libwesnoth_sources = Split("""
floating_label.cpp
font/constants.cpp
font/font_config.cpp
font/marked-up_text.cpp
font/sdl_ttf.cpp
font/text.cpp
font/text_cache.cpp
@ -116,7 +117,6 @@ libwesnoth_sources = Split("""
key.cpp
language.cpp
map/label.cpp
marked-up_text.cpp
minimap.cpp
pathfind/astarsearch.cpp
pathutils.cpp

View file

@ -31,7 +31,7 @@
#include "gui/widgets/settings.hpp"
#include "gui/widgets/window.hpp"
#include "log.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "serialization/parser.hpp"
#include "version.hpp"
#include "wml_separators.hpp"

View file

@ -36,7 +36,7 @@
#include "help/help_button.hpp"
#include "image.hpp"
#include "log.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "wml_separators.hpp"
#include "wml_exception.hpp"

View file

@ -17,7 +17,7 @@
#include "addon/manager.hpp"
#include "log.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
static lg::log_domain log_addons_client("addons-client");
#define LOG_AC LOG_STREAM(info, log_addons_client)

View file

@ -21,7 +21,7 @@
#include "game_board.hpp"
#include "game_display.hpp"
#include "language.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "resources.hpp"
#include "units/unit.hpp"
#include "units/abilities.hpp"

View file

@ -19,7 +19,7 @@
#include "gettext.hpp"
#include "game_config.hpp"
#include "log.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "utils/sha1.hpp"
#include "serialization/binary_or_text.hpp"
#include "serialization/parser.hpp"

View file

@ -23,7 +23,7 @@
#include "gettext.hpp"
#include "sound.hpp"
#include "log.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "scripting/plugins/context.hpp"
#include "scripting/plugins/manager.hpp"
#include "sdl/utils.hpp"

View file

@ -28,7 +28,7 @@
#include "hotkey/command_executor.hpp"
#include "language.hpp"
#include "log.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "map/map.hpp"
#include "map/label.hpp"
#include "minimap.hpp"

View file

@ -21,7 +21,7 @@
#include "game_board.hpp" // <-- only needed for is_observer()
#include "game_preferences.hpp"
#include "log.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "mp_ui_alerts.hpp"
#include "serialization/string_utils.hpp"

View file

@ -17,7 +17,7 @@
#include "location_palette.hpp"
#include "gettext.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "tooltips.hpp"
#include "editor/toolkit/editor_toolkit.hpp"

View file

@ -23,7 +23,7 @@
#include "game_config.hpp"
#include "image.hpp"
#include "log.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "serialization/string_utils.hpp"
#include "sound.hpp"
#include "video.hpp"

View file

@ -22,7 +22,7 @@
#include "filesystem.hpp"
#include "game_config.hpp"
#include "log.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "preferences.hpp"
#include "tooltips.hpp"

View file

@ -34,7 +34,7 @@
#include "log.hpp"
#include "map/map.hpp"
#include "map/label.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "reports.hpp"
#include "resources.hpp"
#include "tod_manager.hpp"

View file

@ -27,7 +27,7 @@
#include "generators/map_create.hpp"
#include "map/exception.hpp"
#include "map/map.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "minimap.hpp"
#include "saved_game.hpp"
#include "wml_separators.hpp"

View file

@ -26,7 +26,7 @@
#include "lobby_preferences.hpp"
#include "map/exception.hpp"
#include "map/map.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "minimap.hpp"
#include "multiplayer_lobby.hpp"
#include "gettext.hpp"

View file

@ -24,7 +24,7 @@
#include "gui/dialogs/loadscreen.hpp"
#include "lobby_preferences.hpp"
#include "log.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "menu_events.hpp"
#include "multiplayer.hpp"
#include "multiplayer_ui.hpp"

View file

@ -24,7 +24,7 @@
#include "gui/widgets/window.hpp"
#include "image.hpp"
#include "log.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "mp_game_utils.hpp"
#include "multiplayer_wait.hpp"
#include "statistics.hpp"

View file

@ -23,7 +23,7 @@
#include "gettext.hpp"
#include "log.hpp"
#include "map/map.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "seed_rng.hpp"
static lg::log_domain log_engine("engine");

View file

@ -46,7 +46,7 @@
#include "gui/dialogs/addon/filter_options.hpp"
#include "serialization/string_utils.hpp"
#include "formula/string_utils.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "preferences.hpp"
#include "strftime.hpp"
#include "video.hpp"

View file

@ -26,7 +26,7 @@
#include "gui/widgets/scroll_label.hpp"
#include "gui/widgets/settings.hpp"
#include "gui/widgets/window.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "utils/functional.hpp"

View file

@ -35,7 +35,7 @@
#include "formatter.hpp"
#include "game_board.hpp"
#include "game_classification.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "map/map.hpp"
#include "play_controller.hpp"
#include "resources.hpp"

View file

@ -36,7 +36,7 @@
#include "gettext.hpp"
#include "help/help.hpp"
#include "language.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "resources.hpp"
#include "team.hpp"
#include "units/unit.hpp"

View file

@ -33,7 +33,7 @@
#include "gui/widgets/toggle_button.hpp"
#include "gui/widgets/unit_preview_pane.hpp"
#include "gui/widgets/window.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "help/help.hpp"
#include "game_config.hpp"
#include "gettext.hpp"

View file

@ -29,7 +29,7 @@
#include "gui/widgets/window.hpp"
#include "gettext.hpp"
#include "help/help.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "play_controller.hpp"
#include "resources.hpp"
#include "team.hpp"

View file

@ -32,7 +32,7 @@
#include "formatter.hpp"
#include "formula/string_utils.hpp"
#include "gettext.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "wesnothd_connection.hpp"
#include "config_assign.hpp"
#include "game_preferences.hpp"

View file

@ -23,7 +23,7 @@
#include "gui/dialogs/tip.hpp"
#include "gui/widgets/settings.hpp"
#include "gui/widgets/window.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "hotkey/hotkey_item.hpp"
#include "formatter.hpp"
#include "gettext.hpp"

View file

@ -31,7 +31,7 @@
#include "formula/string_utils.hpp"
#include "gettext.hpp"
#include "help/help.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "play_controller.hpp"
#include "resources.hpp"
#include "team.hpp"

View file

@ -27,7 +27,7 @@
#include "log.hpp" // for LOG_STREAM, logger, etc
#include "utils/make_enum.hpp" // for operator<<
#include "map/map.hpp" // for gamemap
#include "marked-up_text.hpp" // for is_cjk_char, word_wrap_text
#include "font/marked-up_text.hpp" // for is_cjk_char, word_wrap_text
#include "units/race.hpp" // for unit_race, etc
#include "resources.hpp" // for tod_manager, config_manager
#include "sdl/utils.hpp" // for surface

View file

@ -23,7 +23,7 @@
#include "construct_dialog.hpp"
#include "gettext.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "sdl/rect.hpp"
namespace hotkey {

View file

@ -24,7 +24,7 @@
#include "video.hpp"
#include "gettext.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "sdl/rect.hpp"
#include "font/sdl_ttf.hpp"

View file

@ -63,7 +63,7 @@
#include "map/map.hpp"
#include "map/label.hpp"
#include "map_command_handler.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "menu_events.hpp"
#include "mouse_events.hpp"
#include "play_controller.hpp"

View file

@ -34,7 +34,7 @@
#include "language.hpp" // for string_table, symbol_table
#include "log.hpp" // for LOG_STREAM, logger, etc
#include "map/map.hpp" // for gamemap
#include "marked-up_text.hpp" // for color2markup, BOLD_TEXT, etc
#include "font/marked-up_text.hpp" // for color2markup, BOLD_TEXT, etc
#include "pathfind/teleport.hpp" // for get_teleport_locations, etc
#include "play_controller.hpp" // for playing_side, set_button_state
#include "replay_helper.hpp"

View file

@ -36,7 +36,7 @@
#include "log.hpp"
#include "map/label.hpp"
#include "map/map.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "playturn.hpp"
#include "random_new_deterministic.hpp"
#include "replay_helper.hpp"

View file

@ -25,7 +25,7 @@
#include "gettext.hpp"
#include "language.hpp"
#include "map/map.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "mouse_events.hpp"
#include "reports.hpp"
#include "strftime.hpp"

View file

@ -27,7 +27,7 @@
#include "help/help.hpp"
#include "hotkey/command_executor.hpp"
#include "log.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "sdl/rect.hpp"
static lg::log_domain log_display("display");

View file

@ -14,7 +14,7 @@
*/
#include "gettext.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "statistics_dialog.hpp"
#include "units/types.hpp"
#include "wml_separators.hpp"

View file

@ -19,7 +19,7 @@
#include "font/sdl_ttf.hpp"
#include "game_display.hpp"
#include "help/help.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "resources.hpp"
#include "video.hpp"

View file

@ -25,7 +25,7 @@
#include "game_errors.hpp"
#include "image.hpp"
#include "log.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "sdl/rect.hpp"
#include "serialization/string_utils.hpp"
#include "sound.hpp"

View file

@ -18,7 +18,7 @@
#include "font/text.hpp"
#include "widgets/label.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "video.hpp"
namespace gui {

View file

@ -22,7 +22,7 @@
#include "font/sdl_ttf.hpp"
#include "language.hpp"
#include "image.hpp"
#include "marked-up_text.hpp"
#include "font/marked-up_text.hpp"
#include "sdl/rect.hpp"
#include "sound.hpp"
#include "video.hpp"