A simple developer addon that shows how to work with textures and controls.
The simplest integration is done via: lua Code: --window manager local wm = GetWindowManager() local c = wm:CreateTopLevelWindow(nil) c:SetDimensions(128,128) c:SetAnchor(CENTER,GuiRoot,CENTER,0,0) --texture referencing a local media folder c.icon = wm:CreateControl(nil, c, CT_TEXTURE) c.icon:SetTexture("zTextureTest/media/purple_shield.dds") c.icon:SetAnchorFill(c)
--window manager local wm = GetWindowManager() local c = wm:CreateTopLevelWindow(nil) c:SetDimensions(128,128) c:SetAnchor(CENTER,GuiRoot,CENTER,0,0) --texture referencing a local media folder c.icon = wm:CreateControl(nil, c, CT_TEXTURE) c.icon:SetTexture("zTextureTest/media/purple_shield.dds") c.icon:SetAnchorFill(c)
http://code.google.com/p/zork-esoui/.../zTextureTest/