rssYAML - Yet Another Menu Library (yaml)
Category: | misc |
---|---|
Author(s): | LordAzamath |
Downloads: | 745 |
Rate: | You need to be logged in to vote |
Rating: | 3.6 (7 Votes) |
Description:
Yet Another Menu Library v1.1
http://forum.multitheftauto.com/viewtopic.php?f=91&t=24801
A lib for creating various menus.
Instructions:
- Copy menu_c.lua and black.png from the resource to your resource and add lines
<script src="menu_c.lua" type="client" />
<file src="black.png" type="client" />
to your meta.xml and you are free to use the functions
Features:
- Creating menus, dynamically managing rows, various functions for row hover, row click.
Functions:
- menu:create()
- menu:destroy()
- menu:setPosition()
- menu:setSize()
- menu:show()
- menu:hide()
- menu:addRow()
- menu:setProperty()
- menu:getProperty()
- row:setTitle()
- row:setProperty()
- row:addOnClick()
- row:addOnEnter()
- row:addOnLeave()
- row:setColor()
- row:setHoverColor()
- row:setFont()
- row:setHoverFont()
- row:addSubMenu()
- row:getTitle()
- row:getProperty()
- row:getOnClick()
- row:getOnEnter()
- row:getOnLeave()
- row:getColor()
- row:getHoverColor()
- row:getFont()
- row:getHoverFont()
- row:getPosition()
- row:setAlign()
Comments/bugs to forum thread please.
http://forum.multitheftauto.com/viewtopic.php?f=91&t=24801...
(more)
http://forum.multitheftauto.com/viewtopic.php?f=91&t=24801
A lib for creating various menus.
Instructions:
- Copy menu_c.lua and black.png from the resource to your resource and add lines
<script src="menu_c.lua" type="client" />
<file src="black.png" type="client" />
to your meta.xml and you are free to use the functions
Features:
- Creating menus, dynamically managing rows, various functions for row hover, row click.
Functions:
- menu:create()
- menu:destroy()
- menu:setPosition()
- menu:setSize()
- menu:show()
- menu:hide()
- menu:addRow()
- menu:setProperty()
- menu:getProperty()
- row:setTitle()
- row:setProperty()
- row:addOnClick()
- row:addOnEnter()
- row:addOnLeave()
- row:setColor()
- row:setHoverColor()
- row:setFont()
- row:setHoverFont()
- row:addSubMenu()
- row:getTitle()
- row:getProperty()
- row:getOnClick()
- row:getOnEnter()
- row:getOnLeave()
- row:getColor()
- row:getHoverColor()
- row:getFont()
- row:getHoverFont()
- row:getPosition()
- row:setAlign()
Comments/bugs to forum thread please.
http://forum.multitheftauto.com/viewtopic.php?f=91&t=24801...
(more)