- Yasaklandı
- #1
Bu kodla C++'da Checkbox Çizdirebilirsiniz.
Kod:
DrawCheckBox(d3dDevice, 245, 20+opty, opt[o].name.c_str());
if(cursorx > 245 && cursory > 20+opty && cursorx < 245+15 && cursory < 20+opty+optionsizey)
{
DrawBorderBox(245, 20+opty, 15, 15, 1, fontWhite, d3dDevice );
if(clicking)
{
//here turn of and on
}
}
if (/*hackison*/)
{
Draw_Text(opt[o].on ? "X" : "", 249+120 , 20+opty+1, fontBlack, m_font);
}