GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - LivacoNew/MatLib: MatLib is a simple UI Library to allow you to make Material UIs easily.

This repository was archived by the owner on Jun 29, 2021. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
matlib/lua/autorun/client
matlib/lua/autorun/client
 
 
.gitattributes
.gitattributes
 
 
README.md
README.md
 
 

Repository files navigation

MatLib

MatLib is a simple and easy to use UI Library that allows you to make Material VGUIs easily and hassle free.

So, what can I do with this?

You can create your entire VGUI, but instead of the usual 200-300 lines you might have, you might only need about 30. MatLib allows you to make almost everything with a simple function and also allows you to change colors, ect.

Example

-- Creates a frame and has an example text inside it.

-- MatLib.Frame(posX[-1 for center], posY[-1 for center], width, height, title)
local frame = MatLib.Frame(-1, -1, ScrW() * 0.5, ScrH() * 0.5, "Example Frame")
-- MatLib.Text(parentItem, posX, posY, text)
MatLib.Text(frame, frame:GetWide() * 0.1, frame:GetTall() * 0.2, "This is an example frame with example text!")

It's about as easy as that. If you need any more help, you can view cl_example.lua and get more insight into it.

Images

Here's some images of how the UI looks.

Image of the example above. First Image
One of the built-in examples (matlib_fact command). Second Image
Same image as above, but with Dark Mode enabled. Third Image

Can I Use this?

Anyone is free to use this. If you're re-distributing it (In an addon per-say), please credit me. You can also use this for Gmodstore/Paid addons if you so wish.

Credits

If anyone chooses to contribute, you will also be listed here.

  • Livaco for fucking making it.
  • Owain who came up with the idea.

About

MatLib is a simple UI Library to allow you to make Material UIs easily.

Topics

garrysgluagmodlibraryluamodvgui

Resources

Readme
Activity

Stars

5 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.