Improved visibility of brush, eraser, and selection tools

This commit is contained in:
Yousef Khadadeh 2026-03-20 16:24:52 +03:00
parent 15e98c6e1f
commit 10ee12254c
5 changed files with 45 additions and 12 deletions

View file

@ -6,6 +6,8 @@
#include <Helpers/Serializers.hpp>
#include <Helpers/VersionNumber.hpp>
#include <include/effects/SkRuntimeEffect.h>
class DrawingProgram;
class World;
@ -21,6 +23,9 @@ class CanvasTheme {
void write_create_message(cereal::PortableBinaryOutputArchive& a) const;
void save_file(cereal::PortableBinaryOutputArchive& a) const;
void load_file(cereal::PortableBinaryInputArchive& a, VersionNumber version);
static sk_sp<SkBlender> get_visible_blend_mode();
private:
void set_tool_front_color(DrawingProgram& drawP);
struct BackColor {