AR/Dgs: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 93: Line 93:
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
DGS = exports.dgs --shorten the export function prefix
DGS = exports.dgs --shorten the export function prefix
label = DGS:dgsCreateLabel(0,0,0.5,0.1,"text",false) --create a label
label = DGS:dgsCreateLabel(0,0,0.5,0.1,"text",false) -- انشاء ليبل Label
</syntaxhighlight>
</syntaxhighlight>



Revision as of 07:11, 4 April 2018

DGS Network Monitor

تم تصميم هذا مود للسماح لك لإنشاء لوحات دي اكس بدل من وظائف دي اكس الخاصه بــ ام تي اي .


الاسم: نظام واجهة المستخدم الرسومية ديريكتكس

مصمم المود: thisdp

حالة: لمصدر المفتوح

جيثب: https://github.com/thisdp/dgs/tree/master


Features

DGSS.png


كيف يعمل

  • دغس هو تماما مثل نظام واجهة المستخدم الرسومية الأصلي الذي يقوم على نظام العنصر. يمكنني استخدام طريقة بسيطة يمكن أن تجعل من السهل أن نفهم.
  • يتم تقديم عناصر دغس في "onClientRender". هناك اثنين أو أكثر من الجداول تخزين عناصر دغس. عندما يسمى "onClientRender"، "for" حلقة حلقة وحساب كل عنصر دغس.


ما هو المختلف؟

  • يستند هذا المورد على دكس * وظائف. انها تسمح لنا لتحرير لدينا واجهة المستخدم الرسومية وجعله في التخصيص.


نظام تحديث

  • لديها نظام التحديث
  • عندما تاتي نسخه جديد ل مود يجب عليك تحديث المود
  • يمكنك استخدم امر "updatedgs" كشف علي اخر تحديث ل مود
  • يمكنك فحص اخر تحديث بوسطة امر "dgsver"


سجلات التحديث


يجب ان تعرف

  • Scroll Pane, Grid List, Combo Box, Memo and Edit box استخدام تحقيق الهدف، مما يعني إذا لم يكن لديك ما يكفي من ذاكرة الفيديو، 'سوف تحدث مشكله'


Example DGS Cmd

امثله


Auto Completion


Debug

  • يمكنك استخدام دي بق باستخدام امر "debugdgs".


DGS Type

Hurt World GUI Example
  • Button (dgs-dxbutton): A button.
  • Command (dgs-dxcmd): A command just like windows.
  • Ellipse Detect Area (dgs-dxeda): An oval detect area.
  • Edit (dgs-dxedit): An edit.
  • Memo (dgs-dxmemo): A memo.
  • Gridlist (dgs-dxgridlist): A grid list.
  • Image (dgs-dximage): A dynamic image.
  • Label (dgs-dxlabel): A text label.
  • Ellipse Detect Area (EDA)
  • ScrollBar (dgs-dxscrollbar): A scroll bar.
  • ScrollPane (dgs-dxscrollpane): A scroll pane.
  • Tab Panel (dgs-dxtabpanel + dgs-dxtab) : A tab panel.
  • Window (dgs-dxwindow): A window.
  • Progress Bar (dgs-dxprogressbar): A Progress Bar.
  • Radio Button (dgs-dxradiobutton): A Radio Button.
  • Combo Box (dgs-dxcombobox + dgs-dxcombobox-Box) : A combo box.
  • Check Box (dgs-dxcheckbox) : A check box that with 3 states (checked, unchecked and indeterminate).


تنويه

  • من المستحسن تغيير اسم المود "dgs" إلى.
  • This is a resource, if you want to use the functions exported by this resource, you should use an exported function prefix (exports.dgs:) call in your code, such as
label = exports.dgs:dgsCreateLabel(0, 0, 0.5, 0.1, "text", true)
  • Here is a feasible way to shorten the name of an exported function:
DGS = exports.dgs --shorten the export function prefix
label = DGS:dgsCreateLabel(0,0,0.5,0.1,"text",false) -- انشاء ليبل Label


شكر خاص لمساعدتهم:

Example tab panel and label .
  • Axel: يعطي بعض النصائح وتوفير بعض الوظائف.
  • Senpai: يساعد كتابة ويكي.
  • ZoNe: يساعد كتابة ويكي.
  • DiGiTal: يساعد كتابة ويكي.
  • #Dv^: يساعد كتابة ويكي.

شكر خاص ل:

  • Ahmed Ly: Helps write wiki, release auto completion for N++.

DGS Element Properties

General Properties

Unique Properties For DGS Core Elements

Extra Properties For DGS Plugins

Client Functions

Custom Cursor Functions

Multi Language Supports

Animation

3D Element

3D Interface

3D Line

3D Image

3D Text

Browser

Button

Check Box

Combo Box

Custom Renderer

Edit

Detect Area

Drag'N Drop

Grid List

Image

Memo

Menu

Label

Layout

Line

Progress Bar

Radio Button

Scale Pane

Scroll Bar

Scroll Pane

Selector

Style

Switch Button

Tab Panel

Window

Basic Shape Plugins

Circle

Quadrilateral

Rounded Rectangle

Other Plugins

Blur Box

Canvas

Chart

Color Picker

Effect 3D

Gradient

Mask

Media Browser

Nine Slice

Object Preview Supports

Paste Handler

QRCode

Remote Image

Screen Source

SVG

Tooltips

Client Events

General

Check Box

Combo Box

Drag'N Drop

Edit

Grid List

Menu

Selector

Mouse

Radio Button

Switch Button

Tab

Animation

Plugin

Media

Color Picker

QRCode

Remote Image

في اخر

الجميع مرحب به لتقديم اقتراحات، واختبار النص البرمجي، والمساعدة في إجراء تعديلات / إنهاء ويكي، وما إلى ذلك.