Changeset 31 for trunk/UCore.pas


Ignore:
Timestamp:
Jan 4, 2017, 11:49:56 PM (8 years ago)
Author:
chronos
Message:
  • Added: Pen tool to draw pixels by mouse with selected color.
  • Added: Mirror and Flip image operation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UCore.pas

    r30 r31  
    2020
    2121  TCore = class(TDataModule)
     22    AToolMove: TAction;
     23    AToolPen: TAction;
    2224    AImageNegative: TAction;
    2325    AImageGradient: TAction;
     
    5456    procedure AImageNegativeExecute(Sender: TObject);
    5557    procedure AImageRandomExecute(Sender: TObject);
     58    procedure AToolMoveExecute(Sender: TObject);
     59    procedure AToolPenExecute(Sender: TObject);
    5660    procedure AZoomAllExecute(Sender: TObject);
    5761    procedure AZoomInExecute(Sender: TObject);
     
    291295end;
    292296
     297procedure TCore.AToolMoveExecute(Sender: TObject);
     298begin
     299  FormMain.ImageTool := itMoveView;
     300end;
     301
     302procedure TCore.AToolPenExecute(Sender: TObject);
     303begin
     304  FormMain.ImageTool := itPen;
     305end;
     306
    293307end.
    294308
Note: See TracChangeset for help on using the changeset viewer.