Jump to content

[REL] SDT_GUI v1.4.4


Recommended Posts

wu8FDp2pw4bnL03Fc9e1DaKnj3Ju28Lbr6R_yhTLm5Ffb5nzHm4mwhQPPjh9Eb6Nfg=w1600

  • Are you bored at default MTA GUI? You can change the your theme.But It doesn't change other player themes.And dont you want to other MTA GUI themes at other players? Or want to new actions.
    If you have this reasons, SDT_GUI resource is for you.
  • SDT_GUI is a resource that makes MTA directx functions interacting with user. It was made to be an alternative to the default MTA gui, but also to provide some extra features that make creating user interface even more customizable and connvenient. At the moment there are more than 111 functions and 11 events available, though not every default GUI function was replaced.
  • SDT_GUI comes with many powerful functions to make user interface user-friendly and good looking. Each of SDT_GUI elements can be modified or replaced with your own image.
  • SDT_GUI is an open source. You can modify it how much you want, but you must always remind the author

  • SDT_GUI v1.0 supported 3 theme: Lighter Black,Lighter Blue, Orange
    You can add or modify the themes.I will add lesson soon.
  • dxEdit,dxMemo,dxGridList will add in v2.0

Screenshot (I will add video soon):

C20lrvWUKrIKHxrE5q2XRFPkXc5TbTAxHYIWCPXdvW4deNARTPicx29hRjM18vDnZw=w1600

Screen 1 (at ModLoader resource)

Screen 2 (at ModLoader resource)

Screen 3 (at ModLoader resource)

Wiki: https://wiki.multitheftauto.com/wiki/DxGUI

Download: Google Drive Folder

Changelog:

  • v1.1: Fixed, dxCreateStaticImage
  • v1.2: Added, root pane drawings. Fixed, element visiblity drawings.
  • v1.2.1: Added,dxProgressBar.
  • v1.3: Fixed, progressBar default progress.
  • v1.3.1: Fixed, onClickEvent.Added mouseEnter|Leave events for all SDT_GUI elements.Added "push" properties for SDT_GUI elements.It can customizable at 1.3.2
  • v1.3.2: Added event: onClientDXPropertyChange
  • v1.3.3: Fixed window's move methods.Added image option to the themes.
  • v1.3.4: guiAttachToDirectX added.
  • v1.3.5: Added scrollbar, added new events.
  • v1.3.6: Added spinners
  • v1.3.7: Added spinners for Rootpanes.
  • v1.3.8: Added listbox, added move event.Fixed some problems.Added doubleClick, click events for all elements.
  • v1.3.9: Listbox functions completed.Scrollbar rootPane drawings fixed.Added listbox for rootpane.
  • v1.4.0: SDT_GUI now has the exported functions.It wasn't a resource, but now It's resource.Also added many functions and events.ZOrder and its functions added.
  • v1.4.1: ZOrder refresh states fixed.
  • v1.4.2: You dont need the define the definitons anymore. Bugs fixed(static image, scrollbar, ...)
  • v1.4.3: Added 11 new theme. Fixed Window movability. Increase the scrollbar period. Fixed some bugs. Fixed spinner width
  • v1.4.4:
    • Sath Metro [blue] and [Red] versions added.(Edited from Green version.)
    • Change the project name SDT_GUI (Skyline's DirectX Tools GUI)
    • ZOrder Bug fixing.Now like a CEGUI.
    • Make compatible with other SDT Systems.
    • Listbox Design changed.
    • SDT_ prefix added for functions.You can use the functions both dx... and SDT_
    • (Example: dxCreateWindow, SDT_CreateWindow)
    • SDT_GetThemes, dxGetThemes functions added.
    • Deprecated functions removed.
    • dxBringToFront and dxMoveToBack bugs fixed.
    • WindowTitlePosition and TitleMoving removed.
    • SetPosition, SetSize functions changed.
    • Developed infrastructure for moving possibility for all components.
    • Scrollbar fixed.StaticImage fixed.
    • Added 'SDT_' prefix for all component properties
    • Added 'SDT_GUI_' prefix for all component types.
    • Developed render functions.
    • Developed infrastructure for adding new components from different resources.
    • First using 'SDT_ENGINE' failed.'SDT_ENGINE' is a engine for clipping but I cant import it into 'SDT_GUI'
    • SDT_ListGetItems, dxListGetItems functions added.

    [*]v1.5.0: I hope I use rendertargets for clipping.

    [*]v1.5.0: I hope I can make editbox.

Themes :

  • -> Lighter Black
  • -> Lighter Blue
  • -> Orange
  • -> Sath Metro (Green)
  • -> Sath Metro (Blue)
  • -> Sath Metro (Red)
  • -> Crystal (Red)
  • -> Crystal (Purple)
  • -> Crystal (Pink)
  • -> Crystal (Orange)
  • -> Crystal (Green)
  • -> Crystal (Blue)
  • -> Crystal (Black)
  • -> Crystal (Gold)
  • -> Crystal (Glass)
  • -> Crystal (Token White)

Notices:

  • SDT: Skyline's DirectX Tools
  • Listbox isn't gridlist.It's one column based gridlist.Like in Java.

Bugs:

  • No bugs found.Contact me if you found.

P.S: Sorry for bad english.

Edited by Guest
Link to comment

1. THANK GOD YOU ARE USING LIGHTER BLUE. YOU GET +1 FROM ME FOR THAT.

2. It seems the radio and checkbox buttons are a little too big.

3. I moved it for you https://wiki.multitheftauto.com/wiki/Resource:DxGUI

5. I would tell you that you should add exports, and then people can put this at the start of the script:

  
g = exports.dxGUI 
g:dxCreateWindow 

6. Also I would name it guiCreateWindow instead... to make it easier and more adaptable. Afterall, both cannot be used.. and if my method above was used, none of the original functions would be overwritten (it would be g:guiCreateWindow, not guiCreateWindow)

7. open source? make a repo http://code.google.com/hosting/createProject there and choose Subversion

8. you didnt realise i skipped 4.

9. now your smiling

10. here take a cookie

  • Like 1
Link to comment
  • 2 weeks later...

omg

include this code instead of your current definitions code

  
for i,v in pairs(exports.dxGUI) do 
    _G[i] = function(...) return v(...) end 
end 
  

that should work. (that automatically makes all exports of dxGUI native)

Link to comment
omg

include this code instead of your current definitions code

  
for i,v in pairs(exports.dxGUI) do 
    _G[i] = function(...) return v(...) end 
end 
  

that should work. (that automatically makes all exports of dxGUI native)

It won't work.Because some functions gets extra parameters.Like getThisResource().I could make if control, but it will be longer.Because I do definitions with Regex.Only 2 line :)

Link to comment
*facepalm*

my code just loops all the functions to make this:

function dxCreateWindow(...) return exports.dxGUI:dxCreateWindow(...) end

Just simplified and appplied to all code.

Just try it!

Poff, you don't understand.If you use this form you must use

dxCreateWindow(getThisResource(),x,y,w,h,...) like this.

But my forms you can use:

dxCreateWindow(x,y,w,h,...)

You could make if control.But regex creating is more faster.Only 's paste and you get this form.

Link to comment
  • 6 months later...
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...