Skip to content

Commit

Permalink
Remove the ASSDraw command
Browse files Browse the repository at this point in the history
ASSDraw is not shipped with Aegisub any more (and nowadays using the
vector clip tool with a clip2shape script is the more common way to
create drawings).
Users that insist on still using ASSDraw can still launch it manually.
  • Loading branch information
arch1t3cht committed Jan 11, 2025
1 parent 59412be commit a12c437
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 106 deletions.
84 changes: 0 additions & 84 deletions docs/art-sources/buttons/assdraw.svg

This file was deleted.

Binary file removed src/bitmaps/button/assdraw_16.png
Binary file not shown.
Binary file removed src/bitmaps/button/assdraw_24.png
Binary file not shown.
Binary file removed src/bitmaps/button/assdraw_32.png
Binary file not shown.
Binary file removed src/bitmaps/button/assdraw_48.png
Binary file not shown.
Binary file removed src/bitmaps/button/assdraw_64.png
Binary file not shown.
5 changes: 0 additions & 5 deletions src/bitmaps/manifest.respack
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ button/arrow_up_stop_24.png
button/arrow_up_stop_32.png
button/arrow_up_stop_48.png
button/arrow_up_stop_64.png
button/assdraw_16.png
button/assdraw_24.png
button/assdraw_32.png
button/assdraw_48.png
button/assdraw_64.png
button/attach_button_16.png
button/attach_button_24.png
button/attach_button_32.png
Expand Down
17 changes: 0 additions & 17 deletions src/command/tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#include "../dialogs.h"
#include "../include/aegisub/context.h"
#include "../libresrc/libresrc.h"
#include "../options.h"
#include "../resolution_resampler.h"
#include "../video_controller.h"

Expand All @@ -51,18 +50,6 @@
namespace {
using cmd::Command;

struct tool_assdraw final : public Command {
CMD_NAME("tool/assdraw")
CMD_ICON(assdraw)
STR_MENU("ASSDraw3...")
STR_DISP("ASSDraw3")
STR_HELP("Launch the ASSDraw3 tool for vector drawing")

void operator()(agi::Context *) override {
wxExecute("\"" + config::path->Decode("?data/ASSDraw3.exe").wstring() + "\"");
}
};

struct tool_export final : public Command {
CMD_NAME("tool/export")
CMD_ICON(export_menu)
Expand Down Expand Up @@ -288,10 +275,6 @@ namespace cmd {
reg(std::make_unique<tool_time_kanji>());
reg(std::make_unique<tool_time_postprocess>());
reg(std::make_unique<tool_translation_assistant>());
#ifdef _WIN32
if (agi::fs::FileExists(config::path->Decode("?data/ASSDraw3.exe")))
reg(std::make_unique<tool_assdraw>());
#endif
reg(std::make_unique<tool_translation_assistant_commit>());
reg(std::make_unique<tool_translation_assistant_preview>());
reg(std::make_unique<tool_translation_assistant_next>());
Expand Down

0 comments on commit a12c437

Please sign in to comment.