mirror of
https://github.com/lxsang/Diya-API.git
synced 2024-12-27 03:48:21 +01:00
9442050825
- Refactor code - Texture performance improvement
29 lines
438 B
Smalltalk
29 lines
438 B
Smalltalk
Class {
|
|
#name : #DiyaImageIcon,
|
|
#superclass : #DiyaImageView,
|
|
#category : #'Diya-Graphics'
|
|
}
|
|
|
|
{ #category : #accessing }
|
|
DiyaImageIcon >> borderWidth [
|
|
^0
|
|
]
|
|
|
|
{ #category : #accessing }
|
|
DiyaImageIcon >> iconSize [
|
|
^ self ? #iconSize
|
|
]
|
|
|
|
{ #category : #accessing }
|
|
DiyaImageIcon >> initialize [
|
|
super initialize.
|
|
]
|
|
|
|
{ #category : #accessing }
|
|
DiyaImageIcon >> process [
|
|
|v|
|
|
v := self iconSize.
|
|
self extent: (v@v).
|
|
^super process
|
|
]
|