Thread: Get Icon size?
View Single Post
Old 13 November 2018, 19:56   #3
volvo_0ne
Registered User

 
Join Date: Mar 2015
Location: Sheffield UK
Posts: 360
Quote:
Originally Posted by adrazar View Post
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.
Excellent!
That does exactly what I want.

Many many thanks for your help.

V1
volvo_0ne is offline  
 
Page generated in 0.04466 seconds with 11 queries