XWorkstation.st
changeset 823 1a0933c804ba
parent 819 88aaa6ff1ca3
child 830 76fd3d86dd15
equal deleted inserted replaced
822:e2f8f3d865f7 823:1a0933c804ba
   894      very slow or is broken (can be put into display-rc-file)"
   894      very slow or is broken (can be put into display-rc-file)"
   895 
   895 
   896     ignoreBackingStore := aBoolean
   896     ignoreBackingStore := aBoolean
   897 !
   897 !
   898 
   898 
       
   899 preferredIconSize
       
   900     "return the displays preferred size for icons.
       
   901      Redefined to return a special value on SGI servers."
       
   902 
       
   903     self serverVendor = 'Silicon Graphics' ifTrue:[
       
   904         ^ 86@68
       
   905     ].
       
   906     ^ super preferredIconSize
       
   907 
       
   908     "Created: 10.6.1996 / 21:06:48 / cg"
       
   909 !
       
   910 
   899 supportedImageFormats
   911 supportedImageFormats
   900     "return an array with supported image formats; 
   912     "return an array with supported image formats; 
   901      each array entry is an attribute dictionary, consisting of 
   913      each array entry is an attribute dictionary, consisting of 
   902      depth, bitsPerPixel and padding values."
   914      depth, bitsPerPixel and padding values."
   903 
   915 
   935     ^ formatArray
   947     ^ formatArray
   936 
   948 
   937     "
   949     "
   938      Display supportedImageFormats 
   950      Display supportedImageFormats 
   939     "
   951     "
       
   952 !
       
   953 
       
   954 supportsIconViews
       
   955     "return true, if this device supports views as icons.
       
   956      Only Xservers (currently) support this."
       
   957 
       
   958     ^ true
       
   959 
       
   960     "
       
   961      Display supportsIconViews 
       
   962     "
       
   963 
       
   964     "Modified: 10.6.1996 / 20:11:48 / cg"
       
   965     "Created: 10.6.1996 / 21:08:18 / cg"
   940 !
   966 !
   941 
   967 
   942 supportsViewGravity
   968 supportsViewGravity
   943     "return true, if this device supports gravity attributes.
   969     "return true, if this device supports gravity attributes.
   944      We do not depend on it being implemented, but some resizing operations
   970      We do not depend on it being implemented, but some resizing operations
  7969 ! !
  7995 ! !
  7970 
  7996 
  7971 !XWorkstation class methodsFor:'documentation'!
  7997 !XWorkstation class methodsFor:'documentation'!
  7972 
  7998 
  7973 version
  7999 version
  7974     ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.139 1996-06-10 18:48:15 cg Exp $'
  8000     ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.140 1996-06-10 19:18:58 cg Exp $'
  7975 ! !
  8001 ! !
  7976 XWorkstation initialize!
  8002 XWorkstation initialize!