mtasa-blue icon indicating copy to clipboard operation
mtasa-blue copied to clipboard

Feature: add widget like functionality

Open CrosRoad95 opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

dxDraw function calls are slow

Describe the solution you'd like

add widget like system as a wrapper around "dxDraw" calls. In mta there is already like this called "textDisplay" https://wiki.multitheftauto.com/wiki/TextCreateDisplay an idea is to add more such functions for all already existing dxDraw functions for example:

local rect = createRectangleWidget(100, 100, 100, 100, tocolor(255, 0,0)

will draw red rectangle at 100,100 coords of size 100 by 100 add some function to change widget position, size, color, font, change layer, transform, visibility ect ect ect

Describe alternatives you've considered

/

Additional context

/

Security Policy

  • [X] I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.

CrosRoad95 avatar Jun 18 '23 07:06 CrosRoad95

waiting for feedback

CrosRoad95 avatar Nov 07 '23 15:11 CrosRoad95