Getting a texture on the screen
Hi all, I am currently trying to populate the screen with a test image however it doesnt seem to appear on the screen.. i have tried the follow with buggrabber and bugsack.
Code:
--Create a Frame for UI to be placed in Code:
TestOne.lua:8: function arguments expected near "=" |
The error is from "pFrame:texture", which is only proper syntax is you're trying to call "texture()" like a method of pFrame.
If you're assigning "texture" as a key in the pFrame table you use the dot like "pFrame.texture = ufTexture" instead of the colon. It doesn't really have anything to do with the texture showing on screen though, you aren't giving the texture a size so start with that. You can do ufTexture:SetAllPoints() to attach it everywhere on pFrame or ufTexture:SetSize(1920,490) or something. |
Quote:
|
All times are GMT -6. The time now is 10:58 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI