Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //--- OBJECT WRITE BEGIN ---
- new GuiControl(liveAddons) {
- profile = "GuiDefaultProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "0 0";
- extent = "1024 768";
- minExtent = "8 2";
- enabled = "1";
- visible = "1";
- clipToParent = "1";
- new GuiWindowCtrl() {
- profile = "GuiWindowProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "0 0";
- extent = "1024 768";
- minExtent = "8 2";
- enabled = "1";
- visible = "1";
- clipToParent = "1";
- text = "BlocklandLive";
- maxLength = "255";
- resizeWidth = "0";
- resizeHeight = "0";
- canMove = "1";
- canClose = "1";
- canMinimize = "0";
- canMaximize = "0";
- minSize = "50 50";
- closeCommand = "canvas.popDialog(liveAddons);";
- new GuiScrollCtrl() {
- profile = "GuiScrollProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "10 30";
- extent = "512 725";
- minExtent = "8 2";
- enabled = "1";
- visible = "1";
- clipToParent = "1";
- willFirstRespond = "0";
- hScrollBar = "alwaysOn";
- vScrollBar = "alwaysOn";
- constantThumbHeight = "0";
- childMargin = "0 0";
- rowHeight = "40";
- columnWidth = "30";
- new GuiTextListCtrl(addonsList) {
- profile = "GuiTextListProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "1 1";
- extent = "495 2";
- minExtent = "8 2";
- enabled = "1";
- visible = "1";
- clipToParent = "1";
- enumerate = "0";
- resizeCell = "1";
- columns = "3";
- fitParentWidth = "1";
- clipColumnText = "0";
- };
- };
- new GuiScrollCtrl() {
- profile = "GuiScrollProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "530 250";
- extent = "485 507";
- minExtent = "8 2";
- enabled = "1";
- visible = "1";
- clipToParent = "1";
- willFirstRespond = "0";
- hScrollBar = "alwaysOn";
- vScrollBar = "alwaysOn";
- constantThumbHeight = "0";
- childMargin = "0 0";
- rowHeight = "40";
- columnWidth = "30";
- new GuiTextListCtrl(boardsList) {
- profile = "GuiTextListProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "1 1";
- extent = "468 2";
- minExtent = "8 2";
- enabled = "1";
- visible = "1";
- clipToParent = "1";
- enumerate = "0";
- resizeCell = "1";
- columns = "1";
- fitParentWidth = "1";
- clipColumnText = "0";
- };
- };
- new GuiBitmapButtonCtrl() {
- profile = "BlockButtonProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "638 120";
- extent = "84 36";
- minExtent = "8 2";
- enabled = "1";
- visible = "1";
- clipToParent = "1";
- command = "canvas.popDialog(liveAddons);";
- accelerator = "escape";
- text = "Close";
- groupNum = "-1";
- buttonType = "PushButton";
- bitmap = "base/client/ui/button2";
- lockAspectRatio = "1";
- alignLeft = "0";
- alignTop = "0";
- overflowImage = "0";
- mKeepCached = "0";
- mColor = "255 128 128 255";
- };
- new GuiBitmapButtonCtrl() {
- profile = "BlockButtonProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "730 120";
- extent = "84 36";
- minExtent = "8 2";
- enabled = "1";
- visible = "1";
- clipToParent = "1";
- command = "downloadAddon();";
- accelerator = "enter";
- text = "Download";
- groupNum = "-1";
- buttonType = "PushButton";
- bitmap = "base/client/ui/button2";
- lockAspectRatio = "1";
- alignLeft = "0";
- alignTop = "0";
- overflowImage = "0";
- mKeepCached = "0";
- mColor = "128 128 255 255";
- };
- new GuiBitmapButtonCtrl() {
- profile = "BlockButtonProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "822 120";
- extent = "84 36";
- minExtent = "8 2";
- enabled = "1";
- visible = "1";
- clipToParent = "1";
- command = "queryBoard();";
- text = "Refresh";
- groupNum = "-1";
- buttonType = "PushButton";
- bitmap = "base/client/ui/button2";
- lockAspectRatio = "1";
- alignLeft = "0";
- alignTop = "0";
- overflowImage = "0";
- mKeepCached = "0";
- mColor = "128 255 128 255";
- };
- new GuiTextCtrl() {
- profile = "GuiMediumTextProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "545 175";
- extent = "455 28";
- minExtent = "8 2";
- enabled = "1";
- visible = "1";
- clipToParent = "1";
- text = "All addons are from the BlocklandLive repository.";
- maxLength = "255";
- };
- new GuiTextCtrl() {
- profile = "GuiBigTextProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "719 70";
- extent = "106 40";
- minExtent = "8 2";
- enabled = "1";
- visible = "1";
- clipToParent = "1";
- text = "Addons";
- maxLength = "255";
- };
- };
- };
- //--- OBJECT WRITE END ---
- exec("./Support_TCPClient.cs"); //Thank you, Greek2Me
- //Opens up the addons GUI
- function openAddons()
- {
- canvas.pushDialog("liveAddons");
- }
- function populateBoards() //Populates the boards
- {
- %list = boardsList;
- %list.addRow(1, "Audio");
- %list.addRow(2, "Bricks");
- %list.addRow(3, "Client");
- %list.addRow(4, "Colorsets");
- %list.addRow(5, "Decals");
- %list.addRow(6, "Emitters");
- %list.addRow(7, "Environment");
- %list.addRow(8, "Events");
- %list.addRow(9, "Frameworks");
- %list.addRow(10, "Gamemodes");
- %list.addRow(11, "Items");
- %list.addRow(12, "Lights");
- %list.addRow(13, "Playertypes");
- %list.addRow(14, "Prints");
- %list.addRow(15, "Server");
- %list.addRow(16, "Vehicle");
- %list.addRow(17, "Weapons");
- }
- populateBoards();
- function downloadAddon()
- {
- MessageBoxOK("BlocklandLive","I will add crap here later. Ignore this.");
- }
- function addonsList::onSelect(%this, %rowID, %rowText); //Put in Greek's TCP url connection crap for loading the audio board ad infinitum to the weapons board until I figure something else out
- {
- %rowID = 1;
- %rowText = "Audio";
- MessageBoxOK("My nama jeff");
- }
Advertisement
Add Comment
Please, Sign In to add comment