Hi Latch!
I see what you mean about Paste image - I checked in DB1.13, and the mere presence of that fourth parameter is enough to set the images to transparent. I must have misremembered how the command worked!
Anyway, I've been running some tests on the time taken for the DW functions to execute, but I'm not really getting any slow downs. This code:
TimerOne = Timer()
For T = 1 to 10000
DW_Set_Button_X(2,2, 90)
Next T
TimerTwo = Timer()
Text 350, 50, Str$(TimerTwo - TimerOne)
gets executed in around 0 to 16ms, although it's hard to say because the timer keeps flickering.
Calling this code:
TimerOne = Timer()
For T = 1 to 10000
Test = DW_Button_Exist(2, Button)
Test = DW_Button_Visible(2, Button)
Test = DW_Button_Enabled(2, Button)
Test = DW_Button_X(2, Button)
Test = DW_Button_Y(2, Button)
Test = DW_Button_Width(2, Button)
Test = DW_Button_Height(2, Button)
Test = DW_Button_Normal_Image(2, Button)
Test = DW_Button_Pressed_Image(2, Button)
Test = DW_Button_Disabled_Image(2, Button)
Test = DW_Button_Transparency(2, Button)
Next T
TimerTwo = Timer()
Text 350, 50, Str$(TimerTwo - TimerOne)
gives a time of around 50ms, so each function is taking about 0.000454ms (it's so tiny, the timer difference for a single function shows as zero!)
I'm curious - could you try dropping these code snippets into the DW demo's main Do-Loop and let me know what times you get?
I must say I'd prefer not to have to merge all the settings commands down into just one command, one of the things I hate about the Set Object command is that you can't alter the parameters individually and there are so many that I can never remember what order the parameters go in!
"I wish I was a spaceman, the fastest guy alive. I'd fly you round the universe, in Fireball XL5..."