View Code? Open in Web Editor
NEW
A modern, optimised UI library to replace derma and other slow built in Garry's Mod functions.
Home Page: https://tomdotbat.dev
License: GNU General Public License v3.0
pixel-ui's Introduction
A modern , optimised UI library to replace derma and other slow built in Garry's Mod functions.
The API reference and help articles for PIXEL UI can be found here .
pixel-ui's People
pixel-ui's Issues
empty f4 and spammed error in console
[pixel-ui-1.3.1] addons/pixel-ui-1.3.1/lua/pixelui/core/cl_color.lua:145: attempt to call method 'Lerp' (a nil value)
LerpColor - addons/pixel-ui-1.3.1/lua/pixelui/core/cl_color.lua:145
unknown - addons/pixel-ui-1.3.1/lua/pixelui/elements/cl_button.lua:121 (x3)
[pixel - ui - 1.3 .1] addons / pixel - ui - 1.3 .1/ lua / pixelui / drawing / cl_images .lua :31 : bad argument # 1 to ' setMaterial' (IMaterial expected , got nil )
1. setMaterial - [C ]:- 1
2. drawProgressWheel - addons / pixel - ui - 1.3 .1/ lua / pixelui / drawing / cl_images .lua :31
3. DrawImage - addons / pixel - ui - 1.3 .1/ lua / pixelui / drawing / cl_images .lua :49
4. DrawImgur - addons / pixel - ui - 1.3 .1/ lua / pixelui / drawing / cl_images .lua :90
5. unknown - addons / cbox - hud / lua / cbox - hud / parts / icon .lua :16
Image directory is empty: https://i.imgur.com/m6j9vmG.png
Please just add for simplicity a wiki entry
@garryspins make a develop branch and use that. people are using the branch you're editing
Hello, installed the addon as instructed. My addon uses the hook to load when PIXELUI is loaded. When starting the Server:
[pixel-ui] addons/pixel-ui/lua/pixelui/core/cl_color.lua:153: attempt to index local 'colorMeta' (a nil value)
I'm playing on a server which has an addon which uses Pixel UI
I'm getting script errors from cl_color.lua
[_mutui ] addons / _mutui / lua / pixelui / core / cl_color .lua :154 : attempt to index local ' colorMeta' (a nil value )
1. unknown - addons / _mutui / lua / pixelui / core / cl_color .lua :154
2. include - [C ]:- 1
3. LoadDirectory - addons / _mutui / lua / autorun / sh_pixelui_loader .lua :30
4. LoadDirectoryRecursive - addons / _mutui / lua / autorun / sh_pixelui_loader .lua :47
5. LoadDirectoryRecursive - addons / _mutui / lua / autorun / sh_pixelui_loader .lua :49
6. unknown - addons / _mutui / lua / autorun / sh_pixelui_loader .lua :53
Which seems to indicate an issue with the following code in cl_color.lua (Line 153)
local colorMeta = FindMetaTable (" Color" )
colorMeta .Copy = PIXEL .CopyColor
colorMeta .IsLight = PIXEL .IsColorLight
colorMeta .EqualTo = PIXEL .IsColorEqualTo
It seems that FindMetaTable("Color")
is returning nil instead of a table.
If you have any idea how to fix this, that would be great
could help with community contributions and all you'd need is a glualint.json
Could do with setting up some documentation as the library is now public.
The commits from both #11 and #12 have gotten lost in the abyss....
find them.
Add a menu which you can configure client-side UI settings from, and add functions that make it easy for developers to implement.
All images stop download to the folder data/pixel
read what you're actually committing next time
How to Apply These Terms to Your New Programs