Beta 2 Documentation

To use CIC Gui, simply fill out the required fields and click the "Convert" button. Then, add the .cs file (named by you in CIC Gui) from your Application Data (or AppData)/LeveL X/CIC Gui/1.0.0.0/CIC Gui Output/ Folder (created automatically) to your cosmos project. Also add the CICGui.Graphics.Importer.dll file to your references. (found in the downloads)

Example use:

VGAScreen.SetMode320x200x8();
VGAScreen.SetPaletteEntry(0, 0, 0, 0);
VGAScreen.Clear(0);
CICGui.Graphics.class name from CIC Gui.Draw(x, y);

Note: x and y are the coordinates where you want your image drawn.

Beta 1 Documentation

To use CIC Gui, simply fill out the required fields and click the "Convert" button. Then, add the Output.cs file from your Application Data (or AppData)/LeveL X/CICGui/1.0.0.0/CIC Gui Output/ Folder (created automatically) to your cosmos project. Also add the Cosmos.Graphics.Inporter.dll file to your references. (found in the downloads)

Example use:

VGAScreen.SetMode320x200x8();
VGAScreen.SetPaletteEntry(0, 0, 0, 0);
VGAScreen.Clear(0);
Cosmos.Graphics.Output.Draw(x, y);

Note: x and y are the coordinates where you want your image drawn.
Note 2: To use more than one image you must rename the .cs file and find the line that says "class Output" and change it to "class the new name" then to use it in code use:

Cosmos.Graphics.the new name.Draw(x, y);

Last edited Jun 27, 2012 at 3:28 PM by DelfinoIsland, version 6

Comments

No comments yet.