Skip to content

Instantly share code, notes, and snippets.

@Einlander
Created June 3, 2016 04:23
Show Gist options
  • Save Einlander/6658093b7d9e213d36169ecc0cc02356 to your computer and use it in GitHub Desktop.
Save Einlander/6658093b7d9e213d36169ecc0cc02356 to your computer and use it in GitHub Desktop.
/*
Application : 3d Asset Browser
Author : Einlander
Purpose : Stores and keeps track of 3d assets
*/
/*
Future goals
Able to connect to remote multi-user server/database
*/
/*
Attributes to track:
Name of Asset
Name of original file
Discription
Comments
Date added
Date started
Date Completed
Date updated
Version
Tags
file size
Source
format
Image of asset?
Is archive?
Has Textures?
Number of files
*/
import "ecere"
class Form1 : Window
{
caption = $"Form1";
background = formColor;
borderStyle = fixed;
hasMaximize = true;
hasMinimize = true;
hasClose = true;
size = { 1104, 594 };
position = { 120, 48 };
Window maincontainer { this, caption = $"container", background = formColor, anchor = { left = 0, top = 0, right = 0, bottom = 0 } };
Window topcontainer { maincontainer, caption = $"infowindow", background = formColor, anchor = { left = 0, top = 0, right = 0, bottom = 270 } };
Window bottomcontainer { maincontainer, caption = $"listwindow", background = { r = 241, g = 0, b = 255 }, borderStyle = deep, anchor = { left = 0, top = 308, right = 0, bottom = 0 } };
ListBox listBox1 { bottomcontainer, this, $"listBox1", anchor = { left = 0, top = 0, right = 0, bottom = 0 } };
PaneSplitter horizontalslider { maincontainer, background = limeGreen, anchor = { left = 0, top = 0, right = 0, bottom = 0 }, topPane = topcontainer, bottomPane = bottomcontainer, orientation = horizontal, split = 300};
Window dataviewwindow { topcontainer, caption = $"data", background = blue, borderStyle = deep, anchor = { left = 0, top = 0, right = 400, bottom = 0 } };
Window infoviewwindow { topcontainer, caption = $"info", background = { r = 241, g = 100, b = 255 }, borderStyle = deep, anchor = { left = 708, top = 0, right = 0, bottom = 0 } };
PaneSplitter verticalslider { topcontainer, background = gray, size = { 8, 302 }, position = { 700, -2 }, leftPane = dataviewwindow, infoviewwindow, orientation = vertical, 700 };
}
Form1 form1 {};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment