Beispiel #1
0
void GUIComponent::create_components(const std::string &fullname)
{
	std::string path = PathHelp::get_fullpath(fullname, PathHelp::path_type_file);
	std::string filename = PathHelp::get_filename(fullname, PathHelp::path_type_file);
	FileSystem vfs(path);
	create_components(filename, vfs);
}
void CL_GUIComponent::create_components(const CL_StringRef &fullname)
{
	CL_String path = CL_PathHelp::get_fullpath(fullname, CL_PathHelp::path_type_file);
	CL_String filename = CL_PathHelp::get_filename(fullname, CL_PathHelp::path_type_file);
	CL_VirtualFileSystem vfs(path);
	create_components(filename, vfs.get_root_directory());
}
Beispiel #3
0
MainWindow::MainWindow(GUIManager *gui, ResourceManager *resources)
: GUIComponent(gui, get_window_description(), "mainwindow"), resources(resources), workspace(0)
{
	func_close().set(this, &MainWindow::on_close);
	func_resized().set(this, &MainWindow::on_resized);

	workspace = new ViewWorkspace(this);
	workspace->cb_view_close.set(this, &MainWindow::on_view_close);

	create_components();

	create_welcome_view();
	create_texture_packer_view();
	create_css_packer_view();
	create_ico_creator_view();
	create_resource_viewer_view();

	on_resized();
}
void CL_GUIComponent::create_components(CL_IODevice &file)
{
	CL_DomDocument doc;
	doc.load(file); 
	create_components(doc);
}
void CL_GUIComponent::create_components(const CL_StringRef &filename, const CL_VirtualDirectory &dir)
{
	CL_IODevice device;
	device = dir.open_file_read(filename);
	create_components(device);
}
Beispiel #6
0
/**
 * \brief Initialize the layer.
 */
void tunnel::status_layer::build()
{
  super::build();
  
  create_components();
} // status_layer::build()
Beispiel #7
0
void glFullWall::setup( )
{
    create_components();
}
Beispiel #8
0
void glMolecule::setup( )
{
	glObject::setup();	// update_body_matrix();
    create_components();
}
Beispiel #9
0
void GUIComponent::create_components(IODevice &file)
{
	DomDocument doc;
	doc.load(file); 
	create_components(doc);
}
Beispiel #10
0
void GUIComponent::create_components(const std::string &filename, const FileSystem &fs)
{
	IODevice device;
	device = fs.open_file(filename);
	create_components(device);
}
Beispiel #11
0
void glBookcase::setup  		( )
{
    create_components();
}