ColorEditDialog.st
changeset 3687 a3c56c0e4157
parent 3657 bb1dd1360035
child 3822 8f40c5d2a468
equal deleted inserted replaced
3686:501ea259b6a8 3687:a3c56c0e4157
     1 "{ Encoding: utf8 }"
       
     2 
       
     3 "
     1 "
     4  COPYRIGHT (c) 1995 by eXept Software AG
     2  COPYRIGHT (c) 1995 by eXept Software AG
     5               All Rights Reserved
     3               All Rights Reserved
     6 
     4 
     7  This software is furnished under a license and may be used
     5  This software is furnished under a license and may be used
   899 ! !
   897 ! !
   900 
   898 
   901 !ColorEditDialog class methodsFor:'startup'!
   899 !ColorEditDialog class methodsFor:'startup'!
   902 
   900 
   903 openOn:aColor
   901 openOn:aColor
       
   902     "open a color editor;
       
   903      return the application"
       
   904 
   904     ^ self new
   905     ^ self new
   905         color:aColor;
   906         color:aColor;
   906         open;
   907         open;
   907         yourself
   908         yourself
   908 
   909 
   909     "
   910     "
   910      self openOn:Color red
   911      ColorEditDialog openOn:Color red
   911     "
   912     "
   912 ! !
   913 ! !
   913 
   914 
   914 !ColorEditDialog methodsFor:'accessing'!
   915 !ColorEditDialog methodsFor:'accessing'!
   915 
   916