"XL" Tabs
Well i thought id release something to you people since i havent for a wile.
speedforyou wanted me to make these for him, so i was bored and made them for everybody, who wants to use them (:
heres what it looks like:

and the source:
and to use:
Credit me if you use (:
speedforyou wanted me to make these for him, so i was bored and made them for everybody, who wants to use them (:
heres what it looks like:

and the source:
Code:
bool tabs = false; bool visuals = false; bool removals = false; bool modifier = false; bool others = false;
Code:
void InitTabs(LPDIRECT3DDEVICE9 pDevice)
{
if(GetAsyncKeyState(VK_HOME)&1) {
tabs =! tabs;
}
if(tabs)
{
DrawBox(0,1,256,50,Black,White,pDevice);
PrintText(pFont,100,20,White,"[ Visuals ]");
DrawBox(256,1,256,50,Black,White,pDevice);
PrintText(pFont,356,20,White,"[ Removals ]");
DrawBox(512,1,256,50,Black,White,pDevice);
PrintText(pFont,612,20,White,"[ Modifier ]");
DrawBox(768,1,254,50,Black,White,pDevice);
PrintText(pFont,886,20,White,"[ Others ]");
POINT cPos;
GetCursorPos(&cPos);
if(cPos.x > 0 && cPos.x < 256 && cPos.y > 1 && cPos.y < 50) {
if(GetAsyncKeyState(VK_LBUTTON)<0) {
visuals = true;
removals = false;
modifier = false;
others = false;
}
}
if(cPos.x > 256 && cPos.x < 512 && cPos.y > 1 && cPos.y < 50) {
if(GetAsyncKeyState(VK_LBUTTON)<0) {
visuals = false;;
removals = true;
modifier = false;
others = false;
}
}
if(cPos.x > 512 && cPos.x < 768 && cPos.y > 1 && cPos.y < 50) {
if(GetAsyncKeyState(VK_LBUTTON)<0) {
visuals = false;;
removals = false;
modifier = true;
others = false;
}
}
if(cPos.x > 768 && cPos.x < 1024 && cPos.y > 1 && cPos.y < 50) {
if(GetAsyncKeyState(VK_LBUTTON)<0) {
visuals = false;;
removals = false;
modifier = false;
others = true;
}
}
if(visuals) {
DrawBorder(0,1,256,50,1,Green,pDevice);
}
if(removals) {
DrawBorder(256,1,256,50,1,Green,pDevice);
}
if(modifier) {
DrawBorder(512,1,256,50,1,Green,pDevice);
}
if(others) {
DrawBorder(768,1,254,50,1,Green,pDevice);
}
}
}
Code:
InitTabs(pDevice);



