dtphoto P1: a document that opens and saves, undo, zoom, submenus
The menu file grew the submenus of the reference (Image > Mode/Adjust/ Flip/Rotate/Effects, Layer, Select > Modify/Matting, the Filter groups, View > Preview); the parser understands sub/endsub and builds cascades. Open and Save run through XmFileSelectionBox and BMP 24-bit, Undo restores the one-step snapshot, View > Zoom In/Out/Fit/Actual scales the document (nearest neighbour) and the status line shows percent and document size. Measured under Xvfb: dtphoto -selftest testpic.bmp roundtrip.bmp -> PASS (the saved file reopens with the same pixels; 230454 bytes), and build/mcde-shots/dtphoto-open.png shows the picture at 100%.
This commit is contained in:
1 parent
4f1a66f23b
commit
db495039af
2 files changed
+744
-204
No files matched your search
+570
-176
File diff suppressed because it is too large.
Load diff
+174
-28
@@ -1,12 +1,13 @@
|
||||
# dtphoto.menu -- the menus of dtphoto, the Photoshop 2.5.2/3.0.1 look
|
||||
#
|
||||
# One line per entry: item <Label> | <Shortcut>
|
||||
# A line "sep" is a separator, "menu <Name>" starts a menu. A line ending in
|
||||
# "@2.5" or "@3.0" is read only when that version is selected (the same file
|
||||
# serves both, docs/MCDE-PROGRAMS.md C1).
|
||||
# item <Label> | <Shortcut> one entry
|
||||
# sub <Label> / endsub a submenu
|
||||
# sep a separator
|
||||
# menu <Name> start a menu
|
||||
#
|
||||
# The provenance of the labels is docs/reference/photoshop-ui.csv; no product
|
||||
# text names it.
|
||||
# A line ending in "@2.5" or "@3.0" is read only in that version: one file
|
||||
# serves both (docs/MCDE-PROGRAMS.md C1). Labels and order follow
|
||||
# docs/reference/photoshop-ui.csv; no product text names the reference.
|
||||
|
||||
menu File
|
||||
item New... | Ctrl+N
|
||||
@@ -52,16 +53,59 @@ item Define Pattern
|
||||
item Take Snapshot
|
||||
|
||||
menu Image
|
||||
item Mode
|
||||
item Adjust
|
||||
sub Mode
|
||||
item Bitmap
|
||||
item Grayscale
|
||||
item Duotone
|
||||
item Indexed Color...
|
||||
item RGB Color
|
||||
item CMYK Color
|
||||
item Lab Color
|
||||
item Multichannel
|
||||
sep
|
||||
item Color Table...
|
||||
sep
|
||||
item CMYK Preview
|
||||
item Gamut Warning
|
||||
endsub
|
||||
sub Adjust
|
||||
item Levels...
|
||||
item Curves...
|
||||
item Color Balance...
|
||||
item Brightness/Contrast...
|
||||
item Hue/Saturation...
|
||||
sep
|
||||
item Desaturate
|
||||
item Replace Color...
|
||||
item Selective Color...
|
||||
sep
|
||||
item Invert
|
||||
item Equalize
|
||||
item Threshold...
|
||||
item Posterize...
|
||||
endsub
|
||||
sep
|
||||
item Duplicate...
|
||||
item Apply Image...
|
||||
item Calculations...
|
||||
sep
|
||||
item Flip
|
||||
sub Flip
|
||||
item Horizontal
|
||||
item Vertical
|
||||
endsub
|
||||
sub Rotate
|
||||
item 180
|
||||
item 90 CW
|
||||
item 90 CCW
|
||||
item Arbitrary...
|
||||
endsub
|
||||
sub Effects
|
||||
item Scale
|
||||
item Rotate
|
||||
item Effects
|
||||
item Skew
|
||||
item Distort
|
||||
item Perspective
|
||||
endsub
|
||||
sep
|
||||
item Image Size...
|
||||
item Canvas Size...
|
||||
@@ -69,23 +113,51 @@ item Histogram...
|
||||
item Trap...
|
||||
|
||||
menu Layer @3.0
|
||||
item New
|
||||
sub New
|
||||
item Layer
|
||||
item Adjustment Layer
|
||||
endsub
|
||||
item Duplicate Layer...
|
||||
item Delete Layer
|
||||
sep
|
||||
item Layer Options...
|
||||
item Adjustment Options...
|
||||
sep
|
||||
item Effects
|
||||
item Type
|
||||
item Transform
|
||||
item Arrange
|
||||
sub Effects
|
||||
item Drop Shadow
|
||||
item Inner Shadow
|
||||
item Outer Glow
|
||||
item Inner Glow
|
||||
item Bevel and Emboss
|
||||
endsub
|
||||
sub Type
|
||||
item Render Layer
|
||||
item Horizontal
|
||||
item Vertical
|
||||
endsub
|
||||
sub Transform
|
||||
item Scale
|
||||
item Rotate
|
||||
item Skew
|
||||
item Distort
|
||||
item Perspective
|
||||
item Numeric...
|
||||
endsub
|
||||
sub Arrange
|
||||
item Bring to Front
|
||||
item Bring Forward
|
||||
item Send Backward
|
||||
item Send to Back
|
||||
endsub
|
||||
sep
|
||||
item Merge Down
|
||||
item Merge Visible
|
||||
item Flatten Image
|
||||
sep
|
||||
item Matting
|
||||
sub Matting
|
||||
item Defringe...
|
||||
item Remove Black Matte
|
||||
item Remove White Matte
|
||||
endsub
|
||||
|
||||
menu Select
|
||||
item All | Ctrl+A
|
||||
@@ -97,8 +169,17 @@ item Defloat
|
||||
sep
|
||||
item Color Range...
|
||||
item Feather...
|
||||
item Modify
|
||||
item Matting
|
||||
sub Modify
|
||||
item Border...
|
||||
item Smooth...
|
||||
item Expand...
|
||||
item Contract...
|
||||
endsub
|
||||
sub Matting
|
||||
item Defringe...
|
||||
item Remove Black Matte
|
||||
item Remove White Matte
|
||||
endsub
|
||||
sep
|
||||
item Grow
|
||||
item Similar
|
||||
@@ -110,20 +191,85 @@ item Save Selection...
|
||||
menu Filter
|
||||
item Last Filter | Ctrl+F
|
||||
sep
|
||||
sub Blur
|
||||
item Blur
|
||||
item Distort
|
||||
item Noise
|
||||
item Pixelate
|
||||
item Render
|
||||
item Blur More
|
||||
item Gaussian Blur...
|
||||
item Motion Blur...
|
||||
item Radial Blur...
|
||||
item Smart Blur...
|
||||
endsub
|
||||
sub Distort
|
||||
item Displace...
|
||||
item Pinch...
|
||||
item Polar Coordinates...
|
||||
item Ripple...
|
||||
item Shear...
|
||||
item Spherize...
|
||||
item Twirl...
|
||||
item Wave...
|
||||
item ZigZag...
|
||||
endsub
|
||||
sub Noise
|
||||
item Add Noise...
|
||||
item Despeckle
|
||||
item Dust & Scratches...
|
||||
item Median...
|
||||
endsub
|
||||
sub Pixelate
|
||||
item Color Halftone...
|
||||
item Crystallize...
|
||||
item Facet
|
||||
item Fragment
|
||||
item Mezzotint...
|
||||
item Mosaic...
|
||||
item Pointillize...
|
||||
endsub
|
||||
sub Render
|
||||
item Clouds
|
||||
item Difference Clouds
|
||||
item Lens Flare...
|
||||
item Lighting Effects...
|
||||
item Texture Fill...
|
||||
endsub
|
||||
sub Sharpen
|
||||
item Sharpen
|
||||
item Stylize
|
||||
item Video
|
||||
item Other
|
||||
item Digimarc
|
||||
item Sharpen Edges
|
||||
item Sharpen More
|
||||
item Unsharp Mask...
|
||||
endsub
|
||||
sub Stylize
|
||||
item Diffuse...
|
||||
item Emboss...
|
||||
item Extrude...
|
||||
item Find Edges
|
||||
item Solarize
|
||||
item Tiles...
|
||||
item Trace Contour...
|
||||
item Wind...
|
||||
endsub
|
||||
sub Video
|
||||
item De-Interlace...
|
||||
item NTSC Colors
|
||||
endsub
|
||||
sub Other
|
||||
item Custom...
|
||||
item High Pass...
|
||||
item Maximum...
|
||||
item Minimum...
|
||||
item Offset...
|
||||
endsub
|
||||
sub Digimarc
|
||||
item Embed Watermark...
|
||||
item Read Watermark
|
||||
endsub
|
||||
|
||||
menu View
|
||||
item New View
|
||||
item Preview
|
||||
sub Preview
|
||||
item CMYK
|
||||
item RGB
|
||||
endsub
|
||||
item Gamut Warning
|
||||
sep
|
||||
item Zoom In | Ctrl++
|
||||
|
||||
Reference in new issue
Block a user