Skip to content

Commit

Permalink
Update preview from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mur4i committed May 19, 2024
1 parent c0b4297 commit 9611c96
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
# ox_lib Redesign by mur4i
A few changes redesign for overextened context menu, font changes, theme and colors.
Download the release if you want to use.

Added new features:
- Add Context menu description
- Add Background convar (ox.cfg)
- Add new Context menu description
- Add new Background convar (ox.cfg)
```setr ox:menuBackground false #true forces background on every context menu from ox_lib```
- Add Background color
- Add new Background color option

Example of use:
```lua
lib.registerContext({
id = 'test',
title = 'title from menu',
---------------------------------- NEW OPTIONS BELOW
description = 'description from menu', --new line description on menu
background = true, --activates background if convars = false
background = true, --TOGGLE background for only this menu (you can change default to setr ox:menuBackground true)
backgroundColor = '#ffffff', --change the background color
[...]
})
Expand All @@ -31,6 +33,9 @@ Changes only on: //resource/interface/client/context.lua
options = data.options
}
```
Preview:
![](/ox_lib-preview.png)


## Credits to overextended:
A FiveM library and resource implementing reusable modules, methods, and UI elements.
Expand Down
Binary file added ox_lib-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9611c96

Please sign in to comment.