Changes between Initial Version and Version 1 of Ticket #1323, comment 1
- Timestamp:
- 12/06/10 23:31:11 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1323, comment 1
initial v1 3 3 {{{ 4 4 Item: 5 private Bitmap itemImage;5 private [static] Bitmap itemImage; 6 6 public Bitmap ItemImage { 7 [lock(locker)] 7 8 if (itemImage==null) { 8 9 itemImage = CreateItemImage(); … … 16 17 } 17 18 }}} 19 20 21 If we want to have one Bitmap per type instead of one Bitmap per Item instance we can still make the itemImage field static, however, we probably also need to make the !ItemImage getter thread safe.