Thread: Get Icon size?
View Single Post
Old 12 November 2018, 01:59   #2
adrazar
Registered User

 
Join Date: Feb 2017
Location: Oslo
Posts: 51
I'm pretty sure the only way is to read it from the data structure manually. :/

The code looks something like this:
Code:
IMGADR=Leek(Start(2)+IMG*8+2)

WIDTH=16*Deek(IMGADR)
HEIGHT=Deek(IMGADR+2)
In this code example the first icon (number 1 in the bank) is found by choosing IMG=0.
adrazar is offline  
 
Page generated in 0.05564 seconds with 11 queries