07 February 2017, 23:21 | #1 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 763
|
bitmap attributes
Hiz again.
Is there a way to know the attributes of a given bitmap? I guess I can use Addr from the bitmap, peek its address and look to its newtype structure but I have no idea really how to do it. Thanks mates. |
08 February 2017, 01:35 | #2 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,356
|
Code:
INCLUDE "Blitzlibs:bb2objtypes.bb" *bm.bitmap = Addr Bitmap(1) NPrint *bm\_height NPrint *bm\_depth |
08 February 2017, 07:33 | #3 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 763
|
Oh yes!
Can't see now but I think I tried something very similar. Is bb2objtypes.bb included with all.res? (I'm using amiblitz 2 atm) Thanks so much idrougge! |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Directory hard drives with full support for file attributes | FrodeSolheim | support.FS-UAE | 4 | 28 April 2013 04:24 |
file attributes | amiga2 | support.Apps | 4 | 26 January 2012 03:34 |
Hidden, Pure file attributes | Bloodwych | support.Apps | 10 | 10 December 2007 00:26 |
_LVOOpenScreen() Bitmap | redblade | Coders. General | 2 | 02 October 2006 23:25 |
the bitmap bros are from the uk | petza | Nostalgia & memories | 53 | 12 May 2006 16:08 |
|
|