wl_library(wui_chat_ui
  SRCS
    chat_overlay.cc
    chat_overlay.h
    game_chat_menu.cc
    game_chat_menu.h
    game_chat_panel.cc
    game_chat_panel.h
    chat_msg_layout.h
    chat_msg_layout.cc
  DEPENDS
    base_exceptions
    base_i18n
    base_macros
    chat
    graphic
    graphic_color
    graphic_fonthandler
    graphic_text
    graphic_text_layout
    logic
    profile
    ui_basic
    wui
)

wl_library(wui_economy_options
  SRCS
    economy_options_window.cc
    economy_options_window.h
  DEPENDS
    economy
    graphic
    logic
    notifications
    ui_basic
    wui_waresdisplay
)


wl_library(wui_mapview_pixelfunctions
  SRCS
    mapviewpixelconstants.h
    mapviewpixelfunctions.cc
    mapviewpixelfunctions.h
  DEPENDS
    base_geometry
    logic
    logic_widelands_geometry
)

wl_library(wui_common_suggested_teams
  SRCS
    suggested_teams_box.cc
    suggested_teams_box.h
  DEPENDS
    base_i18n
    graphic
    graphic_playercolor
    logic_constants
    ui_basic
)

wl_library(wui_common_gamedetails
  SRCS
    gamedetails.cc
    gamedetails.h
    load_or_save_game.cc
    load_or_save_game.h
  DEPENDS
    base_i18n
    base_log
    base_time_string
    helper
    game_io
    graphic_fonthandler
    graphic_image_io
    graphic_surface
    graphic_text_constants
    io_filesystem
    logic
    logic_filesystem_constants
    logic_game_controller
    logic_game_settings
    ui_basic
)

wl_library(wui_common_mapdetails
  SRCS
    mapdetails.cc
    mapdetails.h
    mapdata.cc
    mapdata.h
    maptable.cc
    maptable.h
    map_tags.cc
    map_tags.h
  DEPENDS
    base_exceptions
    base_i18n
    base_log
    graphic
    graphic_fonthandler
    graphic_text_constants
    io_filesystem
    logic
    logic_constants
    logic_game_controller
    logic_game_settings
    map_io_map_loader
    ui_basic
    wui_common_suggested_teams
)

wl_library(wui_quicknavigation
  SRCS
    quicknavigation.cc
    quicknavigation.h
  DEPENDS
    base_geometry
    wui_mapview
)

wl_library(wui_mapview
  SRCS
    mapview.cc
    mapview.h
  DEPENDS
    base_geometry
    base_macros
    base_math
    graphic
    graphic_fields_to_draw
    graphic_game_renderer
    logic
    logic_widelands_geometry
    profile
    ui_basic
    widelands_ball_of_mud
    wui_mapview_pixelfunctions
)

wl_library(wui_waresdisplay
  SRCS
    waresdisplay.cc
    waresdisplay.h
  DEPENDS
    base_exceptions
    base_i18n
    graphic
    graphic_fonthandler
    graphic_text_layout
    logic
    ui_basic
)


wl_library(wui
  SRCS
    actionconfirm.cc
    actionconfirm.h
    attack_box.cc
    attack_box.h
    building_statistics_menu.cc
    building_statistics_menu.h
    buildingwindow.cc
    buildingwindow.h
    constructionsitewindow.cc
    constructionsitewindow.h
    debugconsole.cc
    debugconsole.h
    dismantlesitewindow.cc
    dismantlesitewindow.h
    encyclopedia_window.cc
    encyclopedia_window.h
    fieldaction.cc
    fieldaction.h
    game_client_disconnected.cc
    game_client_disconnected.h
    game_debug_ui.cc
    game_debug_ui.h
    game_exit_confirm_box.cc
    game_exit_confirm_box.h
    game_statistics_menu.cc
    game_statistics_menu.h
    game_main_menu_save_game.cc
    game_main_menu_save_game.h
    game_message_menu.cc
    game_message_menu.h
    game_objectives_menu.cc
    game_objectives_menu.h
    game_options_menu.cc
    game_options_menu.h
    game_options_sound_menu.cc
    game_options_sound_menu.h
    game_summary.cc
    game_summary.h
    game_tips.cc
    game_tips.h
    general_statistics_menu.cc
    general_statistics_menu.h
    helpwindow.cc
    helpwindow.h
    inputqueuedisplay.cc
    inputqueuedisplay.h
    interactive_base.cc
    interactive_base.h
    interactive_gamebase.cc
    interactive_gamebase.h
    interactive_player.cc
    interactive_player.h
    interactive_spectator.cc
    interactive_spectator.h
    itemwaresdisplay.cc
    itemwaresdisplay.h
    login_box.cc
    login_box.h
    logmessage.h
    militarysitewindow.cc
    militarysitewindow.h
    minimap.cc
    minimap.h
    multiplayersetupgroup.cc
    multiplayersetupgroup.h
    playerdescrgroup.cc
    playerdescrgroup.h
    plot_area.cc
    plot_area.h
    portdockwaresdisplay.cc
    portdockwaresdisplay.h
    productionsitewindow.cc
    productionsitewindow.h
    seafaring_statistics_menu.cc
    seafaring_statistics_menu.h
    shipwindow.cc
    shipwindow.h
    soldiercapacitycontrol.cc
    soldiercapacitycontrol.h
    soldierlist.cc
    soldierlist.h
    stock_menu.cc
    stock_menu.h
    story_message_box.cc
    story_message_box.h
    trainingsitewindow.cc
    trainingsitewindow.h
    transport_draw.cc
    tribal_encyclopedia.cc
    tribal_encyclopedia.h
    unique_window_handler.cc
    unique_window_handler.h
    ware_statistics_menu.cc
    ware_statistics_menu.h
    warehousewindow.cc
    warehousewindow.h
    watchwindow.cc
    watchwindow.h
  USES_SDL2
  DEPENDS
    ai
    base_exceptions
    base_geometry
    base_i18n
    base_log
    base_macros
    base_time_string
    chat
    economy
    game_io
    graphic
    graphic_align
    graphic_color
    graphic_fonthandler
    graphic_minimap_renderer
    graphic_playercolor
    graphic_surface
    graphic_text
    graphic_text_constants
    graphic_text_layout
    io_fileread
    io_filesystem
    logic
    logic_constants
    logic_filesystem_constants
    logic_game_controller
    logic_game_settings
    logic_generic_save_handler
    logic_tribe_basic_info
    logic_widelands_geometry
    network
    note_sound
    notifications
    profile
    scripting_coroutine
    scripting_lua_interface
    scripting_lua_table
    sound
    ui_basic
    wui_chat_ui
    wui_common_gamedetails
    wui_economy_options
    wui_mapview
    wui_mapview_pixelfunctions
    wui_quicknavigation
    wui_waresdisplay
)
