Files
GTA4RP/third-party/mexui/Core/Entry/TreeRow.js
Vortrex caa6b3986f Revert "Update xml"
This reverts commit 9b8d1f2257.
2021-01-26 04:16:05 -06:00

17 lines
383 B
JavaScript

mexui.Entry.TreeRow = function(tree, text)
{
mexui.Component.Entry.call(this, tree, 1);
this.open = true;
this.text = text;
this.rows = [];
};
mexui.util.extend(mexui.Entry.TreeRow, mexui.Component.Entry);
// model
mexui.Entry.TreeRow.prototype.row = function(text)
{
var entry = new mexui.Entry.TreeRow(this.control, text);
this.rows.push(entry);
return entry;
};