2022-08-06 03:11:36 +02:00
|
|
|
Class {
|
|
|
|
#name : #DiyaImageIcon,
|
|
|
|
#superclass : #DiyaImageView,
|
|
|
|
#category : #'Diya-Graphics'
|
|
|
|
}
|
|
|
|
|
|
|
|
{ #category : #accessing }
|
2022-08-07 20:43:16 +02:00
|
|
|
DiyaImageIcon >> borderWidth [
|
|
|
|
^0
|
2022-08-06 03:11:36 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
{ #category : #accessing }
|
2022-08-07 20:43:16 +02:00
|
|
|
DiyaImageIcon >> iconSize [
|
|
|
|
^ self ? #iconSize
|
2022-08-06 03:11:36 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
{ #category : #accessing }
|
|
|
|
DiyaImageIcon >> initialize [
|
|
|
|
super initialize.
|
2022-08-07 20:43:16 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
{ #category : #accessing }
|
2022-08-10 19:55:49 +02:00
|
|
|
DiyaImageIcon >> process [
|
2022-08-07 20:43:16 +02:00
|
|
|
|v|
|
|
|
|
v := self iconSize.
|
|
|
|
self extent: (v@v).
|
2022-08-10 19:55:49 +02:00
|
|
|
^super process
|
2022-08-06 03:11:36 +02:00
|
|
|
]
|