author | Claus Gittinger <cg@exept.de> |
Sat, 05 Feb 2011 15:27:40 +0100 | |
changeset 5711 | 290bfea2c941 |
parent 5704 | d7c401801223 |
child 6238 | d62bf03b097c |
permissions | -rw-r--r-- |
5459 | 1 |
" |
2 |
COPYRIGHT (c) 2009 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
5398 | 12 |
"{ Package: 'stx:libview' }" |
13 |
||
14 |
Object subclass:#AbstractBackground |
|
15 |
instanceVariableNames:'' |
|
16 |
classVariableNames:'' |
|
17 |
poolDictionaries:'' |
|
18 |
category:'Graphics-Support' |
|
19 |
! |
|
20 |
||
21 |
!AbstractBackground class methodsFor:'documentation'! |
|
22 |
||
5459 | 23 |
copyright |
24 |
" |
|
25 |
COPYRIGHT (c) 2009 by eXept Software AG |
|
26 |
All Rights Reserved |
|
27 |
||
28 |
This software is furnished under a license and may be used |
|
29 |
only in accordance with the terms of that license and with the |
|
30 |
inclusion of the above copyright notice. This software may not |
|
31 |
be provided or otherwise made available to, or used by, any |
|
32 |
other person. No title to or ownership of the software is |
|
33 |
hereby transferred. |
|
34 |
" |
|
35 |
! |
|
36 |
||
5398 | 37 |
documentation |
38 |
" |
|
39 |
This will replace the viewBackground color. |
|
40 |
||
41 |
[author:] |
|
42 |
Claus Gittinger |
|
43 |
" |
|
5683 | 44 |
! |
45 |
||
46 |
examples |
|
47 |
" |
|
48 |
|v| |
|
49 |
||
50 |
v := View new. |
|
51 |
v viewBackground:(SolidBackground new color:Color red). |
|
52 |
v open. |
|
53 |
" |
|
54 |
! ! |
|
55 |
||
56 |
!AbstractBackground methodsFor:'drawing'! |
|
57 |
||
58 |
fillRectangleX:x y:y width:w height:h in:aView |
|
59 |
self subclassResponsibility |
|
60 |
||
61 |
"Created: / 23-01-2011 / 01:59:29 / cg" |
|
62 |
! ! |
|
63 |
||
64 |
!AbstractBackground methodsFor:'ignored conversion'! |
|
65 |
||
66 |
asFormOn:aDevice |
|
5704
d7c401801223
comment/format in: #initializeAllPluginClasses
Claus Gittinger <cg@exept.de>
parents:
5683
diff
changeset
|
67 |
self subclassResponsibility |
5683 | 68 |
|
69 |
"Created: / 23-01-2011 / 01:45:35 / cg" |
|
5704
d7c401801223
comment/format in: #initializeAllPluginClasses
Claus Gittinger <cg@exept.de>
parents:
5683
diff
changeset
|
70 |
"Modified: / 03-02-2011 / 19:55:49 / cg" |
5683 | 71 |
! |
72 |
||
73 |
onDevice:aDevice |
|
5704
d7c401801223
comment/format in: #initializeAllPluginClasses
Claus Gittinger <cg@exept.de>
parents:
5683
diff
changeset
|
74 |
self subclassResponsibility |
5683 | 75 |
|
76 |
"Created: / 23-01-2011 / 01:46:11 / cg" |
|
5704
d7c401801223
comment/format in: #initializeAllPluginClasses
Claus Gittinger <cg@exept.de>
parents:
5683
diff
changeset
|
77 |
"Modified: / 03-02-2011 / 19:55:40 / cg" |
5398 | 78 |
! ! |
79 |
||
80 |
!AbstractBackground class methodsFor:'documentation'! |
|
81 |
||
82 |
version_CVS |
|
5704
d7c401801223
comment/format in: #initializeAllPluginClasses
Claus Gittinger <cg@exept.de>
parents:
5683
diff
changeset
|
83 |
^ '$Header: /cvs/stx/stx/libview/AbstractBackground.st,v 1.4 2011-02-03 19:31:44 cg Exp $' |
5398 | 84 |
! ! |