Jump to page content
English English   Polish Polish   Dutch Dutch   Russian Russian   German German   Hungarian Hungarian   Norwegian Norwegian   Swedish Swedish   Finnish Finnish   Romanian Romanian   Spanish Spanish   Portuguese Portuguese   Latvian Latvian  
Homepage
Home
Register
Login

Resources
Forum
Wiki
Servers

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)

Download latest version | Report

Version history

Version Publish Date Changes
1.1.0 2009-07-01 16:18:31 Fixed sub menus hiding incorrectly Download
1.0.0 2009-07-01 13:29:08 First public release Download