273 |
273 |
274 "Do not manually edit this!! If it is corrupted, |
274 "Do not manually edit this!! If it is corrupted, |
275 the UIHelpTool may not be able to read the specification." |
275 the UIHelpTool may not be able to read the specification." |
276 |
276 |
277 " |
277 " |
278 UIHelpTool openOnClass:ImageEditor |
278 UIHelpTool openOnClass:ImageEditor |
279 " |
279 " |
280 |
280 |
281 <resource: #help> |
281 <resource: #help> |
282 |
282 |
283 ^ super helpSpec addPairsFrom:(self localHelpTexts) |
283 ^ super helpSpec addPairsFrom:#( |
284 |
284 |
285 "Modified: / 19-01-2012 / 13:29:42 / cg" |
285 #colorMap |
|
286 'ColorMap functions' |
|
287 |
|
288 #colorMap1 |
|
289 'Convert to depth-1 image' |
|
290 |
|
291 #colorMap1M |
|
292 'Convert to depth-1 image plus mask' |
|
293 |
|
294 #colorMap2 |
|
295 'Convert to depth-2 image' |
|
296 |
|
297 #colorMap24 |
|
298 'Convert to depth-24 image (rgb)' |
|
299 |
|
300 #colorMap2M |
|
301 'Convert to depth-2 image plus mask' |
|
302 |
|
303 #colorMap32 |
|
304 'Convert to depth-32 image (rgba)' |
|
305 |
|
306 #colorMap4 |
|
307 'Convert to depth-4 image' |
|
308 |
|
309 #colorMap4M |
|
310 'Convert to depth-4 image plus mask' |
|
311 |
|
312 #colorMap8 |
|
313 'Convert to depth-8 image' |
|
314 |
|
315 #colorMap8M |
|
316 'Convert to depth-8 image plus mask' |
|
317 |
|
318 #colorMapTable |
|
319 'Shows a list of used colors of the image' |
|
320 |
|
321 #compressColormap |
|
322 'Remove unneeded entries from the colorMap' |
|
323 |
|
324 #cropAll |
|
325 'Find and remove all borders' |
|
326 |
|
327 #cropBottom |
|
328 'Find and remove bottom border' |
|
329 |
|
330 #cropLeft |
|
331 'Find and remove left border' |
|
332 |
|
333 #cropManual |
|
334 'Specify border(s) to remove.' |
|
335 |
|
336 #cropRight |
|
337 'Find and remove right border' |
|
338 |
|
339 #cropTop |
|
340 'Find and remove top border' |
|
341 |
|
342 #drawModeBox |
|
343 'Rectangle Drawing Mode' |
|
344 |
|
345 #drawModeCircle |
|
346 'Circle Drawing Mode' |
|
347 |
|
348 #drawModeCopy |
|
349 'Area Copy Mode' |
|
350 |
|
351 #drawModeFill |
|
352 'Flood Fill Mode' |
|
353 |
|
354 #drawModeFilledBox |
|
355 'Filled Rectangle Drawing Mode' |
|
356 |
|
357 #drawModePaste |
|
358 'Paste Mode' |
|
359 |
|
360 #drawModePasteUnder |
|
361 'Paste-Under Mode' |
|
362 |
|
363 #drawModePasteWithMask |
|
364 'Paste-with-Mask Mode' |
|
365 |
|
366 #drawModePoint |
|
367 'Point Drawing Mode' |
|
368 |
|
369 #drawModeSpecial |
|
370 'Special operations (select rectangle, then choose operation)' |
|
371 |
|
372 #drawModeSpray |
|
373 'Spray Drawing Mode' |
|
374 |
|
375 #edit3DProjection |
|
376 '' |
|
377 |
|
378 #editFlipHorizontal |
|
379 'Flip the image horizontally' |
|
380 |
|
381 #editFlipVertical |
|
382 'Flip the image vertically' |
|
383 |
|
384 #editMagnifyImage |
|
385 'Magnify the image' |
|
386 |
|
387 #editNegate |
|
388 'Invert the images colors' |
|
389 |
|
390 #editResize |
|
391 'Resize the image (preserving the old image)' |
|
392 |
|
393 #editRotate |
|
394 'Rotate the image' |
|
395 |
|
396 #fileEditMask |
|
397 '' |
|
398 |
|
399 #fileGrabImageFromScreen |
|
400 'Pick an image from the screen (specify area)' |
|
401 |
|
402 #fileGrabImageFromWindow |
|
403 'Pick an image from a window on the screen (click on window)' |
|
404 |
|
405 #fileLoadFromClass |
|
406 'Select and load an image from a resource method' |
|
407 |
|
408 #fileLoadFromFile |
|
409 'Select and load an image from a file' |
|
410 |
|
411 #fileLoadFromURL |
|
412 'Load an image from the net, given its URL' |
|
413 |
|
414 #fileNewImage |
|
415 'Create a new image' |
|
416 |
|
417 #fileNewImageFromClipboard |
|
418 'Create a new image and initialize it from the clipboard' |
|
419 |
|
420 #fileNewMaskFromClipboard |
|
421 'Paste the image in the clipboard as a mask. Must be a depth-1 image' |
|
422 |
|
423 #filePrint |
|
424 'Print the image on a postscript printer' |
|
425 |
|
426 #fileSave |
|
427 'Save the image' |
|
428 |
|
429 #fileSaveAs |
|
430 'Save the image to a file' |
|
431 |
|
432 #fileSaveButtonImageAs |
|
433 'Save an image of a button with the image to a file (for html use)' |
|
434 |
|
435 #fileSaveMaskAs |
|
436 'Save the mask of the image to a file' |
|
437 |
|
438 #fileSaveMethod |
|
439 'Save the image as resource method in the current class and selector' |
|
440 |
|
441 #fileSaveMethodAs |
|
442 'Save the image as resource method in a class' |
|
443 |
|
444 #magnificationNumber |
|
445 'Shows the current magnification' |
|
446 |
|
447 #magnifyImageDown |
|
448 'Decrease magnification' |
|
449 |
|
450 #magnifyImageUp |
|
451 'Increase magnification' |
|
452 |
|
453 #mouseKeyColorMode |
|
454 'Toggle between left and right mouse button color' |
|
455 |
|
456 #nextImageInSequence |
|
457 'Go to the next image in the animated gif image sequence.' |
|
458 |
|
459 #previewView |
|
460 'Shows a preview of the image' |
|
461 |
|
462 #previousImageInSequence |
|
463 'Go to the previous image in the animated gif image sequence.' |
|
464 |
|
465 #settingsGridMagnification |
|
466 'Change the grid magnification of the edit view' |
|
467 |
|
468 #xdrawModeBox |
|
469 'Rectangle' |
|
470 |
|
471 #xdrawModeCopy |
|
472 'Copy' |
|
473 |
|
474 #xdrawModeFill |
|
475 'Flood-fill' |
|
476 |
|
477 #xdrawModeFilledBox |
|
478 'Filled rectangle' |
|
479 |
|
480 #xdrawModePaste |
|
481 'Paste' |
|
482 |
|
483 #xdrawModePasteUnder |
|
484 'Paste under' |
|
485 |
|
486 #xdrawModePasteWithMask |
|
487 'Paste with Mask' |
|
488 |
|
489 #xdrawModePoint |
|
490 'Point' |
|
491 |
|
492 #xfileGrabImage |
|
493 'Pick from screen' |
|
494 |
|
495 #xfileLoadFromClass |
|
496 'Load from method...' |
|
497 |
|
498 #xfileLoadFromFile |
|
499 'Load from file...' |
|
500 |
|
501 #xfileNewImage |
|
502 'New image' |
|
503 |
|
504 #xfileSaveAs |
|
505 'Save to file...' |
|
506 |
|
507 #xfileSaveMaskAs |
|
508 'Save mask to file...' |
|
509 |
|
510 #xfileSaveMethod |
|
511 'Save as method' |
|
512 |
|
513 #xfileSaveMethodAs |
|
514 'Save as Method...' |
|
515 |
|
516 ) |
286 ! |
517 ! |
287 |
518 |
288 localHelpTexts |
519 localHelpTexts |
289 "This resource specification was automatically generated |
520 "This resource specification was automatically generated |
290 by the UIHelpTool of ST/X." |
521 by the UIHelpTool of ST/X." |
2889 (MenuItem |
3122 (MenuItem |
2890 activeHelpKey: fileSaveMethod |
3123 activeHelpKey: fileSaveMethod |
2891 enabled: imageIsLoadedAndClassDefined |
3124 enabled: imageIsLoadedAndClassDefined |
2892 label: 'Save' |
3125 label: 'Save' |
2893 itemValue: doSaveMethod |
3126 itemValue: doSaveMethod |
|
3127 isVisible: methodSaveAndLoadMenuItemsVisible |
2894 ) |
3128 ) |
2895 (MenuItem |
3129 (MenuItem |
2896 activeHelpKey: fileSaveMethodAs |
3130 activeHelpKey: fileSaveMethodAs |
2897 enabled: imageIsLoadedHolder |
3131 enabled: imageIsLoadedHolder |
2898 label: 'Save As...' |
3132 label: 'Save As...' |
2899 itemValue: doSaveMethodAs |
3133 itemValue: doSaveMethodAs |
|
3134 isVisible: methodSaveAndLoadMenuItemsVisible |
2900 ) |
3135 ) |
2901 (MenuItem |
3136 (MenuItem |
2902 activeHelpKey: fileSaveAs |
3137 activeHelpKey: fileSaveAs |
2903 enabled: imageIsLoadedHolder |
3138 enabled: imageIsLoadedHolder |
2904 label: 'Save to File...' |
3139 label: 'Save to File...' |
3128 ( |
3363 ( |
3129 (MenuItem |
3364 (MenuItem |
3130 activeHelpKey: fileNewImage |
3365 activeHelpKey: fileNewImage |
3131 label: 'newImage' |
3366 label: 'newImage' |
3132 itemValue: doNewImage |
3367 itemValue: doNewImage |
3133 translateLabel: true |
|
3134 isButton: true |
3368 isButton: true |
3135 labelImage: (ResourceRetriever ToolbarIconLibrary newImageIcon) |
3369 labelImage: (ResourceRetriever ToolbarIconLibrary newImageIcon) |
3136 ) |
3370 ) |
3137 (MenuItem |
3371 (MenuItem |
3138 activeHelpKey: fileGrabImageFromScreen |
3372 activeHelpKey: fileGrabImageFromScreen |
3139 label: 'grabScreenImage' |
3373 label: 'grabScreenImage' |
3140 itemValue: grabScreenImage |
3374 itemValue: grabScreenImage |
3141 translateLabel: true |
|
3142 isButton: true |
3375 isButton: true |
3143 labelImage: (ResourceRetriever ToolbarIconLibrary snapshot24x24Icon) |
3376 labelImage: (ResourceRetriever ToolbarIconLibrary snapshot24x24Icon) |
3144 ) |
3377 ) |
3145 (MenuItem |
3378 (MenuItem |
3146 label: '-' |
3379 label: '-' |
3147 ) |
3380 ) |
3148 (MenuItem |
3381 (MenuItem |
3149 activeHelpKey: fileLoadFromClass |
3382 activeHelpKey: fileLoadFromClass |
3150 label: 'loadFromClass' |
3383 label: 'loadFromClass' |
3151 itemValue: doLoadFromClass |
3384 itemValue: doLoadFromClass |
3152 translateLabel: true |
|
3153 isButton: true |
3385 isButton: true |
3154 isVisible: isStandAlone |
3386 isVisible: isStandAloneAndMethodSaveAndLoadMenuItemsVisible |
3155 submenuChannel: menuHistory |
3387 submenuChannel: menuHistory |
3156 labelImage: (ResourceRetriever XPToolbarIconLibrary loadImageFromMethodIcon) |
3388 labelImage: (ResourceRetriever XPToolbarIconLibrary loadImageFromMethodIcon) |
3157 keepLinkedMenu: true |
3389 keepLinkedMenu: true |
3158 ) |
3390 ) |
3159 (MenuItem |
3391 (MenuItem |
3160 activeHelpKey: fileSaveMethodAs |
3392 activeHelpKey: fileSaveMethodAs |
3161 enabled: imageIsLoadedHolder |
3393 enabled: imageIsLoadedHolder |
3162 label: 'fileSaveMethodAs' |
3394 label: 'fileSaveMethodAs' |
3163 itemValue: doSaveMethodAs |
3395 itemValue: doSaveMethodAs |
3164 translateLabel: true |
|
3165 isButton: true |
3396 isButton: true |
3166 isVisible: isStandAlone |
3397 isVisible: isStandAloneAndMethodSaveAndLoadMenuItemsVisible |
3167 labelImage: (ResourceRetriever XPToolbarIconLibrary saveImageAsMethodAsIcon) |
3398 labelImage: (ResourceRetriever XPToolbarIconLibrary saveImageAsMethodAsIcon) |
3168 ) |
3399 ) |
3169 (MenuItem |
3400 (MenuItem |
3170 activeHelpKey: fileSaveMethod |
3401 activeHelpKey: fileSaveMethod |
3171 enabled: imageIsLoadedHolder |
3402 enabled: imageIsLoadedHolder |
3172 label: 'saveAsMethod' |
3403 label: 'saveAsMethod' |
3173 itemValue: doSaveMethod |
3404 itemValue: doSaveMethod |
3174 translateLabel: true |
|
3175 isButton: true |
3405 isButton: true |
3176 isVisible: isNotStandAlone |
3406 isVisible: isNotStandAloneAndMethodSaveAndLoadMenuItemsVisible |
3177 labelImage: (ResourceRetriever ToolbarIconLibrary saveImageAsMethodIcon) |
3407 labelImage: (ResourceRetriever ToolbarIconLibrary saveImageAsMethodIcon) |
3178 ) |
3408 ) |
3179 (MenuItem |
3409 (MenuItem |
3180 label: '-' |
3410 label: '-' |
|
3411 isVisible: methodSaveAndLoadMenuItemsVisible |
3181 ) |
3412 ) |
3182 (MenuItem |
3413 (MenuItem |
3183 activeHelpKey: fileLoadFromFile |
3414 activeHelpKey: fileLoadFromFile |
3184 label: 'loadFromFile' |
3415 label: 'loadFromFile' |
3185 itemValue: doLoadFromFile |
3416 itemValue: doLoadFromFile |
3186 translateLabel: true |
|
3187 isButton: true |
3417 isButton: true |
3188 labelImage: (ResourceRetriever ToolbarIconLibrary loadImageFromFileIcon) |
3418 labelImage: (ResourceRetriever ToolbarIconLibrary loadImageFromFileIcon) |
3189 ) |
3419 ) |
3190 (MenuItem |
3420 (MenuItem |
3191 activeHelpKey: fileSaveAs |
3421 activeHelpKey: fileSaveAs |
3192 enabled: imageIsLoadedHolder |
3422 enabled: imageIsLoadedHolder |
3193 label: 'saveAsFile' |
3423 label: 'saveAsFile' |
3194 itemValue: doSaveImageFileAs |
3424 itemValue: doSaveImageFileAs |
3195 translateLabel: true |
|
3196 isButton: true |
3425 isButton: true |
3197 labelImage: (ResourceRetriever ToolbarIconLibrary saveImageToFileAsIcon) |
3426 labelImage: (ResourceRetriever ToolbarIconLibrary saveImageToFileAsIcon) |
3198 ) |
3427 ) |
3199 (MenuItem |
3428 (MenuItem |
3200 label: '-' |
3429 label: '-' |
3215 (MenuItem |
3443 (MenuItem |
3216 activeHelpKey: previousImageInSequence |
3444 activeHelpKey: previousImageInSequence |
3217 enabled: imageHasPreviousImageHolder |
3445 enabled: imageHasPreviousImageHolder |
3218 label: 'Previous Image' |
3446 label: 'Previous Image' |
3219 itemValue: previousImageInSequence |
3447 itemValue: previousImageInSequence |
3220 translateLabel: true |
|
3221 isVisible: imageHasImageSequenceHolder |
3448 isVisible: imageHasImageSequenceHolder |
3222 labelImage: (ResourceRetriever ToolbarIconLibrary leftArrow24x24Icon) |
3449 labelImage: (ResourceRetriever ToolbarIconLibrary leftArrow24x24Icon) |
3223 ) |
3450 ) |
3224 (MenuItem |
3451 (MenuItem |
3225 activeHelpKey: nextImageInSequence |
3452 activeHelpKey: nextImageInSequence |
3226 enabled: imageHasNextImageHolder |
3453 enabled: imageHasNextImageHolder |
3227 label: 'Next Image' |
3454 label: 'Next Image' |
3228 itemValue: nextImageInSequence |
3455 itemValue: nextImageInSequence |
3229 translateLabel: true |
|
3230 isVisible: imageHasImageSequenceHolder |
3456 isVisible: imageHasImageSequenceHolder |
3231 labelImage: (ResourceRetriever ToolbarIconLibrary rightArrow24x24Icon) |
3457 labelImage: (ResourceRetriever ToolbarIconLibrary rightArrow24x24Icon) |
3232 ) |
3458 ) |
3233 ) |
3459 ) |
3234 nil |
3460 nil |