Download
(4 Kb)
Download
Updated: 03/01/14 11:14 AM
Pictures
File Info
Updated:03/01/14 11:14 AM
Created:03/01/14 10:09 AM
Monthly downloads:13
Total downloads:2,062
Favorites:1
MD5:
zTextureTest
Version: 100000.02
by: zork [More]

Info
A simple developer addon that shows how to work with textures and controls.
Texture creation only:
The simplest integration is done via:
lua Code:
  1. --window manager
  2.   local wm = GetWindowManager()
  3.  
  4.   local c = wm:CreateTopLevelWindow(nil)
  5.   c:SetDimensions(128,128)
  6.   c:SetAnchor(CENTER,GuiRoot,CENTER,0,0)
  7.  
  8.   --texture referencing a local media folder
  9.   c.icon = wm:CreateControl(nil, c, CT_TEXTURE)
  10.   c.icon:SetTexture("zTextureTest/media/purple_shield.dds")
  11.   c.icon:SetAnchorFill(c)
GoogleCode
http://code.google.com/p/zork-esoui/.../zTextureTest/
100000.02
- code cleanup

100000.01
- initial release
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Uploader
Date
100000.01
4kB
zork
03/01/14 10:09 AM


Post A Reply Comment Options
Unread 04/29/14, 06:04 PM  
Mitsarugi
 
Mitsarugi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 225
Uploads: 12
How do you hide the created window?
Report comment to moderator  
Reply With Quote
Unread 03/01/14, 03:10 PM  
gentracks
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 1
Uploads: 1
Awesome

Big thx for the example
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: