New: Picture effects screen, resizes / mirrors / rotates image (Issue 73)
New: Distort brush (Issue 34) New: Pixel scaler "Triple" for 3x3 zoom (Issue 147) New: Pixel scaler "Quadruple" for 4x4 zoom (Issue 151) New: Pixel scaler "Wide2" for 4x2 zoom (Issue 148) New: Pixel scaler "Tall2" for 2x4 zoom (Issue 149) Fix of very old bug: Resizing the image didn't mark the image 'modified since last save' git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@763 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
21
init.c
21
init.c
@@ -66,6 +66,8 @@
|
||||
#include "mountlist.h" // read_file_system_list
|
||||
#include "loadsave.h" // Image_emergency_backup
|
||||
#include "init.h"
|
||||
#include "transform.h"
|
||||
|
||||
|
||||
// Rechercher la liste et le type des lecteurs de la machine
|
||||
|
||||
@@ -822,12 +824,11 @@ void Init_buttons(void)
|
||||
Do_nothing,
|
||||
FAMILY_INSTANT);
|
||||
|
||||
// !!! TEMPORAIRE !!!
|
||||
Init_button(BUTTON_ADJUST,
|
||||
0,18,
|
||||
16,16,
|
||||
BUTTON_SHAPE_RECTANGLE,
|
||||
Button_Adjust,Message_not_implemented,
|
||||
Button_Adjust,Button_Transform_menu,
|
||||
Do_nothing,
|
||||
FAMILY_TOOL);
|
||||
|
||||
@@ -1322,6 +1323,22 @@ void Init_operations(void)
|
||||
Init_operation(OPERATION_ROTATE_BRUSH,2,5,
|
||||
Rotate_brush_2_5,1);
|
||||
|
||||
Init_operation(OPERATION_DISTORT_BRUSH,0,0,
|
||||
Distort_brush_0_0,0);
|
||||
Init_operation(OPERATION_DISTORT_BRUSH,1,0,
|
||||
Distort_brush_1_0,0);
|
||||
Init_operation(OPERATION_DISTORT_BRUSH,1,8,
|
||||
Distort_brush_1_8,0);
|
||||
Init_operation(OPERATION_DISTORT_BRUSH,2,8,
|
||||
Distort_brush_2_8,1);
|
||||
Init_operation(OPERATION_DISTORT_BRUSH,2,0,
|
||||
Distort_brush_2_0,1);
|
||||
Init_operation(OPERATION_DISTORT_BRUSH,1,9,
|
||||
Distort_brush_1_9,0);
|
||||
Init_operation(OPERATION_DISTORT_BRUSH,0,9,
|
||||
Distort_brush_0_9,0);
|
||||
|
||||
|
||||
Init_operation(OPERATION_POLYBRUSH,1,0,
|
||||
Filled_polyform_12_0,1);
|
||||
Init_operation(OPERATION_POLYBRUSH,2,0,
|
||||
|
||||
Reference in New Issue
Block a user