Jump to content

Search the Community

Showing results for tags 'dxlib'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 5 results

  1. Thisdp's DirectX Graphical User Interface System ( MTASA 2D+3D DxLIB ) This dxlib provide dx gui functions and events to make it easier to use and alternative to change the style more flexibly. Features: 1. Update Check(DGS will notice you if there is a higher version, and you can choose to ignore it or disable it in the config file) Update Command: "updatedgs" 2. Dx GUI Types: Basic: Window Edit Box Button Grid List Image Scroll Bar Scroll Pane Text Label Tab Panel Detect Area Radio Button Combo Box Check Box Memo 3D Interface 3D Text Browser Switch Button Selector Plugin: Media Browser Color Picker Mask Remote Image QRCode Blur Box Rounded Rectangle Nine Slice Scaling Object Preview Support Canvas Scroll Pane's 3D Effect 3. Edit/Memo rewrite ( You can no longer find the problems in dgs, the problems which exist in cegui) 4. Detect Area is efficient when checking whether your cursor is in a complicated shape. 5. Debug Mode , Command: "debugdgs" 6. You can apply shader to the dxgui ( Compatible with some resources like Objec tPreview ). 7. Include CMD, Command: "dgscmd" ( For more help, please input "help" in the CMD ) 8. Memo/Edit rewritten. 9. Object Oriented Programming Class. 10. Render Target Failure Check ( Warns when there's no enough video memory to create render target ). 11. DGS resembles cegui, you can find the similar feeling when scripting with dgs. 12. 48-hour-response service, your suggestions and bug report will be dealt with in 48 hours ( or less, like 12 hours ? ) 13. Custom Style system 14. Built-in shader plugin 15. More properties 16. Built in multi-language support 17. Simple GUI To DGS (G2D) Notice:Do not close your server or stop the script when it is updating. Wiki: https://wiki.multitheftauto.com/wiki/Dgs ( Still Working In Process ) Auto Completion For N++ (Thanks To Ahmed Ly): http://www.mediafire.com/file/m6dm7815d5dihax/Lua.zip Discord Server: https://discord.gg/QEs8q6W Download DGS : https://github.com/thisdp/dgs Notice: Need acl rights to call fetchRemote/getPlayerIP. If you want to sell your script which involves DGS, please exclude DGS from your price. HurtWorld Backpack Panel(Example) DGS Network Monitor(Built-in)
  2. function dxGridList( x, y, w, h, parent) local self, element = createElement( 'dxGridList', parent, sourceResource ) if self then self.x = math.round(x) self.y = math.round(y) self.w = math.round(w) self.h = math.round(h) self.parent = parent self.colorbackground = tocolor( 20, 20, 30, 255 ) self.colortext = tocolor(255, 255, 255, 255) self.colorselected = tocolor(120, 95, 205, 255) if self.parent then self.offsetX = self.x - Cache[self.parent].x self.offsetY = self.y - Cache[self.parent].y end self.font = Files['font']['Basic-Regular'][10] self.fontH = dxGetFontHeight( 1, self.font ) -- self.scrollV = dxScroll(self.x+self.w-math.round(17*sh), self.y, self.h, true, parent) self.scrollH = dxScroll(self.x, self.y+self.h-math.round(17*sh), self.w-math.round(17*sh), false, parent) Cache[self.scrollH].isVisible = false Cache[self.scrollV].isVisible = false Cache[self.scrollV].gridlist = element self.from = nil self.to = nil self.mul = 0 self.columns = {} self.items = {} self.scrollX = 0 self.scrollY = 0 -- self.selected = -1 self.update = true Timer(function() self.update = true end, 600, 1) Timer(function() self.update = true end, 1200, 1) return element end end function dxGridListAddItem(element, ...) local self = Cache[element] if self then table.insert(self.items, {...}) self.update2 = true return true end return false end function dxGridListRemoveItem(element, index) local self = Cache[element] if self then if self.items[index] then table.remove(self.items, index) self.update2 = true return true end end return false end function dxGridListAddColumn(element, name, size) local self = Cache[element] if self then table.insert(self.columns, {name, size}) self.update = true return name end return false end -------- My Code function dxGridListSetItemText(element, columns, name) if self.items[columns] and self.items[columns][element] then self.items[columns][element].text = text end end How can i make setItemText for this grid , i tryed but it's not work.
  3. Olá, estou como ideia de converter um guiGrid em DxGrid usando o mode dxLib, mas eu não estou conseguindo criar as colunas, só queria um retângulo preto que é a lista sem colunas. Peguei essa função de um mod (vou chamar de mod A) que usa dxGrid e coloquei no meu mod (mod B) , n funciona(já botei o dxGrid.Lua no meta). Apaguei todas as funções que se comunica com o dxGrid.Lua do mod A e apaguei, deixe só a função abaixo e a Lista e as Colunas foram criadas normalmente. Coloquei a função no mod B e só criou a Lista sem coluna.(Tentei trocar o nome da Lista para ver se funcionava e não deu certo também) addEventHandler("onClientResourceStart", resourceRoot, function () Arm_Test = dxGridW:Create(470, 303, 427, 157) Arm_Test:AddColumn("Jogador", 207) Arm_Test:AddColumn("Arma", 210) Arm_Test:SetVisible(true) end)
  4. I would apperciate it very much if you could give some advice on DGS.
  5. NeXuS™

    [DEV] dxLib

    NeXuS™ presents dxLib Introduction You want to work with dx functions, but you don't understand them? This is a script for you. You can create panels created by dx functions just like with GUI functions. Status IN DEVELOPMENT Sorry guys, its not finished yet, so I'm not publishing it. This is just a show off, that you'll get this in weeks. Whats done already Screenshots Syntax
×
×
  • Create New...