2013-08-05 21:20:19 -03:00
|
|
|
# Aseprite
|
2024-01-08 15:19:25 -03:00
|
|
|
# Copyright (C) 2018-2024 Igara Studio S.A.
|
2018-02-07 17:25:58 -03:00
|
|
|
# Copyright (C) 2001-2018 David Capello
|
2013-08-05 21:20:19 -03:00
|
|
|
|
2015-02-15 15:29:16 -03:00
|
|
|
# Generate a ui::Widget for each widget in a XML file
|
2018-08-24 18:20:08 -03:00
|
|
|
file(GLOB widget_files ${SOURCE_DATA_DIR}/widgets/*.xml)
|
2014-12-02 01:38:25 -03:00
|
|
|
foreach(widget_file ${widget_files})
|
|
|
|
get_filename_component(widget_name ${widget_file} NAME_WE)
|
2015-09-22 16:33:49 -03:00
|
|
|
set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/${widget_name}.xml.h)
|
2014-12-02 01:38:25 -03:00
|
|
|
|
|
|
|
add_custom_command(
|
|
|
|
OUTPUT ${output_fn}
|
2018-08-24 18:06:22 -03:00
|
|
|
COMMAND ${GEN_EXE} --input ${widget_file} --widgetid ${widget_name} > ${output_fn}.tmp
|
2015-08-04 18:24:09 -03:00
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${output_fn}.tmp ${output_fn}
|
2014-12-02 01:38:25 -03:00
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
MAIN_DEPENDENCY ${widget_file}
|
2018-08-24 18:06:22 -03:00
|
|
|
DEPENDS ${GEN_DEP})
|
2014-12-02 01:38:25 -03:00
|
|
|
|
2014-12-14 20:19:31 -03:00
|
|
|
list(APPEND generated_files ${output_fn})
|
2014-12-02 01:38:25 -03:00
|
|
|
endforeach()
|
|
|
|
|
2015-02-15 15:29:16 -03:00
|
|
|
# Generate preference types from data/pref.xml
|
2018-08-24 18:20:08 -03:00
|
|
|
set(pref_xml ${SOURCE_DATA_DIR}/pref.xml)
|
2014-12-14 20:19:31 -03:00
|
|
|
|
2015-09-22 16:33:49 -03:00
|
|
|
set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/pref.xml.h)
|
2014-12-14 20:19:31 -03:00
|
|
|
add_custom_command(
|
|
|
|
OUTPUT ${output_fn}
|
2018-08-24 18:06:22 -03:00
|
|
|
COMMAND ${GEN_EXE} --input ${pref_xml} --pref-h > ${output_fn}.tmp
|
2015-08-04 18:24:09 -03:00
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${output_fn}.tmp ${output_fn}
|
2014-12-14 20:19:31 -03:00
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
MAIN_DEPENDENCY ${pref_xml}
|
2018-08-24 18:06:22 -03:00
|
|
|
DEPENDS ${GEN_DEP})
|
2014-12-14 20:19:31 -03:00
|
|
|
list(APPEND generated_files ${output_fn})
|
|
|
|
|
2015-09-22 16:33:49 -03:00
|
|
|
set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/pref.xml.cpp)
|
2014-12-14 20:19:31 -03:00
|
|
|
add_custom_command(
|
|
|
|
OUTPUT ${output_fn}
|
2018-08-24 18:06:22 -03:00
|
|
|
COMMAND ${GEN_EXE} --input ${pref_xml} --pref-cpp > ${output_fn}.tmp
|
2015-08-04 18:24:09 -03:00
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${output_fn}.tmp ${output_fn}
|
2014-12-14 20:19:31 -03:00
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
MAIN_DEPENDENCY ${pref_xml}
|
2018-08-24 18:06:22 -03:00
|
|
|
DEPENDS ${GEN_DEP})
|
2014-12-14 20:19:31 -03:00
|
|
|
list(APPEND generated_files ${output_fn})
|
|
|
|
|
2017-06-10 15:10:42 -03:00
|
|
|
# Generate theme.xml.h from data/extensions/aseprite-theme/theme.xml
|
2018-08-24 18:20:08 -03:00
|
|
|
set(theme_xml ${SOURCE_DATA_DIR}/extensions/aseprite-theme/theme.xml)
|
2017-02-09 13:18:44 -03:00
|
|
|
set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/theme.xml.h)
|
2015-02-15 15:29:16 -03:00
|
|
|
add_custom_command(
|
|
|
|
OUTPUT ${output_fn}
|
2018-08-24 18:06:22 -03:00
|
|
|
COMMAND ${GEN_EXE} --input ${theme_xml} --theme > ${output_fn}.tmp
|
2015-08-04 18:24:09 -03:00
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${output_fn}.tmp ${output_fn}
|
2015-02-15 15:29:16 -03:00
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
2017-02-09 13:18:44 -03:00
|
|
|
MAIN_DEPENDENCY ${theme_xml}
|
2018-08-24 18:06:22 -03:00
|
|
|
DEPENDS ${GEN_DEP})
|
2015-02-15 15:29:16 -03:00
|
|
|
list(APPEND generated_files ${output_fn})
|
|
|
|
|
2017-12-01 15:10:21 -03:00
|
|
|
# Generate strings.ini.h from data/strings/en.ini
|
2018-08-24 18:20:08 -03:00
|
|
|
set(strings_en_ini ${SOURCE_DATA_DIR}/strings/en.ini)
|
2016-12-26 17:11:19 -03:00
|
|
|
set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/strings.ini.h)
|
|
|
|
add_custom_command(
|
|
|
|
OUTPUT ${output_fn}
|
2018-08-24 18:06:22 -03:00
|
|
|
COMMAND ${GEN_EXE} --input ${strings_en_ini} --strings > ${output_fn}.tmp
|
2016-12-26 17:11:19 -03:00
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${output_fn}.tmp ${output_fn}
|
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
2017-12-01 15:10:21 -03:00
|
|
|
MAIN_DEPENDENCY ${strings_en_ini}
|
2018-08-24 18:06:22 -03:00
|
|
|
DEPENDS ${GEN_DEP})
|
2017-12-01 15:10:21 -03:00
|
|
|
list(APPEND generated_files ${output_fn})
|
|
|
|
|
|
|
|
# Generate command_ids.ini.h from data/strings/en.ini
|
|
|
|
set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/command_ids.ini.h)
|
|
|
|
add_custom_command(
|
|
|
|
OUTPUT ${output_fn}
|
2018-08-24 18:06:22 -03:00
|
|
|
COMMAND ${GEN_EXE} --input ${strings_en_ini} --command-ids > ${output_fn}.tmp
|
2017-12-01 15:10:21 -03:00
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${output_fn}.tmp ${output_fn}
|
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
2016-12-26 17:11:19 -03:00
|
|
|
MAIN_DEPENDENCY ${strings_en_ini}
|
2018-08-24 18:06:22 -03:00
|
|
|
DEPENDS ${GEN_DEP})
|
2016-12-26 17:11:19 -03:00
|
|
|
list(APPEND generated_files ${output_fn})
|
|
|
|
|
2016-12-22 14:19:47 -03:00
|
|
|
# Check translations
|
2018-08-24 18:20:08 -03:00
|
|
|
file(GLOB string_files ${SOURCE_DATA_DIR}/strings/*.ini)
|
2016-12-22 14:19:47 -03:00
|
|
|
set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/check-translations.txt)
|
|
|
|
add_custom_command(
|
|
|
|
OUTPUT ${output_fn}
|
2018-08-24 18:20:08 -03:00
|
|
|
COMMAND ${GEN_EXE} --widgets-dir "${SOURCE_DATA_DIR}/widgets/" --strings-dir "${SOURCE_DATA_DIR}/strings/" --gui-file "${SOURCE_DATA_DIR}/gui.xml" >${output_fn}
|
2016-12-22 14:19:47 -03:00
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
2018-08-24 18:20:08 -03:00
|
|
|
DEPENDS ${GEN_DEP} ${widget_files} ${string_files} "${SOURCE_DATA_DIR}/gui.xml")
|
2016-12-22 14:19:47 -03:00
|
|
|
list(APPEND generated_files ${output_fn})
|
|
|
|
|
2017-06-14 20:02:48 -03:00
|
|
|
# libarchive definitions
|
|
|
|
add_definitions(-DLIBARCHIVE_STATIC)
|
|
|
|
|
2014-12-02 01:38:25 -03:00
|
|
|
######################################################################
|
|
|
|
# app-lib target
|
|
|
|
|
2024-03-19 16:03:46 -03:00
|
|
|
add_library(app-lib ${generated_files})
|
|
|
|
|
2017-02-24 17:56:57 -03:00
|
|
|
# These specific-platform files should be in an external library
|
2018-08-09 12:58:43 -03:00
|
|
|
# (e.g. "base" or "os").
|
2017-02-24 17:56:57 -03:00
|
|
|
if(WIN32)
|
2024-03-19 16:03:46 -03:00
|
|
|
target_sources(app-lib PRIVATE font_path_win.cpp)
|
2017-02-24 17:56:57 -03:00
|
|
|
elseif(APPLE)
|
2024-03-19 16:03:46 -03:00
|
|
|
target_sources(app-lib PRIVATE font_path_osx.mm)
|
2017-02-24 17:56:57 -03:00
|
|
|
else()
|
2024-03-19 16:03:46 -03:00
|
|
|
target_sources(app-lib PRIVATE font_path_unix.cpp)
|
2017-02-24 17:56:57 -03:00
|
|
|
endif()
|
|
|
|
|
2024-06-12 17:43:43 -03:00
|
|
|
# Trial-version vs Full version (enable save command)
|
|
|
|
if(ENABLE_TRIAL_MODE)
|
|
|
|
target_compile_definitions(app-lib PUBLIC -DENABLE_TRIAL_MODE)
|
|
|
|
else()
|
|
|
|
target_compile_definitions(app-lib PUBLIC -DENABLE_SAVE)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
# Data recovery
|
2024-09-02 17:13:53 -03:00
|
|
|
if(NOT ENABLE_TRIAL_MODE OR ENABLE_DRM)
|
2024-06-12 17:43:43 -03:00
|
|
|
set(ENABLE_DATA_RECOVERY on)
|
|
|
|
else()
|
|
|
|
set(ENABLE_DATA_RECOVERY off)
|
|
|
|
endif()
|
2018-05-07 00:11:50 -03:00
|
|
|
if(ENABLE_DATA_RECOVERY)
|
2024-06-12 17:43:43 -03:00
|
|
|
target_compile_definitions(app-lib PUBLIC -DENABLE_DATA_RECOVERY)
|
2024-03-19 16:03:46 -03:00
|
|
|
target_sources(app-lib PRIVATE
|
2015-05-09 20:18:10 -03:00
|
|
|
crash/backup_observer.cpp
|
|
|
|
crash/data_recovery.cpp
|
|
|
|
crash/read_document.cpp
|
|
|
|
crash/session.cpp
|
|
|
|
crash/write_document.cpp
|
|
|
|
ui/data_recovery_view.cpp)
|
|
|
|
endif()
|
|
|
|
|
2024-06-12 17:43:43 -03:00
|
|
|
# File formats
|
2024-03-19 16:03:46 -03:00
|
|
|
target_sources(app-lib PRIVATE
|
2015-09-07 14:43:31 -03:00
|
|
|
file/ase_format.cpp
|
|
|
|
file/bmp_format.cpp
|
2021-01-05 14:43:43 -03:00
|
|
|
file/css_format.cpp
|
2015-09-07 14:43:31 -03:00
|
|
|
file/fli_format.cpp
|
|
|
|
file/gif_format.cpp
|
|
|
|
file/ico_format.cpp
|
|
|
|
file/jpeg_format.cpp
|
|
|
|
file/pcx_format.cpp
|
|
|
|
file/png_format.cpp
|
2023-01-04 12:06:20 -03:00
|
|
|
file/qoi_format.cpp
|
2018-10-25 12:22:44 -03:00
|
|
|
file/svg_format.cpp
|
2015-09-07 14:43:31 -03:00
|
|
|
file/tga_format.cpp)
|
2021-12-15 17:47:44 -03:00
|
|
|
if(ENABLE_WEBP)
|
2024-06-12 17:43:43 -03:00
|
|
|
target_compile_definitions(app-lib PUBLIC -DENABLE_WEBP)
|
2024-03-19 16:03:46 -03:00
|
|
|
target_sources(app-lib PRIVATE
|
|
|
|
file/webp_format.cpp)
|
2015-09-07 14:43:31 -03:00
|
|
|
endif()
|
2021-12-15 17:44:51 -03:00
|
|
|
if(ENABLE_PSD)
|
2024-06-12 17:43:43 -03:00
|
|
|
target_link_libraries(app-lib psd)
|
|
|
|
target_compile_definitions(app-lib PUBLIC -DENABLE_PSD)
|
2024-03-19 16:03:46 -03:00
|
|
|
target_sources(app-lib PRIVATE
|
|
|
|
file/psd_format.cpp)
|
2021-12-15 17:44:51 -03:00
|
|
|
endif()
|
2015-09-07 14:43:31 -03:00
|
|
|
|
2024-06-12 17:43:43 -03:00
|
|
|
# Extras
|
|
|
|
if(ENABLE_DEVMODE)
|
|
|
|
target_compile_definitions(app-lib PUBLIC -DENABLE_DEVMODE)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
# Enable "Check for updates" info
|
|
|
|
if(ENABLE_UPDATER)
|
|
|
|
target_compile_definitions(app-lib PUBLIC -DENABLE_UPDATER)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
# Scripting
|
2016-11-21 10:25:27 -03:00
|
|
|
if(ENABLE_SCRIPTING)
|
2024-06-12 17:43:43 -03:00
|
|
|
target_link_libraries(app-lib lua lauxlib lualib)
|
|
|
|
target_compile_definitions(app-lib PUBLIC -DENABLE_SCRIPTING)
|
|
|
|
|
2021-10-03 12:40:29 +07:00
|
|
|
if(ENABLE_WEBSOCKET)
|
2024-06-12 17:43:43 -03:00
|
|
|
target_link_libraries(app-lib ixwebsocket)
|
|
|
|
target_compile_definitions(app-lib PUBLIC -DENABLE_WEBSOCKET)
|
2024-03-19 16:03:46 -03:00
|
|
|
target_sources(app-lib PRIVATE
|
2021-10-03 12:40:29 +07:00
|
|
|
script/websocket_class.cpp)
|
|
|
|
endif()
|
2024-06-12 17:43:43 -03:00
|
|
|
|
2024-03-19 16:03:46 -03:00
|
|
|
target_sources(app-lib PRIVATE
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_developer_console.cpp
|
|
|
|
commands/cmd_open_script_folder.cpp
|
2016-11-21 10:25:27 -03:00
|
|
|
commands/cmd_run_script.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/debugger.cpp
|
2018-09-04 17:21:33 -03:00
|
|
|
script/app_command_object.cpp
|
2019-12-11 15:39:40 -03:00
|
|
|
script/app_fs_object.cpp
|
2016-11-21 10:25:27 -03:00
|
|
|
script/app_object.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
script/app_os_object.cpp
|
2022-12-16 09:50:36 -03:00
|
|
|
script/app_theme_object.cpp
|
2019-04-18 22:23:33 -03:00
|
|
|
script/brush_class.cpp
|
2022-12-14 12:27:24 -03:00
|
|
|
script/canvas_widget.cpp
|
2018-09-04 16:10:32 -03:00
|
|
|
script/cel_class.cpp
|
|
|
|
script/cels_class.cpp
|
|
|
|
script/color_class.cpp
|
2019-01-03 17:17:10 -03:00
|
|
|
script/color_space_class.cpp
|
2018-10-11 12:01:21 -03:00
|
|
|
script/dialog_class.cpp
|
2023-04-19 19:10:28 -03:00
|
|
|
script/editor_class.cpp
|
2018-08-20 11:25:08 -03:00
|
|
|
script/engine.cpp
|
2021-10-07 18:56:39 -03:00
|
|
|
script/events_class.cpp
|
2018-09-04 16:10:32 -03:00
|
|
|
script/frame_class.cpp
|
|
|
|
script/frames_class.cpp
|
2022-12-14 17:04:50 -03:00
|
|
|
script/graphics_context.cpp
|
2019-03-29 15:57:10 -03:00
|
|
|
script/grid_class.cpp
|
2016-11-21 10:25:27 -03:00
|
|
|
script/image_class.cpp
|
2018-09-03 18:04:44 -03:00
|
|
|
script/image_iterator_class.cpp
|
2018-09-11 20:31:37 -03:00
|
|
|
script/image_spec_class.cpp
|
2018-11-23 12:56:30 -03:00
|
|
|
script/images_class.cpp
|
2023-07-16 19:44:58 -03:00
|
|
|
script/json_class.cpp
|
2023-01-04 14:40:10 -03:00
|
|
|
script/keys.cpp
|
2018-09-04 16:10:32 -03:00
|
|
|
script/layer_class.cpp
|
|
|
|
script/layers_class.cpp
|
2018-08-20 11:25:08 -03:00
|
|
|
script/luacpp.cpp
|
2018-09-04 16:10:32 -03:00
|
|
|
script/palette_class.cpp
|
|
|
|
script/palettes_class.cpp
|
2018-08-20 11:25:08 -03:00
|
|
|
script/pixel_color_object.cpp
|
2020-04-02 15:47:12 -03:00
|
|
|
script/plugin_class.cpp
|
2017-08-11 17:22:28 -03:00
|
|
|
script/point_class.cpp
|
2019-04-24 21:14:20 -03:00
|
|
|
script/preferences_object.cpp
|
2022-12-30 14:51:43 -03:00
|
|
|
script/properties_class.cpp
|
2018-11-23 12:56:30 -03:00
|
|
|
script/range_class.cpp
|
2017-08-11 17:22:28 -03:00
|
|
|
script/rectangle_class.cpp
|
2023-04-18 19:41:01 -03:00
|
|
|
script/require.cpp
|
2018-09-17 13:14:56 -03:00
|
|
|
script/security.cpp
|
2016-11-21 10:25:27 -03:00
|
|
|
script/selection_class.cpp
|
2018-08-20 15:15:38 -03:00
|
|
|
script/site_class.cpp
|
2017-08-11 17:22:28 -03:00
|
|
|
script/size_class.cpp
|
2018-09-04 16:10:32 -03:00
|
|
|
script/slice_class.cpp
|
|
|
|
script/slices_class.cpp
|
2016-11-21 10:25:27 -03:00
|
|
|
script/sprite_class.cpp
|
2018-09-12 12:55:56 -03:00
|
|
|
script/sprites_class.cpp
|
2023-08-18 17:35:12 -03:00
|
|
|
script/tabs_widget.cpp
|
2018-09-04 16:10:32 -03:00
|
|
|
script/tag_class.cpp
|
|
|
|
script/tags_class.cpp
|
2023-01-06 19:50:04 -03:00
|
|
|
script/tile_class.cpp
|
2019-03-29 15:57:10 -03:00
|
|
|
script/tileset_class.cpp
|
|
|
|
script/tilesets_class.cpp
|
2023-02-22 20:00:07 -03:00
|
|
|
script/timer_class.cpp
|
2019-03-23 09:18:59 -03:00
|
|
|
script/tool_class.cpp
|
2023-04-12 13:51:37 -03:00
|
|
|
script/uuid_class.cpp
|
2019-04-24 21:14:20 -03:00
|
|
|
script/values.cpp
|
2019-04-21 00:04:49 -03:00
|
|
|
script/version_class.cpp
|
2023-07-18 17:54:57 -03:00
|
|
|
script/window_class.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
shell.cpp
|
|
|
|
ui/devconsole_view.cpp)
|
2016-11-21 10:25:27 -03:00
|
|
|
endif()
|
|
|
|
|
2024-06-12 17:43:43 -03:00
|
|
|
# Main app sources
|
2024-03-19 16:03:46 -03:00
|
|
|
target_sources(app-lib PRIVATE
|
2019-04-13 16:25:21 -03:00
|
|
|
active_site_handler.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
app.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
app_brushes.cpp
|
|
|
|
app_menus.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
check_update.cpp
|
2016-05-30 19:03:28 -03:00
|
|
|
cli/app_options.cpp
|
2016-06-01 14:49:24 -03:00
|
|
|
cli/cli_open_file.cpp
|
2016-05-30 19:03:28 -03:00
|
|
|
cli/cli_processor.cpp
|
|
|
|
cli/default_cli_delegate.cpp
|
|
|
|
cli/preview_cli_delegate.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
closed_docs.cpp
|
2015-01-18 22:05:33 -03:00
|
|
|
cmd.cpp
|
|
|
|
cmd/add_cel.cpp
|
|
|
|
cmd/add_frame.cpp
|
|
|
|
cmd/add_layer.cpp
|
|
|
|
cmd/add_palette.cpp
|
2017-03-06 19:27:43 -03:00
|
|
|
cmd/add_slice.cpp
|
2019-10-01 14:55:08 -03:00
|
|
|
cmd/add_tag.cpp
|
2019-03-29 15:57:10 -03:00
|
|
|
cmd/add_tile.cpp
|
|
|
|
cmd/add_tileset.cpp
|
2018-10-18 15:29:16 -03:00
|
|
|
cmd/assign_color_profile.cpp
|
2015-01-18 22:05:33 -03:00
|
|
|
cmd/background_from_layer.cpp
|
|
|
|
cmd/clear_cel.cpp
|
|
|
|
cmd/clear_image.cpp
|
|
|
|
cmd/clear_mask.cpp
|
2015-04-27 13:03:02 -03:00
|
|
|
cmd/clear_rect.cpp
|
2024-06-24 16:14:13 -03:00
|
|
|
cmd/clear_slices.cpp
|
2015-01-18 22:05:33 -03:00
|
|
|
cmd/configure_background.cpp
|
2018-10-18 15:29:16 -03:00
|
|
|
cmd/convert_color_profile.cpp
|
2015-01-18 22:05:33 -03:00
|
|
|
cmd/copy_cel.cpp
|
|
|
|
cmd/copy_frame.cpp
|
|
|
|
cmd/copy_rect.cpp
|
|
|
|
cmd/copy_region.cpp
|
2016-05-10 10:37:16 -03:00
|
|
|
cmd/crop_cel.cpp
|
2015-01-18 22:05:33 -03:00
|
|
|
cmd/deselect_mask.cpp
|
|
|
|
cmd/flatten_layers.cpp
|
|
|
|
cmd/flip_image.cpp
|
|
|
|
cmd/flip_mask.cpp
|
|
|
|
cmd/flip_masked_cel.cpp
|
|
|
|
cmd/layer_from_background.cpp
|
|
|
|
cmd/move_cel.cpp
|
|
|
|
cmd/move_layer.cpp
|
2016-05-10 10:47:48 -03:00
|
|
|
cmd/patch_cel.cpp
|
2015-03-23 12:57:59 -03:00
|
|
|
cmd/remap_colors.cpp
|
2019-11-16 12:09:33 -03:00
|
|
|
cmd/remap_tilemaps.cpp
|
|
|
|
cmd/remap_tileset.cpp
|
2015-01-18 22:05:33 -03:00
|
|
|
cmd/remove_cel.cpp
|
|
|
|
cmd/remove_frame.cpp
|
|
|
|
cmd/remove_layer.cpp
|
|
|
|
cmd/remove_palette.cpp
|
2017-03-06 19:27:43 -03:00
|
|
|
cmd/remove_slice.cpp
|
2019-10-01 14:55:08 -03:00
|
|
|
cmd/remove_tag.cpp
|
2019-03-29 15:57:10 -03:00
|
|
|
cmd/remove_tile.cpp
|
|
|
|
cmd/remove_tileset.cpp
|
2015-01-18 22:05:33 -03:00
|
|
|
cmd/replace_image.cpp
|
2021-05-18 14:52:53 -03:00
|
|
|
cmd/replace_tileset.cpp
|
2015-01-18 22:05:33 -03:00
|
|
|
cmd/reselect_mask.cpp
|
2016-10-10 23:42:47 -03:00
|
|
|
cmd/set_cel_bounds.cpp
|
2015-02-09 11:40:43 -03:00
|
|
|
cmd/set_cel_data.cpp
|
2015-01-18 22:05:33 -03:00
|
|
|
cmd/set_cel_frame.cpp
|
|
|
|
cmd/set_cel_opacity.cpp
|
|
|
|
cmd/set_cel_position.cpp
|
2023-04-10 17:44:22 -03:00
|
|
|
cmd/set_cel_zindex.cpp
|
2015-01-18 22:05:33 -03:00
|
|
|
cmd/set_frame_duration.cpp
|
2019-10-10 15:08:59 -03:00
|
|
|
cmd/set_grid_bounds.cpp
|
2017-06-16 12:18:22 -03:00
|
|
|
cmd/set_last_point.cpp
|
2015-06-13 21:29:16 -03:00
|
|
|
cmd/set_layer_blend_mode.cpp
|
2015-01-18 22:05:33 -03:00
|
|
|
cmd/set_layer_flags.cpp
|
|
|
|
cmd/set_layer_name.cpp
|
2015-07-06 18:48:55 -03:00
|
|
|
cmd/set_layer_opacity.cpp
|
2023-01-11 10:48:39 -03:00
|
|
|
cmd/set_layer_tileset.cpp
|
2015-01-18 22:05:33 -03:00
|
|
|
cmd/set_mask.cpp
|
|
|
|
cmd/set_mask_position.cpp
|
|
|
|
cmd/set_palette.cpp
|
|
|
|
cmd/set_pixel_format.cpp
|
2016-05-24 12:25:11 -03:00
|
|
|
cmd/set_pixel_ratio.cpp
|
2017-03-06 19:27:43 -03:00
|
|
|
cmd/set_slice_key.cpp
|
|
|
|
cmd/set_slice_name.cpp
|
2015-01-18 22:05:33 -03:00
|
|
|
cmd/set_sprite_size.cpp
|
2023-02-15 18:49:36 -03:00
|
|
|
cmd/set_sprite_tile_management_plugin.cpp
|
2019-10-01 14:55:08 -03:00
|
|
|
cmd/set_tag_anidir.cpp
|
|
|
|
cmd/set_tag_color.cpp
|
|
|
|
cmd/set_tag_name.cpp
|
|
|
|
cmd/set_tag_range.cpp
|
2022-10-19 12:09:27 -03:00
|
|
|
cmd/set_tag_repeat.cpp
|
2023-01-06 19:50:04 -03:00
|
|
|
cmd/set_tile_data.cpp
|
|
|
|
cmd/set_tile_data_properties.cpp
|
|
|
|
cmd/set_tile_data_property.cpp
|
2020-10-30 21:11:45 -03:00
|
|
|
cmd/set_tileset_base_index.cpp
|
2023-11-01 16:44:25 -03:00
|
|
|
cmd/set_tileset_match_flags.cpp
|
2020-11-10 17:48:09 -03:00
|
|
|
cmd/set_tileset_name.cpp
|
2015-01-18 22:05:33 -03:00
|
|
|
cmd/set_total_frames.cpp
|
|
|
|
cmd/set_transparent_color.cpp
|
2015-12-10 18:34:25 -03:00
|
|
|
cmd/set_user_data.cpp
|
2023-01-03 11:14:19 -03:00
|
|
|
cmd/set_user_data_properties.cpp
|
|
|
|
cmd/set_user_data_property.cpp
|
2015-07-06 18:48:55 -03:00
|
|
|
cmd/shift_masked_cel.cpp
|
2016-05-04 12:32:39 -03:00
|
|
|
cmd/trim_cel.cpp
|
2015-01-20 10:55:06 -03:00
|
|
|
cmd/unlink_cel.cpp
|
2015-01-18 22:05:33 -03:00
|
|
|
cmd/with_cel.cpp
|
|
|
|
cmd/with_document.cpp
|
|
|
|
cmd/with_image.cpp
|
|
|
|
cmd/with_layer.cpp
|
2017-03-06 19:27:43 -03:00
|
|
|
cmd/with_slice.cpp
|
2015-01-18 22:05:33 -03:00
|
|
|
cmd/with_sprite.cpp
|
2019-10-01 14:55:08 -03:00
|
|
|
cmd/with_tag.cpp
|
2019-03-29 15:57:10 -03:00
|
|
|
cmd/with_tileset.cpp
|
2015-01-18 22:05:33 -03:00
|
|
|
cmd_sequence.cpp
|
|
|
|
cmd_transaction.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
color.cpp
|
2014-01-28 23:56:44 -03:00
|
|
|
color_picker.cpp
|
2018-10-18 15:29:16 -03:00
|
|
|
color_spaces.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
color_utils.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_about.cpp
|
2019-10-01 09:37:04 -03:00
|
|
|
commands/cmd_add_color.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_advanced_mode.cpp
|
2018-09-06 14:18:59 -03:00
|
|
|
commands/cmd_background_from_layer.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_cancel.cpp
|
2019-01-07 16:42:55 -03:00
|
|
|
commands/cmd_canvas_size.cpp
|
2018-09-06 14:18:59 -03:00
|
|
|
commands/cmd_cel_opacity.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_cel_properties.cpp
|
|
|
|
commands/cmd_change_brush.cpp
|
|
|
|
commands/cmd_change_color.cpp
|
2014-05-03 16:27:11 -03:00
|
|
|
commands/cmd_change_pixel_format.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_clear.cpp
|
|
|
|
commands/cmd_clear_cel.cpp
|
|
|
|
commands/cmd_clear_recent_files.cpp
|
|
|
|
commands/cmd_close_file.cpp
|
2019-08-12 15:56:18 -03:00
|
|
|
commands/cmd_color_quantization.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_contiguous_fill.cpp
|
|
|
|
commands/cmd_copy.cpp
|
|
|
|
commands/cmd_copy_cel.cpp
|
|
|
|
commands/cmd_copy_merged.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
commands/cmd_crop.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_cut.cpp
|
2022-11-02 10:26:51 -03:00
|
|
|
commands/cmd_deselect_mask.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_discard_brush.cpp
|
|
|
|
commands/cmd_duplicate_layer.cpp
|
|
|
|
commands/cmd_duplicate_sprite.cpp
|
|
|
|
commands/cmd_duplicate_view.cpp
|
|
|
|
commands/cmd_enter_license.cpp
|
|
|
|
commands/cmd_exit.cpp
|
2019-01-07 16:42:55 -03:00
|
|
|
commands/cmd_export_sprite_sheet.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_eyedropper.cpp
|
2021-09-23 09:18:14 -03:00
|
|
|
commands/cmd_fill_and_stroke.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_fit_screen.cpp
|
2018-09-18 00:19:24 -03:00
|
|
|
commands/cmd_flatten_layers.cpp
|
2020-04-17 12:29:48 -03:00
|
|
|
commands/cmd_flip.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_frame_properties.cpp
|
|
|
|
commands/cmd_frame_tag_properties.cpp
|
|
|
|
commands/cmd_fullscreen_mode.cpp
|
|
|
|
commands/cmd_fullscreen_preview.cpp
|
|
|
|
commands/cmd_goto_frame.cpp
|
|
|
|
commands/cmd_goto_layer.cpp
|
|
|
|
commands/cmd_goto_tab.cpp
|
|
|
|
commands/cmd_grid.cpp
|
|
|
|
commands/cmd_home.cpp
|
2021-04-09 17:28:20 -03:00
|
|
|
commands/cmd_import_sprite_sheet.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_invert_mask.cpp
|
|
|
|
commands/cmd_keyboard_shortcuts.cpp
|
|
|
|
commands/cmd_launch.cpp
|
2018-09-06 14:18:59 -03:00
|
|
|
commands/cmd_layer_from_background.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_layer_lock.cpp
|
|
|
|
commands/cmd_layer_opacity.cpp
|
|
|
|
commands/cmd_layer_properties.cpp
|
|
|
|
commands/cmd_layer_visibility.cpp
|
|
|
|
commands/cmd_link_cels.cpp
|
|
|
|
commands/cmd_load_mask.cpp
|
2013-11-15 16:56:50 -03:00
|
|
|
commands/cmd_load_palette.cpp
|
2022-11-02 10:26:51 -03:00
|
|
|
commands/cmd_mask_all.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_mask_by_color.cpp
|
|
|
|
commands/cmd_mask_content.cpp
|
2019-04-17 00:16:52 -03:00
|
|
|
commands/cmd_merge_down_layer.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_modify_selection.cpp
|
|
|
|
commands/cmd_move_cel.cpp
|
|
|
|
commands/cmd_move_mask.cpp
|
|
|
|
commands/cmd_new_brush.cpp
|
2019-06-28 18:50:13 -03:00
|
|
|
commands/cmd_new_file.cpp
|
2018-10-31 17:36:22 -03:00
|
|
|
commands/cmd_new_frame.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_new_frame_tag.cpp
|
2018-09-05 19:36:40 -03:00
|
|
|
commands/cmd_new_layer.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_new_sprite_from_selection.cpp
|
|
|
|
commands/cmd_onionskin.cpp
|
|
|
|
commands/cmd_open_browser.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
commands/cmd_open_file.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_open_group.cpp
|
|
|
|
commands/cmd_open_in_folder.cpp
|
|
|
|
commands/cmd_open_with_app.cpp
|
|
|
|
commands/cmd_options.cpp
|
|
|
|
commands/cmd_palette_editor.cpp
|
2019-01-04 16:30:28 -03:00
|
|
|
commands/cmd_palette_size.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_paste.cpp
|
|
|
|
commands/cmd_paste_text.cpp
|
|
|
|
commands/cmd_pixel_perfect_mode.cpp
|
|
|
|
commands/cmd_play_animation.cpp
|
|
|
|
commands/cmd_refresh.cpp
|
|
|
|
commands/cmd_remove_frame.cpp
|
|
|
|
commands/cmd_remove_frame_tag.cpp
|
2018-09-06 14:18:59 -03:00
|
|
|
commands/cmd_remove_layer.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_remove_slice.cpp
|
|
|
|
commands/cmd_reopen_closed_file.cpp
|
|
|
|
commands/cmd_repeat_last_export.cpp
|
|
|
|
commands/cmd_reselect_mask.cpp
|
|
|
|
commands/cmd_reverse_frames.cpp
|
|
|
|
commands/cmd_rotate.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
commands/cmd_save_file.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_save_mask.cpp
|
|
|
|
commands/cmd_save_palette.cpp
|
|
|
|
commands/cmd_scroll.cpp
|
|
|
|
commands/cmd_scroll_center.cpp
|
|
|
|
commands/cmd_select_palette.cpp
|
|
|
|
commands/cmd_select_tile.cpp
|
|
|
|
commands/cmd_set_color_selector.cpp
|
|
|
|
commands/cmd_set_ink_type.cpp
|
|
|
|
commands/cmd_set_loop_section.cpp
|
|
|
|
commands/cmd_set_palette.cpp
|
|
|
|
commands/cmd_set_palette_entry_size.cpp
|
|
|
|
commands/cmd_set_same_ink.cpp
|
2023-03-28 13:42:34 -03:00
|
|
|
commands/cmd_show.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_slice_properties.cpp
|
|
|
|
commands/cmd_sprite_properties.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
commands/cmd_sprite_size.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_swap_checkerboard_colors.cpp
|
|
|
|
commands/cmd_switch_colors.cpp
|
|
|
|
commands/cmd_symmetry_mode.cpp
|
|
|
|
commands/cmd_tiled_mode.cpp
|
|
|
|
commands/cmd_timeline.cpp
|
|
|
|
commands/cmd_toggle_preview.cpp
|
|
|
|
commands/cmd_toggle_tiles_mode.cpp
|
|
|
|
commands/cmd_toggle_timeline_thumbnails.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
commands/cmd_undo.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/cmd_undo_history.cpp
|
|
|
|
commands/cmd_unlink_cel.cpp
|
|
|
|
commands/cmd_zoom.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
commands/command.cpp
|
|
|
|
commands/commands.cpp
|
2021-02-23 11:32:08 -03:00
|
|
|
commands/convert_layer.cpp
|
2023-01-05 10:46:18 -03:00
|
|
|
commands/copy_path.cpp
|
2022-08-18 14:56:43 -03:00
|
|
|
commands/export_tileset.cpp
|
2019-07-18 11:44:33 -03:00
|
|
|
commands/filters/cmd_brightness_contrast.cpp
|
2019-07-25 22:23:38 -03:00
|
|
|
commands/filters/cmd_color_curve.cpp
|
|
|
|
commands/filters/cmd_convolution_matrix.cpp
|
2019-07-18 11:44:33 -03:00
|
|
|
commands/filters/cmd_despeckle.cpp
|
|
|
|
commands/filters/cmd_hue_saturation.cpp
|
|
|
|
commands/filters/cmd_invert_color.cpp
|
|
|
|
commands/filters/cmd_outline.cpp
|
2019-07-16 16:36:09 -03:00
|
|
|
commands/filters/cmd_replace_color.cpp
|
2019-07-25 22:23:38 -03:00
|
|
|
commands/filters/color_curve_editor.cpp
|
|
|
|
commands/filters/convolution_matrix_stock.cpp
|
2019-07-16 16:36:09 -03:00
|
|
|
commands/filters/filter_manager_impl.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/filters/filter_preview.cpp
|
|
|
|
commands/filters/filter_target_buttons.cpp
|
|
|
|
commands/filters/filter_window.cpp
|
2019-07-16 16:36:09 -03:00
|
|
|
commands/filters/filter_worker.cpp
|
2019-08-10 14:37:18 -03:00
|
|
|
commands/move_colors_command.cpp
|
2017-11-30 23:41:45 -03:00
|
|
|
commands/move_thing.cpp
|
2019-11-16 12:09:33 -03:00
|
|
|
commands/move_tiles_command.cpp
|
2019-01-07 16:42:55 -03:00
|
|
|
commands/new_params.cpp
|
2017-11-30 14:51:13 -03:00
|
|
|
commands/quick_command.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
commands/screenshot.cpp
|
|
|
|
commands/set_playback_speed.cpp
|
|
|
|
commands/show_menu.cpp
|
|
|
|
commands/tileset_mode.cpp
|
|
|
|
commands/toggle_other_layers_opacity.cpp
|
|
|
|
commands/toggle_play_option.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
console.cpp
|
|
|
|
context.cpp
|
|
|
|
context_flags.cpp
|
2018-07-07 11:54:44 -03:00
|
|
|
doc.cpp
|
2018-07-07 03:07:16 -03:00
|
|
|
doc_api.cpp
|
2018-07-14 22:52:34 -03:00
|
|
|
doc_diff.cpp
|
2018-07-14 23:02:37 -03:00
|
|
|
doc_exporter.cpp
|
2018-07-07 10:07:21 -03:00
|
|
|
doc_range.cpp
|
|
|
|
doc_range_ops.cpp
|
2018-07-07 02:55:27 -03:00
|
|
|
doc_undo.cpp
|
2018-07-07 08:38:04 -03:00
|
|
|
docs.cpp
|
2017-06-10 15:02:39 -03:00
|
|
|
extensions.cpp
|
2015-08-19 10:03:29 -03:00
|
|
|
extra_cel.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
file/file.cpp
|
2017-04-12 12:35:13 -03:00
|
|
|
file/file_data.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
file/file_format.cpp
|
|
|
|
file/file_formats_manager.cpp
|
2019-06-04 10:58:19 -03:00
|
|
|
file/file_op_config.cpp
|
2014-08-21 23:39:20 -03:00
|
|
|
file/palette_file.cpp
|
2014-09-21 13:42:46 -03:00
|
|
|
file/split_filename.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
file_selector.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
file_system.cpp
|
2015-01-25 22:36:32 -03:00
|
|
|
filename_formatter.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
flatten.cpp
|
2024-03-25 11:59:25 -03:00
|
|
|
font_info.cpp
|
2017-02-24 17:56:57 -03:00
|
|
|
font_path.cpp
|
2019-03-18 13:30:17 -03:00
|
|
|
gui_xml.cpp
|
2016-12-17 01:01:57 -03:00
|
|
|
i18n/strings.cpp
|
2017-10-11 18:02:38 -03:00
|
|
|
i18n/xml_translator.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
ini_file.cpp
|
|
|
|
job.cpp
|
|
|
|
launcher.cpp
|
2017-06-14 16:34:09 -03:00
|
|
|
load_matrix.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
log.cpp
|
2015-03-09 13:57:16 -03:00
|
|
|
loop_tag.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
modules.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
modules/gfx.cpp
|
|
|
|
modules/gui.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
modules/palettes.cpp
|
2014-12-14 20:19:31 -03:00
|
|
|
pref/preferences.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
recent_files.cpp
|
2022-09-16 11:39:19 -03:00
|
|
|
render/shader_renderer.cpp
|
2022-09-15 12:38:37 -03:00
|
|
|
render/simple_renderer.cpp
|
2014-06-15 23:05:14 -03:00
|
|
|
res/palettes_loader_delegate.cpp
|
|
|
|
res/resources_loader.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
resource_finder.cpp
|
2016-09-16 11:15:47 -03:00
|
|
|
restore_visible_layers.cpp
|
2015-11-25 15:17:34 -03:00
|
|
|
shade.cpp
|
2018-07-07 02:47:42 -03:00
|
|
|
site.cpp
|
2015-02-15 09:48:38 -03:00
|
|
|
snap_to_grid.cpp
|
2017-10-26 21:42:49 -03:00
|
|
|
sprite_job.cpp
|
2019-05-30 23:17:13 -03:00
|
|
|
task.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
thumbnail_generator.cpp
|
2017-10-26 21:42:49 -03:00
|
|
|
thumbnails.cpp
|
2019-03-18 13:30:17 -03:00
|
|
|
tools/active_tool.cpp
|
|
|
|
tools/ink_type.cpp
|
|
|
|
tools/intertwine.cpp
|
|
|
|
tools/pick_ink.cpp
|
|
|
|
tools/point_shape.cpp
|
|
|
|
tools/stroke.cpp
|
2021-01-14 13:17:30 -03:00
|
|
|
tools/symmetry.cpp
|
2019-03-18 13:30:17 -03:00
|
|
|
tools/tool_box.cpp
|
|
|
|
tools/tool_loop_manager.cpp
|
2020-04-24 11:19:35 -03:00
|
|
|
tools/velocity.cpp
|
2015-01-18 22:05:33 -03:00
|
|
|
transaction.cpp
|
2016-07-11 14:16:01 -03:00
|
|
|
transformation.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
ui/alpha_entry.cpp
|
|
|
|
ui/alpha_slider.cpp
|
|
|
|
ui/app_menuitem.cpp
|
|
|
|
ui/backup_indicator.cpp
|
|
|
|
ui/browser_view.cpp
|
|
|
|
ui/brush_popup.cpp
|
|
|
|
ui/button_set.cpp
|
|
|
|
ui/color_bar.cpp
|
|
|
|
ui/color_button.cpp
|
|
|
|
ui/color_popup.cpp
|
|
|
|
ui/color_selector.cpp
|
|
|
|
ui/color_shades.cpp
|
|
|
|
ui/color_sliders.cpp
|
|
|
|
ui/color_spectrum.cpp
|
|
|
|
ui/color_tint_shade_tone.cpp
|
|
|
|
ui/color_wheel.cpp
|
|
|
|
ui/configure_timeline_popup.cpp
|
|
|
|
ui/context_bar.cpp
|
|
|
|
ui/dithering_selector.cpp
|
|
|
|
ui/doc_view.cpp
|
|
|
|
ui/drop_down_button.cpp
|
|
|
|
ui/dynamics_popup.cpp
|
|
|
|
ui/editor/brush_preview.cpp
|
|
|
|
ui/editor/delayed_mouse_move.cpp
|
|
|
|
ui/editor/dragging_value_state.cpp
|
|
|
|
ui/editor/drawing_state.cpp
|
|
|
|
ui/editor/editor.cpp
|
|
|
|
ui/editor/editor_observers.cpp
|
|
|
|
ui/editor/editor_render.cpp
|
|
|
|
ui/editor/editor_states_history.cpp
|
|
|
|
ui/editor/editor_view.cpp
|
|
|
|
ui/editor/moving_cel_state.cpp
|
|
|
|
ui/editor/moving_pixels_state.cpp
|
|
|
|
ui/editor/moving_selection_state.cpp
|
|
|
|
ui/editor/moving_slice_state.cpp
|
|
|
|
ui/editor/moving_symmetry_state.cpp
|
|
|
|
ui/editor/navigate_state.cpp
|
|
|
|
ui/editor/pivot_helpers.cpp
|
|
|
|
ui/editor/pixels_movement.cpp
|
|
|
|
ui/editor/play_state.cpp
|
|
|
|
ui/editor/scrolling_state.cpp
|
|
|
|
ui/editor/select_box_state.cpp
|
2024-09-03 11:26:23 -03:00
|
|
|
ui/editor/select_text_box_state.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
ui/editor/standby_state.cpp
|
|
|
|
ui/editor/state_with_wheel_behavior.cpp
|
2019-03-18 13:30:17 -03:00
|
|
|
ui/editor/tool_loop_impl.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
ui/editor/transform_handles.cpp
|
2024-09-03 11:26:23 -03:00
|
|
|
ui/editor/writing_text_state.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
ui/editor/zooming_state.cpp
|
|
|
|
ui/export_file_window.cpp
|
|
|
|
ui/expr_entry.cpp
|
|
|
|
ui/file_list.cpp
|
|
|
|
ui/file_list_view.cpp
|
|
|
|
ui/file_selector.cpp
|
|
|
|
ui/filename_field.cpp
|
2024-09-03 11:26:23 -03:00
|
|
|
ui/font_entry.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
ui/font_popup.cpp
|
|
|
|
ui/hex_color_entry.cpp
|
|
|
|
ui/home_view.cpp
|
|
|
|
ui/icon_button.cpp
|
|
|
|
ui/incompat_file_window.cpp
|
|
|
|
ui/input_chain.cpp
|
|
|
|
ui/keyboard_shortcuts.cpp
|
2016-09-17 01:01:28 -03:00
|
|
|
ui/layer_frame_comboboxes.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
ui/main_menu_bar.cpp
|
|
|
|
ui/main_window.cpp
|
|
|
|
ui/mini_help_button.cpp
|
|
|
|
ui/notifications.cpp
|
|
|
|
ui/optional_alert.cpp
|
|
|
|
ui/palette_popup.cpp
|
|
|
|
ui/palette_view.cpp
|
|
|
|
ui/palettes_listbox.cpp
|
|
|
|
ui/popup_window_pin.cpp
|
|
|
|
ui/pref_widget.cpp
|
|
|
|
ui/preview_editor.cpp
|
|
|
|
ui/recent_listbox.cpp
|
|
|
|
ui/resources_listbox.cpp
|
|
|
|
ui/rgbmap_algorithm_selector.cpp
|
|
|
|
ui/sampling_selector.cpp
|
|
|
|
ui/search_entry.cpp
|
|
|
|
ui/select_accelerator.cpp
|
|
|
|
ui/selection_mode_field.cpp
|
|
|
|
ui/skin/font_data.cpp
|
|
|
|
ui/skin/skin_part.cpp
|
|
|
|
ui/skin/skin_property.cpp
|
|
|
|
ui/skin/skin_slider_property.cpp
|
|
|
|
ui/skin/skin_theme.cpp
|
|
|
|
ui/slice_window.cpp
|
|
|
|
ui/slider2.cpp
|
|
|
|
ui/status_bar.cpp
|
|
|
|
ui/tabs.cpp
|
|
|
|
ui/tag_window.cpp
|
|
|
|
ui/task_widget.cpp
|
|
|
|
ui/tile_button.cpp
|
|
|
|
ui/tileset_selector.cpp
|
|
|
|
ui/timeline/ani_controls.cpp
|
|
|
|
ui/timeline/timeline.cpp
|
|
|
|
ui/toolbar.cpp
|
|
|
|
ui/user_data_view.cpp
|
|
|
|
ui/workspace.cpp
|
|
|
|
ui/workspace_panel.cpp
|
|
|
|
ui/workspace_tabs.cpp
|
|
|
|
ui/zoom_entry.cpp
|
|
|
|
ui_context.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
util/autocrop.cpp
|
2019-02-20 18:47:38 -03:00
|
|
|
util/buffer_region.cpp
|
2019-03-29 15:57:10 -03:00
|
|
|
util/cel_ops.cpp
|
2023-01-05 11:25:12 -03:00
|
|
|
util/clipboard.cpp
|
|
|
|
util/clipboard_native.cpp
|
2020-06-09 19:56:25 -03:00
|
|
|
util/conversion_to_surface.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
util/expand_cel_canvas.cpp
|
|
|
|
util/filetoks.cpp
|
2018-03-15 16:05:56 -03:00
|
|
|
util/layer_boundaries.cpp
|
2020-04-07 10:40:56 -03:00
|
|
|
util/layer_utils.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
util/msk_file.cpp
|
2015-04-02 09:55:18 -03:00
|
|
|
util/new_image_from_mask.cpp
|
2019-08-10 14:37:18 -03:00
|
|
|
util/pal_ops.cpp
|
2013-08-05 21:20:19 -03:00
|
|
|
util/pic_file.cpp
|
2016-05-24 12:25:11 -03:00
|
|
|
util/pixel_ratio.cpp
|
2014-08-24 19:59:12 -03:00
|
|
|
util/range_utils.cpp
|
2017-07-28 16:44:21 -03:00
|
|
|
util/readable_time.cpp
|
2024-03-25 11:59:25 -03:00
|
|
|
util/render_text.cpp
|
2019-08-13 18:16:30 -03:00
|
|
|
util/resize_image.cpp
|
2024-03-11 10:34:05 -03:00
|
|
|
util/shader_helpers.cpp
|
2023-10-04 20:00:49 -03:00
|
|
|
util/tile_flags_utils.cpp
|
2023-06-23 17:39:20 -03:00
|
|
|
util/tileset_utils.cpp
|
2017-11-10 12:19:44 -03:00
|
|
|
util/wrap_point.cpp
|
2024-09-02 17:13:53 -03:00
|
|
|
widget_loader.cpp
|
2013-10-14 19:58:11 -03:00
|
|
|
xml_document.cpp
|
2024-03-19 16:03:46 -03:00
|
|
|
xml_exception.cpp)
|
2015-07-13 12:16:55 -03:00
|
|
|
|
2020-03-16 10:29:58 -03:00
|
|
|
if(TARGET generated_version)
|
|
|
|
add_dependencies(app-lib generated_version)
|
|
|
|
endif()
|
|
|
|
|
2024-09-02 17:13:53 -03:00
|
|
|
if(ENABLE_NEWS)
|
|
|
|
target_compile_definitions(app-lib PUBLIC -DENABLE_NEWS)
|
|
|
|
target_sources(app-lib PRIVATE
|
|
|
|
res/http_loader.cpp
|
|
|
|
ui/news_listbox.cpp)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(ENABLE_DRM)
|
|
|
|
target_link_libraries(app-lib drm-lib)
|
|
|
|
target_compile_definitions(app-lib PUBLIC
|
|
|
|
-DENABLE_DRM
|
|
|
|
-DENABLE_SAVE)
|
|
|
|
target_sources(app-lib PRIVATE
|
|
|
|
ui/enter_license.cpp
|
|
|
|
ui/aseprite_update.cpp)
|
|
|
|
endif()
|
|
|
|
|
2015-07-13 12:16:55 -03:00
|
|
|
target_link_libraries(app-lib
|
2016-11-01 12:47:48 -03:00
|
|
|
laf-base
|
2015-07-13 12:16:55 -03:00
|
|
|
cfg-lib
|
2016-04-28 23:26:20 -03:00
|
|
|
clip
|
2015-07-13 12:16:55 -03:00
|
|
|
doc-lib
|
2017-09-22 15:57:38 -03:00
|
|
|
dio-lib
|
2015-07-13 12:16:55 -03:00
|
|
|
filters-lib
|
|
|
|
fixmath-lib
|
2015-09-10 16:10:31 -03:00
|
|
|
flic-lib
|
2020-03-24 17:07:35 -03:00
|
|
|
tga-lib
|
2018-08-09 16:36:11 -03:00
|
|
|
laf-gfx
|
2015-07-13 12:16:55 -03:00
|
|
|
render-lib
|
2018-08-09 16:36:11 -03:00
|
|
|
laf-os
|
2024-02-20 15:40:17 -03:00
|
|
|
laf-text
|
2015-07-13 12:16:55 -03:00
|
|
|
ui-lib
|
2020-03-16 10:29:58 -03:00
|
|
|
ver-lib
|
2024-05-22 12:41:23 -03:00
|
|
|
updater-lib
|
2016-08-01 10:20:26 -03:00
|
|
|
undo
|
2017-01-28 16:18:41 +05:00
|
|
|
${CMARK_LIBRARIES}
|
2015-07-13 12:16:55 -03:00
|
|
|
${TINYXML_LIBRARY}
|
|
|
|
${GIF_LIBRARIES}
|
|
|
|
${PNG_LIBRARIES}
|
2015-09-01 13:05:24 +02:00
|
|
|
${WEBP_LIBRARIES}
|
2015-09-22 19:27:44 -03:00
|
|
|
${ZLIB_LIBRARIES}
|
2017-02-20 17:14:41 -03:00
|
|
|
${FREETYPE_LIBRARIES}
|
2017-06-10 15:02:39 -03:00
|
|
|
${HARFBUZZ_LIBRARIES}
|
2024-04-23 11:33:55 -03:00
|
|
|
libjpeg-turbo
|
2017-06-14 19:50:44 -03:00
|
|
|
json11
|
2017-10-09 14:43:01 -03:00
|
|
|
archive_static
|
2018-06-28 13:33:13 -03:00
|
|
|
fmt
|
2023-01-04 12:06:20 -03:00
|
|
|
tinyexpr
|
|
|
|
qoi)
|
2015-07-13 12:16:55 -03:00
|
|
|
|
2018-10-25 11:45:33 -03:00
|
|
|
# Directory where generated files by "gen" utility will stay.
|
|
|
|
target_include_directories(app-lib PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
|
2018-08-24 18:24:05 -03:00
|
|
|
if(REQUIRE_CURL)
|
|
|
|
target_link_libraries(app-lib net-lib)
|
|
|
|
endif()
|
|
|
|
|
2024-06-12 17:43:43 -03:00
|
|
|
# Enable loading Steam API
|
2016-02-24 13:21:37 -03:00
|
|
|
if(ENABLE_STEAM)
|
2024-02-21 12:47:27 -03:00
|
|
|
# We need the ENABLE_STEAM flag in main module too so AppOptions are
|
|
|
|
# equal in both modules, app-lib and main (that's why this flag is
|
|
|
|
# marked as PUBLIC).
|
|
|
|
target_compile_definitions(app-lib PUBLIC -DENABLE_STEAM)
|
2016-02-24 13:21:37 -03:00
|
|
|
target_link_libraries(app-lib steam-lib)
|
|
|
|
endif()
|
2021-09-21 11:29:48 -03:00
|
|
|
|
2024-06-12 17:43:43 -03:00
|
|
|
# Report crashes using Sentry
|
2021-09-21 11:29:48 -03:00
|
|
|
if(ENABLE_SENTRY)
|
2021-09-22 18:34:23 -03:00
|
|
|
target_compile_definitions(app-lib PUBLIC
|
|
|
|
-DENABLE_SENTRY
|
|
|
|
-DSENTRY_BUILD_STATIC=1
|
2022-09-05 16:28:44 -03:00
|
|
|
-DSENTRY_DSN="${SENTRY_DSN}"
|
|
|
|
-DSENTRY_ENV="${SENTRY_ENV}")
|
2021-09-21 11:29:48 -03:00
|
|
|
add_subdirectory(${SENTRY_DIR} sentry)
|
|
|
|
target_link_libraries(app-lib sentry)
|
2024-06-12 17:43:43 -03:00
|
|
|
target_sources(app-lib PRIVATE sentry_wrapper.cpp)
|
|
|
|
else()
|
|
|
|
target_sources(app-lib PRIVATE send_crash.cpp)
|
2021-09-21 11:29:48 -03:00
|
|
|
endif()
|