Modern-Library

From Multi Theft Auto: Wiki
Revision as of 02:02, 11 May 2022 by PandFort (talk | contribs) (Created page with "<pageclass class="resource" subcaption="Resource"></pageclass> == Modern DX Library == This resource is designed to allow you to create directX GUI's as an alternative to the original MTA:SA GUI functions. <span style="color:#332170; text-shadow:blue 0em 0em 0.3em;">This wiki is always for the latest Modern DX Library version!</span> <div style="padding:10px; border-radius:2px;font-size:14px;"> '''Full Name''': Modern DX Library for User Interface '''Developer Team'...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Modern DX Library

This resource is designed to allow you to create directX GUI's as an alternative to the original MTA:SA GUI functions.

This wiki is always for the latest Modern DX Library version!

Full Name: Modern DX Library for User Interface

Developer Team: ClawSuit, PandFort

GitHub Repo: https://github.com/clawsuit/dxLibrary

Current Version: 1.0 Estable

Features

How does it work?

  • Modern DX Library is based on element system, which just likes the cegui system. To make Modern DX Library easier to use and understand, I choose to follow the usage of cegui's.
  • DGS elements are rendered in the event "onClientRender". When "onClientRender" is called, every Modern DX Library elements will be looped and calculated.

What's different from cegui?

  • This resource is based on dx* functions, so its style will be more flexible than cegui, which means you can define the style by yourself.