SimpleView.st
changeset 2158 948fe768cd36
parent 2143 d5b9c2e64ce9
child 2159 da3337e54241
equal deleted inserted replaced
2157:9572f0dd369d 2158:948fe768cd36
  1358 
  1358 
  1359     "Created: 17.7.1996 / 14:59:08 / cg"
  1359     "Created: 17.7.1996 / 14:59:08 / cg"
  1360     "Modified: 18.7.1996 / 13:34:26 / cg"
  1360     "Modified: 18.7.1996 / 13:34:26 / cg"
  1361 !
  1361 !
  1362 
  1362 
       
  1363 backgroundColor
       
  1364     "return the background color of the contents -
       
  1365      here, (since there is no contents), the viewBackground is returned."
       
  1366 
       
  1367     ^ self viewBackground
       
  1368 
       
  1369     "Modified: / 3.5.1997 / 10:28:04 / cg"
       
  1370     "Created: / 18.6.1998 / 15:59:36 / cg"
       
  1371 !
       
  1372 
  1363 backgroundColor:aColor
  1373 backgroundColor:aColor
  1364     "set the background color of the contents -
  1374     "set the background color of the contents -
  1365      here, (since there is no contents), the viewBackground is changed."
  1375      here, (since there is no contents), the viewBackground is changed."
  1366 
  1376 
  1367     self viewBackground:aColor
  1377     self viewBackground:aColor
  1442 	    device setWindowBorderWidth:aNumber in:drawableId
  1452 	    device setWindowBorderWidth:aNumber in:drawableId
  1443 	]
  1453 	]
  1444     ]
  1454     ]
  1445 
  1455 
  1446     "Modified: 5.6.1996 / 14:12:05 / cg"
  1456     "Modified: 5.6.1996 / 14:12:05 / cg"
       
  1457 !
       
  1458 
       
  1459 foregroundColor
       
  1460     "return the foreground color of the contents -
       
  1461      here, (since there is no contents), some default is returned."
       
  1462 
       
  1463     ^ Color black
       
  1464 
       
  1465     "Modified: / 3.5.1997 / 10:28:04 / cg"
       
  1466     "Created: / 18.6.1998 / 16:57:33 / cg"
  1447 !
  1467 !
  1448 
  1468 
  1449 level
  1469 level
  1450     "return my level relative to superView (3D)"
  1470     "return my level relative to superView (3D)"
  1451 
  1471 
  7778 ! !
  7798 ! !
  7779 
  7799 
  7780 !SimpleView class methodsFor:'documentation'!
  7800 !SimpleView class methodsFor:'documentation'!
  7781 
  7801 
  7782 version
  7802 version
  7783     ^ '$Header: /cvs/stx/stx/libview/SimpleView.st,v 1.255 1998-06-10 15:29:31 cg Exp $'
  7803     ^ '$Header: /cvs/stx/stx/libview/SimpleView.st,v 1.256 1998-06-18 14:58:17 cg Exp $'
  7784 ! !
  7804 ! !
  7785 SimpleView initialize!
  7805 SimpleView initialize!