Skip to content

Commit

Permalink
move class floating_label from font.cpp to its own file
Browse files Browse the repository at this point in the history
floating_label is essentially a primitive GUI1 widget, consisting
just of a text label and non-interacting. It's also used for the
map labels displayed in-game iiuc.
  • Loading branch information
cbeck88 committed Mar 8, 2015
1 parent 1bc7471 commit ea212b5
Show file tree
Hide file tree
Showing 18 changed files with 672 additions and 604 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Expand Up @@ -1044,6 +1044,7 @@ set(libwesnoth-game_STAT_SRC
display.cpp
display_context.cpp
events.cpp
floating_label.cpp
font.cpp
format_time_summary.cpp
generators/cave_map_generator.cpp
Expand Down
1 change: 1 addition & 0 deletions src/SConscript
Expand Up @@ -80,6 +80,7 @@ libwesnoth_sources = Split("""
display.cpp
display_context.cpp
events.cpp
floating_label.cpp
format_time_summary.cpp
generic_event.cpp
hotkey/hotkey_item.cpp
Expand Down
2 changes: 1 addition & 1 deletion src/display_chat_manager.cpp
Expand Up @@ -17,7 +17,7 @@

#include "desktop/notifications.hpp"
#include "display.hpp"
#include "font.hpp"
#include "floating_label.hpp"
#include "game_board.hpp" // <-- only needed for is_observer()
#include "game_preferences.hpp"
#include "log.hpp"
Expand Down

0 comments on commit ea212b5

Please sign in to comment.