Advertisement
Guest User

dxFunction

a guest
Mar 30th, 2020
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. local screenX, screenY = guiGetScreenSize()
  2. local sx, sy = screenX/1366, screenY/768
  3.  
  4. showCursor(FALSE OR TRUE )
  5. showChat(FALSE OR TRUE )
  6.  
  7. --------------------------------
  8. dxDestroyWindow("WINDOW_ID/ERSTER WERT")
  9.  
  10. dxDrawWindow("WINDOW_ID", "INFO_FÜR_DICH", "TEXT_OBEN_WINDOW", sx*450, sy*200, sx*200, sy*100, "WINDOW X BUTTON FUNKTION")
  11.  
  12. dxDrawButton("BUTTON_ID", "INFO_FÜR_DICH", "BUTTON_TEXT", sx*450, sy*40, sx*100, sy*40, "BUTTON FUNKTION")
  13.  
  14. dxDrawRectangle("RECTANGLE_ID", "INFO_FÜR_DICH", sx*450, sy*50, sx*311, sy*32, tocolor(0, 105, 145, 255))
  15.  
  16. dxDrawEdit("EDIT_ID","EDIT_INFO(Musst bei GetEdittext auch angeben als 2. Wert ! )", "WAS VORHER DRIN Stehen soll", sx*600, sy*387, sx*165, true=editierbar, anklickbar ? (normal fall true ) )
  17.  
  18. dxSetEditMasked("EDIT_ID", "EDIT_INFO", true) --PASSWORT Zensieren mit ,, * ,,
  19.  
  20. -- Buttonc, buttonh, textc, textch, strichc, strichch = tocolor(R,G,B,A) ( immer einzeln anpassen ! zb. tocolor(255,255,255,255) , tocolor... etc
  21.  
  22. dxDrawButtonColored("BUTTON_ID", "INFO_FÜR_DICH", "BUTTON_TEXT", sx*623, sy*428, sx*120, sy*40, ButtonC, ButtonH, TextC, TextCH, StrichC, strichch, "FUNC")
  23.  
  24. dxDrawImage("IMAGE_ID", "IMAGE_ID", sx*767, sy*386, sx*25, sy*25, ":Resourcen Name/anzeigen/login/images/DATEINAME Ohne .png !", "Funktion beim klicken")
  25.  
  26. -- Die font kannst du nicht ändern ! ( in der Libary )
  27.  
  28. dxDrawText("TEXT_ID","INFO_FÜR_DICH","TEXT",sx*450,sy*255, sx*250, sy*200, tocolor(255, 255, 255, 255), 1.3, "default", "center", "center")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement