Jump to content

thisdp

Moderators
  • Posts

    535
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by thisdp

  1. function onSelect() end addEventHandler("onDgsTabPanelTabSelect", tabPanel, onSelect)
  2. That is just an event which will triggered after a tab selected. If you want to set selected tab https://wiki.multitheftauto.com/wiki/DgsSetSelectedTab
  3. i will check it after 13 hours.
  4. Need code to be checked
  5. support label/button/radiobutton/checkbox And Grid List's is different.
  6. dgsSetProperty(label,"shadow",{offsetx,offsety,color})
  7. Let him contact me Thanks for your support and advice ! DGS will get stronger !
  8. So do you want to make it easier to change the length of column?
  9. enter the code: /debugdgs and you will know you are creating thousands of windows local DGS = exports.dgs local sx,sy = guiGetScreenSize() local font1 = dxCreateFont("files/forte.ttf", 10) local font2 = dxCreateFont("files/forte.ttf", 12) local colorOne = "#00a5da" local lp = localPlayer function onClientJoin() setElementData(lp, "online", false) setElementData(lp, "banned", false) setElementDimension(lp, math.random(1,10000)) setPlayerHudComponentVisible("all", false) setElementFrozen(lp,true) setCameraMatrix(1282.35, -1012.79, 48.56, 1520.31, -1139.02, 191.14) showChat(false) showCursor(true) end addEventHandler("onClientRender", root, onClientJoin) function loginPanel() loginwindow = DGS:dgsCreateWindow (400, 300, 250, 300, "Login Panel", false, tocolor(0,165,218,255),30,nil,tocolor(0,0,0,255),nil, tocolor(0,0,0,200), 5, true) end loginPanel()
  10. I mean I don't know what do you want to do exactly.
  11. increase the width of the row?
  12. dgsGridListAddIconInRow -> dgsGridListSetItemImage and why add onMemoIsFinishedReading? It is synchronized. MoveTheNodeDown? What does this mean? Why do you need dgsGridListSetRowLengthSize ? I would appreciate it very much if you can describe them clearly ! Thank you
  13. Hey guys! Good news! DGS Version 3.3 has been released with media browser! What is media browser???? media browser is a browser but I coded it which can play videos and audios easily (Ah... Only local mode, sry for that) But ! We can play video with only 5 line codes ! DGS = exports.dgs browser = DGS:dgsCreateMediaBrowser(600,600) --[[Create a media browser ( CEF browser with my api )]] img = DGS:dgsCreateImage(400,200,600,600,browser,false) --[[Create an image because media browser is a browser ( hmm... it is a kind of texture ) ]] DGS:dgsMediaLoadMedia(browser,"test.webm","VIDEO") -- [[Give a video file ( Local video and only support .webm file for video and .ogg file for audio)]] DGS:dgsMediaPlay(browser) --[[Now ! Let's get Higher!]]
  14. thisdp

    help DX box

    Why not seek a dx lib?
  15. thx to report i will fix it soon.
  16. It has been almost a week since last update. Now DGS 3.2 is released. This version features gridlist sotring. Different from CEGUI's, DGS gridlist sorting has no sorting issue ( I mean ->incorrect row we will get when setting item text ) Also, We can define the sort function ( See test.lua -> GridListSortingTest ) SO! Let's type in our command updatedgs or /updatedgs then! ENTER! And Details: http://angel.mtaip.cn:233/dgsUpdate
  17. Hello everyone, dgs 3.1 has been released. Now dgs grid list supports multi selection and 3 selection modes (row , column and cell ) detail: http://angel.mtaip.cn:233/dgsUpdate
  18. in the compiled dll file
  19. thisdp

    CEF - audio

    https://bugs.mtasa.com/view.php?id=9802 That is a bug.
  20. guiSetVisible(GUIEditor.window[1])0) guiSetVisible(GUIEditor.window[1])
  21. addEventHandler("onClienGUIClick",root, if (source == GUIEditor.button[1]) guiSetVisible(GUIEditor.window[1],false) showCursor(false) end end)
×
×
  • Create New...