mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
PixelPaint: Rename from PaintBrush :^)
This commit is contained in:
parent
ff4eaa12b4
commit
58fa9c6e89
41 changed files with 58 additions and 58 deletions
|
@ -9,7 +9,7 @@ add_subdirectory(FontEditor)
|
||||||
add_subdirectory(Help)
|
add_subdirectory(Help)
|
||||||
add_subdirectory(HexEditor)
|
add_subdirectory(HexEditor)
|
||||||
add_subdirectory(IRCClient)
|
add_subdirectory(IRCClient)
|
||||||
add_subdirectory(PaintBrush)
|
add_subdirectory(PixelPaint)
|
||||||
add_subdirectory(Piano)
|
add_subdirectory(Piano)
|
||||||
add_subdirectory(QuickShow)
|
add_subdirectory(QuickShow)
|
||||||
add_subdirectory(SoundPlayer)
|
add_subdirectory(SoundPlayer)
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include <LibGfx/Bitmap.h>
|
#include <LibGfx/Bitmap.h>
|
||||||
#include <LibGfx/Rect.h>
|
#include <LibGfx/Rect.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
BucketTool::BucketTool()
|
BucketTool::BucketTool()
|
||||||
{
|
{
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
#include "Tool.h"
|
#include "Tool.h"
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
class BucketTool final : public Tool {
|
class BucketTool final : public Tool {
|
||||||
public:
|
public:
|
|
@ -19,5 +19,5 @@ set(SOURCES
|
||||||
Tool.cpp
|
Tool.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
serenity_bin(PaintBrush)
|
serenity_bin(PixelPaint)
|
||||||
target_link_libraries(PaintBrush LibGUI LibGfx)
|
target_link_libraries(PixelPaint LibGUI LibGfx)
|
|
@ -31,7 +31,7 @@
|
||||||
#include <LibGUI/SpinBox.h>
|
#include <LibGUI/SpinBox.h>
|
||||||
#include <LibGUI/TextBox.h>
|
#include <LibGUI/TextBox.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
CreateNewLayerDialog::CreateNewLayerDialog(const Gfx::Size& suggested_size, GUI::Window* parent_window)
|
CreateNewLayerDialog::CreateNewLayerDialog(const Gfx::Size& suggested_size, GUI::Window* parent_window)
|
||||||
: Dialog(parent_window)
|
: Dialog(parent_window)
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
#include <LibGUI/Dialog.h>
|
#include <LibGUI/Dialog.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
class CreateNewLayerDialog final : public GUI::Dialog {
|
class CreateNewLayerDialog final : public GUI::Dialog {
|
||||||
C_OBJECT(CreateNewLayerDialog);
|
C_OBJECT(CreateNewLayerDialog);
|
|
@ -33,7 +33,7 @@
|
||||||
#include <LibGfx/Rect.h>
|
#include <LibGfx/Rect.h>
|
||||||
#include <LibM/math.h>
|
#include <LibM/math.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
EllipseTool::EllipseTool()
|
EllipseTool::EllipseTool()
|
||||||
{
|
{
|
|
@ -30,7 +30,7 @@
|
||||||
#include <LibGfx/Point.h>
|
#include <LibGfx/Point.h>
|
||||||
#include <LibGUI/ActionGroup.h>
|
#include <LibGUI/ActionGroup.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
class EllipseTool final : public Tool {
|
class EllipseTool final : public Tool {
|
||||||
public:
|
public:
|
|
@ -32,7 +32,7 @@
|
||||||
#include <LibGUI/Painter.h>
|
#include <LibGUI/Painter.h>
|
||||||
#include <LibGfx/Bitmap.h>
|
#include <LibGfx/Bitmap.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
EraseTool::EraseTool()
|
EraseTool::EraseTool()
|
||||||
{
|
{
|
|
@ -31,7 +31,7 @@
|
||||||
#include <LibGfx/Point.h>
|
#include <LibGfx/Point.h>
|
||||||
#include <LibGfx/Forward.h>
|
#include <LibGfx/Forward.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
class EraseTool final : public Tool {
|
class EraseTool final : public Tool {
|
||||||
public:
|
public:
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
//#define PAINT_DEBUG
|
//#define PAINT_DEBUG
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
RefPtr<Image> Image::create_with_size(const Gfx::Size& size)
|
RefPtr<Image> Image::create_with_size(const Gfx::Size& size)
|
||||||
{
|
{
|
|
@ -35,7 +35,7 @@
|
||||||
#include <LibGfx/Rect.h>
|
#include <LibGfx/Rect.h>
|
||||||
#include <LibGfx/Size.h>
|
#include <LibGfx/Size.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
class Layer;
|
class Layer;
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#include <LibGUI/Painter.h>
|
#include <LibGUI/Painter.h>
|
||||||
#include <LibGfx/Palette.h>
|
#include <LibGfx/Palette.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
ImageEditor::ImageEditor()
|
ImageEditor::ImageEditor()
|
||||||
{
|
{
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
#include <LibGUI/Frame.h>
|
#include <LibGUI/Frame.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
class Image;
|
class Image;
|
||||||
class Layer;
|
class Layer;
|
|
@ -27,7 +27,7 @@
|
||||||
#include "Layer.h"
|
#include "Layer.h"
|
||||||
#include <LibGfx/Bitmap.h>
|
#include <LibGfx/Bitmap.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
RefPtr<Layer> Layer::create_with_size(const Gfx::Size& size, const String& name)
|
RefPtr<Layer> Layer::create_with_size(const Gfx::Size& size, const String& name)
|
||||||
{
|
{
|
|
@ -31,7 +31,7 @@
|
||||||
#include <AK/String.h>
|
#include <AK/String.h>
|
||||||
#include <LibGfx/Bitmap.h>
|
#include <LibGfx/Bitmap.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
class Layer : public RefCounted<Layer> {
|
class Layer : public RefCounted<Layer> {
|
||||||
AK_MAKE_NONCOPYABLE(Layer);
|
AK_MAKE_NONCOPYABLE(Layer);
|
|
@ -28,7 +28,7 @@
|
||||||
#include "Image.h"
|
#include "Image.h"
|
||||||
#include "Layer.h"
|
#include "Layer.h"
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
NonnullRefPtr<LayerModel> LayerModel::create(Image& image)
|
NonnullRefPtr<LayerModel> LayerModel::create(Image& image)
|
||||||
{
|
{
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
#include <LibGUI/Model.h>
|
#include <LibGUI/Model.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
class Image;
|
class Image;
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#include <LibGUI/Painter.h>
|
#include <LibGUI/Painter.h>
|
||||||
#include <LibM/math.h>
|
#include <LibM/math.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
static Gfx::Point constrain_line_angle(const Gfx::Point& start_pos, const Gfx::Point& end_pos, float angle_increment)
|
static Gfx::Point constrain_line_angle(const Gfx::Point& start_pos, const Gfx::Point& end_pos, float angle_increment)
|
||||||
{
|
{
|
|
@ -30,7 +30,7 @@
|
||||||
#include <LibGUI/ActionGroup.h>
|
#include <LibGUI/ActionGroup.h>
|
||||||
#include <LibGfx/Point.h>
|
#include <LibGfx/Point.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
class LineTool final : public Tool {
|
class LineTool final : public Tool {
|
||||||
public:
|
public:
|
|
@ -33,7 +33,7 @@
|
||||||
#include <LibGUI/Window.h>
|
#include <LibGUI/Window.h>
|
||||||
#include <LibGfx/Bitmap.h>
|
#include <LibGfx/Bitmap.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
MoveTool::MoveTool()
|
MoveTool::MoveTool()
|
||||||
{
|
{
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
#include "Tool.h"
|
#include "Tool.h"
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
class MoveTool final : public Tool {
|
class MoveTool final : public Tool {
|
||||||
public:
|
public:
|
|
@ -30,7 +30,7 @@
|
||||||
#include <LibGUI/ColorPicker.h>
|
#include <LibGUI/ColorPicker.h>
|
||||||
#include <LibGfx/Palette.h>
|
#include <LibGfx/Palette.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
class ColorWidget : public GUI::Frame {
|
class ColorWidget : public GUI::Frame {
|
||||||
C_OBJECT(ColorWidget);
|
C_OBJECT(ColorWidget);
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
#include <LibGUI/Frame.h>
|
#include <LibGUI/Frame.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
class ImageEditor;
|
class ImageEditor;
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#include <LibGUI/Menu.h>
|
#include <LibGUI/Menu.h>
|
||||||
#include <LibGUI/Painter.h>
|
#include <LibGUI/Painter.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
PenTool::PenTool()
|
PenTool::PenTool()
|
||||||
{
|
{
|
|
@ -30,7 +30,7 @@
|
||||||
#include <LibGfx/Point.h>
|
#include <LibGfx/Point.h>
|
||||||
#include <LibGUI/ActionGroup.h>
|
#include <LibGUI/ActionGroup.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
class PenTool final : public Tool {
|
class PenTool final : public Tool {
|
||||||
public:
|
public:
|
|
@ -29,7 +29,7 @@
|
||||||
#include "Layer.h"
|
#include "Layer.h"
|
||||||
#include <LibGfx/Bitmap.h>
|
#include <LibGfx/Bitmap.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
PickerTool::PickerTool()
|
PickerTool::PickerTool()
|
||||||
{
|
{
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
#include "Tool.h"
|
#include "Tool.h"
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
class PickerTool final : public Tool {
|
class PickerTool final : public Tool {
|
||||||
public:
|
public:
|
|
@ -33,7 +33,7 @@
|
||||||
#include <LibGfx/Rect.h>
|
#include <LibGfx/Rect.h>
|
||||||
#include <LibM/math.h>
|
#include <LibM/math.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
RectangleTool::RectangleTool()
|
RectangleTool::RectangleTool()
|
||||||
{
|
{
|
|
@ -30,7 +30,7 @@
|
||||||
#include <LibGfx/Point.h>
|
#include <LibGfx/Point.h>
|
||||||
#include <LibGUI/Forward.h>
|
#include <LibGUI/Forward.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
class RectangleTool final : public Tool {
|
class RectangleTool final : public Tool {
|
||||||
public:
|
public:
|
|
@ -36,7 +36,7 @@
|
||||||
#include <LibM/math.h>
|
#include <LibM/math.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
SprayTool::SprayTool()
|
SprayTool::SprayTool()
|
||||||
{
|
{
|
|
@ -31,7 +31,7 @@
|
||||||
#include <LibGUI/ActionGroup.h>
|
#include <LibGUI/ActionGroup.h>
|
||||||
#include <LibGUI/Painter.h>
|
#include <LibGUI/Painter.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
class SprayTool final : public Tool {
|
class SprayTool final : public Tool {
|
||||||
public:
|
public:
|
|
@ -28,7 +28,7 @@
|
||||||
#include "ImageEditor.h"
|
#include "ImageEditor.h"
|
||||||
#include <LibGUI/Action.h>
|
#include <LibGUI/Action.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
Tool::Tool()
|
Tool::Tool()
|
||||||
{
|
{
|
|
@ -29,7 +29,7 @@
|
||||||
#include <LibGUI/Event.h>
|
#include <LibGUI/Event.h>
|
||||||
#include <LibGUI/Forward.h>
|
#include <LibGUI/Forward.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
class ImageEditor;
|
class ImageEditor;
|
||||||
class Layer;
|
class Layer;
|
|
@ -39,7 +39,7 @@
|
||||||
#include <LibGUI/BoxLayout.h>
|
#include <LibGUI/BoxLayout.h>
|
||||||
#include <LibGUI/Button.h>
|
#include <LibGUI/Button.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
class ToolButton final : public GUI::Button {
|
class ToolButton final : public GUI::Button {
|
||||||
C_OBJECT(ToolButton)
|
C_OBJECT(ToolButton)
|
|
@ -29,7 +29,7 @@
|
||||||
#include <LibGUI/ActionGroup.h>
|
#include <LibGUI/ActionGroup.h>
|
||||||
#include <LibGUI/Frame.h>
|
#include <LibGUI/Frame.h>
|
||||||
|
|
||||||
namespace PaintBrush {
|
namespace PixelPaint {
|
||||||
|
|
||||||
class Tool;
|
class Tool;
|
||||||
|
|
|
@ -60,7 +60,7 @@ int main(int argc, char** argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
auto window = GUI::Window::construct();
|
auto window = GUI::Window::construct();
|
||||||
window->set_title("PaintBrush");
|
window->set_title("PixelPaint");
|
||||||
window->set_rect(40, 100, 950, 570);
|
window->set_rect(40, 100, 950, 570);
|
||||||
window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-paintbrush.png"));
|
window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-paintbrush.png"));
|
||||||
|
|
||||||
|
@ -68,20 +68,20 @@ int main(int argc, char** argv)
|
||||||
horizontal_container.set_layout<GUI::HorizontalBoxLayout>();
|
horizontal_container.set_layout<GUI::HorizontalBoxLayout>();
|
||||||
horizontal_container.layout()->set_spacing(0);
|
horizontal_container.layout()->set_spacing(0);
|
||||||
|
|
||||||
auto& toolbox = horizontal_container.add<PaintBrush::ToolboxWidget>();
|
auto& toolbox = horizontal_container.add<PixelPaint::ToolboxWidget>();
|
||||||
|
|
||||||
auto& vertical_container = horizontal_container.add<GUI::Widget>();
|
auto& vertical_container = horizontal_container.add<GUI::Widget>();
|
||||||
vertical_container.set_layout<GUI::VerticalBoxLayout>();
|
vertical_container.set_layout<GUI::VerticalBoxLayout>();
|
||||||
vertical_container.layout()->set_spacing(0);
|
vertical_container.layout()->set_spacing(0);
|
||||||
|
|
||||||
auto& image_editor = vertical_container.add<PaintBrush::ImageEditor>();
|
auto& image_editor = vertical_container.add<PixelPaint::ImageEditor>();
|
||||||
image_editor.set_focus(true);
|
image_editor.set_focus(true);
|
||||||
|
|
||||||
toolbox.on_tool_selection = [&](auto* tool) {
|
toolbox.on_tool_selection = [&](auto* tool) {
|
||||||
image_editor.set_active_tool(tool);
|
image_editor.set_active_tool(tool);
|
||||||
};
|
};
|
||||||
|
|
||||||
vertical_container.add<PaintBrush::PaletteWidget>(image_editor);
|
vertical_container.add<PixelPaint::PaletteWidget>(image_editor);
|
||||||
|
|
||||||
auto& right_panel = horizontal_container.add<GUI::Widget>();
|
auto& right_panel = horizontal_container.add<GUI::Widget>();
|
||||||
right_panel.set_size_policy(GUI::SizePolicy::Fixed, GUI::SizePolicy::Fill);
|
right_panel.set_size_policy(GUI::SizePolicy::Fixed, GUI::SizePolicy::Fill);
|
||||||
|
@ -94,7 +94,7 @@ int main(int argc, char** argv)
|
||||||
window->show();
|
window->show();
|
||||||
|
|
||||||
auto menubar = GUI::MenuBar::construct();
|
auto menubar = GUI::MenuBar::construct();
|
||||||
auto& app_menu = menubar->add_menu("PaintBrush");
|
auto& app_menu = menubar->add_menu("PixelPaint");
|
||||||
|
|
||||||
app_menu.add_action(GUI::CommonActions::make_open_action([&](auto&) {
|
app_menu.add_action(GUI::CommonActions::make_open_action([&](auto&) {
|
||||||
Optional<String> open_path = GUI::FilePicker::get_open_filepath();
|
Optional<String> open_path = GUI::FilePicker::get_open_filepath();
|
||||||
|
@ -125,9 +125,9 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
auto& layer_menu = menubar->add_menu("Layer");
|
auto& layer_menu = menubar->add_menu("Layer");
|
||||||
layer_menu.add_action(GUI::Action::create("Create new layer...", { Mod_Ctrl | Mod_Shift, Key_N }, [&](auto&) {
|
layer_menu.add_action(GUI::Action::create("Create new layer...", { Mod_Ctrl | Mod_Shift, Key_N }, [&](auto&) {
|
||||||
auto dialog = PaintBrush::CreateNewLayerDialog::construct(image_editor.image()->size(), window);
|
auto dialog = PixelPaint::CreateNewLayerDialog::construct(image_editor.image()->size(), window);
|
||||||
if (dialog->exec() == GUI::Dialog::ExecOK) {
|
if (dialog->exec() == GUI::Dialog::ExecOK) {
|
||||||
auto layer = PaintBrush::Layer::create_with_size(dialog->layer_size(), dialog->layer_name());
|
auto layer = PixelPaint::Layer::create_with_size(dialog->layer_size(), dialog->layer_name());
|
||||||
if (!layer) {
|
if (!layer) {
|
||||||
GUI::MessageBox::show_error(String::format("Unable to create layer with size %s", dialog->size().to_string().characters()));
|
GUI::MessageBox::show_error(String::format("Unable to create layer with size %s", dialog->size().to_string().characters()));
|
||||||
return;
|
return;
|
||||||
|
@ -179,7 +179,7 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
auto& help_menu = menubar->add_menu("Help");
|
auto& help_menu = menubar->add_menu("Help");
|
||||||
help_menu.add_action(GUI::Action::create("About", [&](auto&) {
|
help_menu.add_action(GUI::Action::create("About", [&](auto&) {
|
||||||
GUI::AboutDialog::show("PaintBrush", Gfx::Bitmap::load_from_file("/res/icons/32x32/app-paintbrush.png"), window);
|
GUI::AboutDialog::show("PixelPaint", Gfx::Bitmap::load_from_file("/res/icons/32x32/app-paintbrush.png"), window);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
app.set_menubar(move(menubar));
|
app.set_menubar(move(menubar));
|
||||||
|
@ -191,9 +191,9 @@ int main(int argc, char** argv)
|
||||||
layer_table_view.selection().clear();
|
layer_table_view.selection().clear();
|
||||||
};
|
};
|
||||||
|
|
||||||
auto image = PaintBrush::Image::create_with_size({ 640, 480 });
|
auto image = PixelPaint::Image::create_with_size({ 640, 480 });
|
||||||
|
|
||||||
auto bg_layer = PaintBrush::Layer::create_with_size({ 640, 480 }, "Background");
|
auto bg_layer = PixelPaint::Layer::create_with_size({ 640, 480 }, "Background");
|
||||||
image->add_layer(*bg_layer);
|
image->add_layer(*bg_layer);
|
||||||
bg_layer->bitmap().fill(Color::White);
|
bg_layer->bitmap().fill(Color::White);
|
||||||
|
|
||||||
|
@ -201,7 +201,7 @@ int main(int argc, char** argv)
|
||||||
layer_table_view.on_selection_change = [&] {
|
layer_table_view.on_selection_change = [&] {
|
||||||
auto index = layer_table_view.selection().first();
|
auto index = layer_table_view.selection().first();
|
||||||
if (index.is_valid())
|
if (index.is_valid())
|
||||||
image_editor.set_active_layer(const_cast<PaintBrush::Layer*>(&image->layer(index.row())));
|
image_editor.set_active_layer(const_cast<PixelPaint::Layer*>(&image->layer(index.row())));
|
||||||
else
|
else
|
||||||
image_editor.set_active_layer(nullptr);
|
image_editor.set_active_layer(nullptr);
|
||||||
};
|
};
|
|
@ -1,8 +0,0 @@
|
||||||
[App]
|
|
||||||
Name=PaintBrush
|
|
||||||
Executable=/bin/PaintBrush
|
|
||||||
Category=Graphics
|
|
||||||
|
|
||||||
[Icons]
|
|
||||||
16x16=/res/icons/16x16/app-paintbrush.png
|
|
||||||
32x32=/res/icons/32x32/app-paintbrush.png
|
|
8
Base/res/apps/PixelPaint.af
Normal file
8
Base/res/apps/PixelPaint.af
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[App]
|
||||||
|
Name=PixelPaint
|
||||||
|
Executable=/bin/PixelPaint
|
||||||
|
Category=Graphics
|
||||||
|
|
||||||
|
[Icons]
|
||||||
|
16x16=/res/icons/16x16/app-pixelpaint.png
|
||||||
|
32x32=/res/icons/32x32/app-pixelpaint.png
|
|
@ -61,5 +61,5 @@ Serenity includes the Piano, which allows you to create your own tunes by
|
||||||
simply pressing keys on the keyboard. You can pick the wavetype, octave, and
|
simply pressing keys on the keyboard. You can pick the wavetype, octave, and
|
||||||
more! Serenity also has SoundPlayer, which lets you play WAV files.
|
more! Serenity also has SoundPlayer, which lets you play WAV files.
|
||||||
|
|
||||||
Serenity also has PaintBrush, which is a simple bitmap editor. Draw with the
|
Serenity also has PixelPaint, which is a layered bitmap editor. Draw with the
|
||||||
pencil and change colors. Try drawing shapes! Can't do that in GIMP!
|
pencil and change colors. Try drawing shapes! Can't do that in GIMP!
|
||||||
|
|
|
@ -134,7 +134,7 @@ ln -s VisualBuilder mnt/bin/vb
|
||||||
ln -s WidgetGallery mnt/bin/wg
|
ln -s WidgetGallery mnt/bin/wg
|
||||||
ln -s TextEditor mnt/bin/te
|
ln -s TextEditor mnt/bin/te
|
||||||
ln -s HexEditor mnt/bin/he
|
ln -s HexEditor mnt/bin/he
|
||||||
ln -s PaintBrush mnt/bin/pb
|
ln -s PixelPaint mnt/bin/pp
|
||||||
ln -s QuickShow mnt/bin/qs
|
ln -s QuickShow mnt/bin/qs
|
||||||
ln -s Piano mnt/bin/pi
|
ln -s Piano mnt/bin/pi
|
||||||
ln -s SystemDialog mnt/bin/sd
|
ln -s SystemDialog mnt/bin/sd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue