equal
deleted
inserted
replaced
844 |
844 |
845 <resource: #image> |
845 <resource: #image> |
846 |
846 |
847 ^Icon |
847 ^Icon |
848 constantNamed:'ImageEditor class fillCircleIcon' |
848 constantNamed:'ImageEditor class fillCircleIcon' |
849 ifAbsentPut:[(Depth1Image width:14 height:14) bits:(ByteArray fromPackedString:'@@@@@@@A@@@@@@@@@@@@@@@C@@@@@@@@@@@@@@@a') |
849 ifAbsentPut:[(Depth1Image width:14 height:14) bits:(ByteArray fromPackedString:'@@@@@@QA@@@@@B@H@@@@@@@CH@ @@@@@AD@@@@@a') |
850 colorMapFromArray:#[0 0 0 255 0 0] |
850 colorMapFromArray:#[0 0 0 127 127 127] |
851 mask:((ImageMask width:14 height:14) bits:(ByteArray fromPackedString:'@@@@@@N@C>@_<A?0O? ?>C?8G?@_<@? @8@@@@@a'); yourself); yourself] |
851 mask:((ImageMask width:14 height:14) bits:(ByteArray fromPackedString:'@@@@@@_@C>@_<C?8O? ?>C?8O? _<@? A<@@@@@a'); yourself); yourself] |
852 ! |
852 ! |
853 |
853 |
854 fillDiagonalGradientRectIcon |
854 fillDiagonalGradientRectIcon |
855 "This resource specification was automatically generated |
855 "This resource specification was automatically generated |
856 by the ImageEditor of ST/X." |
856 by the ImageEditor of ST/X." |
2403 name: windowSpec |
2403 name: windowSpec |
2404 window: |
2404 window: |
2405 (WindowSpec |
2405 (WindowSpec |
2406 label: 'Image Editor' |
2406 label: 'Image Editor' |
2407 name: 'Image Editor' |
2407 name: 'Image Editor' |
2408 min: (Point 600 350) |
2408 min: (Point 800 400) |
2409 bounds: (Rectangle 0 0 632 446) |
2409 bounds: (Rectangle 0 0 800 446) |
2410 menu: menu |
2410 menu: menu |
2411 icon: defaultIcon |
2411 icon: defaultIcon |
2412 ) |
2412 ) |
2413 component: |
2413 component: |
2414 (SpecCollection |
2414 (SpecCollection |
2642 ) |
2642 ) |
2643 ) |
2643 ) |
2644 ) |
2644 ) |
2645 |
2645 |
2646 ) |
2646 ) |
2647 handles: (Any 0.28999999999999998 1.0) |
2647 handles: (Any 0.47999999999999998 1.0) |
2648 ) |
2648 ) |
2649 (UISubSpecification |
2649 (UISubSpecification |
2650 name: 'infoBarSubSpec' |
2650 name: 'infoBarSubSpec' |
2651 layout: (LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0) |
2651 layout: (LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0) |
2652 majorKey: ToolApplicationModel |
2652 majorKey: ToolApplicationModel |
2654 ) |
2654 ) |
2655 ) |
2655 ) |
2656 |
2656 |
2657 ) |
2657 ) |
2658 ) |
2658 ) |
2659 |
|
2660 "Modified: / 12-04-2017 / 09:23:55 / cg" |
|
2661 ! ! |
2659 ! ! |
2662 |
2660 |
2663 !ImageEditor class methodsFor:'menu specs'! |
2661 !ImageEditor class methodsFor:'menu specs'! |
2664 |
2662 |
2665 colorMapMenu |
2663 colorMapMenu |
4924 self colorBoxVisibleHolder value:(sym == #colors). |
4922 self colorBoxVisibleHolder value:(sym == #colors). |
4925 self cropBoxVisibleHolder value:(sym == #crop). |
4923 self cropBoxVisibleHolder value:(sym == #crop). |
4926 self floodFillBoxVisibleHolder value:(sym == #fill). |
4924 self floodFillBoxVisibleHolder value:(sym == #fill). |
4927 |
4925 |
4928 "Created: / 19-02-2017 / 15:01:05 / cg" |
4926 "Created: / 19-02-2017 / 15:01:05 / cg" |
|
4927 "Modified: / 21-04-2017 / 16:05:51 / cg" |
4929 ! |
4928 ! |
4930 |
4929 |
4931 colorMapModeFromImage:anImage |
4930 colorMapModeFromImage:anImage |
4932 "retrieves the colorMapMode for an image" |
4931 "retrieves the colorMapMode for an image" |
4933 |
4932 |
5869 ! |
5868 ! |
5870 |
5869 |
5871 preferredExtent |
5870 preferredExtent |
5872 "returns the preferred extent" |
5871 "returns the preferred extent" |
5873 |
5872 |
5874 ^ super preferredExtent max: (Screen current width//3)@(Screen current height//3.5) |
5873 ^ super preferredExtent max: ((Screen current width//3)@(Screen current height//3.5)) |
|
5874 |
|
5875 "Modified (format): / 13-04-2017 / 09:52:25 / cg" |
5875 ! ! |
5876 ! ! |
5876 |
5877 |
5877 !ImageEditor methodsFor:'selection'! |
5878 !ImageEditor methodsFor:'selection'! |
5878 |
5879 |
5879 magnification |
5880 magnification |