foo_looks mirrors
Changelog
1. Compiled with 0.8 SDK
2. Lua is now integrated into foo_looks and you can remove the lua dlls from the foobar folder
3. Removed "look swap" and all items associated with that functionality. No longer useful with scripting support
4. Per pixel alpha blending with the desktop. foo_looks is compatible with Win2K and WinXP only
5. new section window property int blendflag valid values are
- blendflags.Opaque (use this if your look has no per pixel alpha for better speed)
- blendflags.Alpha (required if you want to blend to desktop)
7. minor optimization to ignore spectrum data when look is not active
8. lua function change for mouse handlers - x.y passed to all mouse handlers. Note your current handlers still work since lua is very loose about parameter passing but you must include then in the parameter list if you wish to use them. These can be used in place of look_mouseX(), look_mouseY() in these handlers.
- function onleftbuttondown(this,x,y)
- function onmouseenter(this,x,y)
- etc.
- 0 - user
- 1 - end of file
- 2 - new track
11. moved all default look assets to "foo_looks\Default" folder. You need to update your look if you are importing the foo_looks_common.ski file. Also you can delete the default look assets from the foo_looks folder from previous version
12. new lua functions
- void window_setAlpha(a) -- a is 0 to 100 - sets alpha for entire window regardless of per pixel settings and requires blendflags.Alpha
- image look_getImage(sprite)
- look_invalidate(sprite [spritelist])
- {a,r,g,b} image_getPixel(image,x,y)
- void image_setPixel(image,lookColor) -- performance issues
- int image_getWidth(image)
- int image_getHeight(image)

