Garry's Mod

Garry's Mod

[E2] VGUI Core
正在显示第 1 - 7 项,共 7 项条目
更新于:2015 年 4 月 4 日 上午 9:00

Fixed Fail

更新于:2015 年 4 月 4 日 上午 8:59

Fail

更新于:2015 年 4 月 3 日 下午 1:29

Fixed 'modular' type.
Various optimizations.

I might work on documentation for this.

更新于:2015 年 3 月 24 日 上午 11:57

Modifications to the modular template

更新于:2015 年 2 月 27 日 下午 2:07

Added 2 new templates, 'popup' and 'modular'.

popup:
A simple informational pop up window.
Fields:
-title : Title of the window.
-text : Text in the window.
-ok : Text on the 'OK' Button.

modular:
well this is quite a bit more complicated as you can guess from the name.
Fields:
-title : Title of the window.
-width : [NUMBER] width in pixels (max 600)
-height : [NUMBER] height in pixels (max 600)
-content : Table containing the elements... See below


New Content Structure
Root:
..
[Element_name]:
['type'] = Type, one of the derma types.
['x'],['y'] = Position of the element
['params'] = table of parameters specific to 'type'
['sub'] = table similar to Root -> max table depth is 4 for sake of some simplicity.
..

更新于:2015 年 2 月 21 日 上午 11:49

Random changes.

更新于:2015 年 2 月 20 日 上午 9:59