Page 1 of 1

[SOLVED] What happened to the Checkbox?

Posted: Mon Sep 02, 2013 00:22
by BrightBit
Hello,

I am porting my project from CEGUI 0.7 to CEGUI 0.8 and noticed that the Checkbox class is missing. Is that on purpose? Do I have to use the ToggleButton instead, now?


Greetings
BrightBit

Re: What happened to the Checkbox?

Posted: Mon Sep 02, 2013 08:38
by Jefferian
Uh, technically speaking, the checkbox is still there.
http://www.cegui.org.uk/docs/current/fa ... _ref_sec_2

Re: What happened to the Checkbox?

Posted: Mon Sep 02, 2013 13:36
by Kulik
Yes, IIRC CheckBox was just a togglebutton and was redundant. So it was ported to use ToggleButton and the C++ class is gone.

Porting should be fairly straightforward.

Re: What happened to the Checkbox?

Posted: Mon Sep 02, 2013 14:02
by BrightBit
Thanks Kulik, indeed: Using ToggleButton instead seems to be straightforward.