Try out the new and improved IntoWindow3, here's the code.
- Code: Select all
//Draw the window with a custom RGB, not loaded from a file//
void IntoWindow(int RR, int GG, int BB, int BR, int BG, int B_B, float T, float BT)
{
int line;
erase(255, 255, 255, 1);
for (line=3;line<height-3;line++)
{
setpen(RR+(line/4), GG+(line/4), BB+(line/4), T, 1);
moveto(3, line);
lineto(width-3, line);
}
setpen(BR, BG, B_B, BT, 2);
moveto(3, 2);
lineto(width-3, 2);
setpen(BR, BG, B_B, BT, 2);
moveto(2, 4);
lineto(2, height-3);
moveto(3, height-2);
lineto(width-3, height-2);
moveto(width-2, height-3);
lineto(width-2, 3);
}
But wait, there's more. Using the Customizable, Preset colors, you can make windows in half the time.
The code for the customizable quicksets is here
- Code: Select all
#define StarOcean 0, 89, 89, 255, 255, 255, .30, 0
#define FF7 0, 0, 90, 255, 255, 255, 0, 0
#define Dusk 88, 38, 0, 255, 255, 255, .30, 0
#define PurpleNight 38, 0, 38, 255, 129, 255, 0, 0
#define GreenGrass 0, 49, 0, 200, 255, 200, 0, 0
#define StarLight 0, 0, 0, 0, 0, 255, 0, 0
#define Ocean 0, 0, 49, 255, 255, 255, .30, .30
To use these, simply type in IntoWindow(StarOcean); to get the Star Ocean look You can also make your own colorsets.
Screenshots
Information & Help
[---- How to use ----]
You can use this code by copy and pasting the code above.
To call this function, simply type
IntoWindow(0, 0, 0, 0, 0, 0, .30, .30);
The first 3 0's are the color of the window.
The second 3 0's are the color of the border.
The first .30 is the transparency of the window.
The second .30 is the transparency of the border.
[---- Quicksets ----]
You can also use Quicksets. Quicksets allow for
1 word color modding, you can make your own or
you can use the built in ones. Try them all out and
see if there's one you like.
[---- Credits ----]
There is no credit needed.
Please reply and let me know what you think, and let me know of ways I can improve it.
Thanks
