{
this->auto_toggle = auto_toggle;
this->color = 0;
- for( int i=0; i<3; ++i )
- vframes[i] = new VFrame(w, w, BC_RGBA8888, -1);
+ for( int i=0; i<3; ++i ) {
+ vframes[i] = new VFrame(w, w, BC_RGBA8888);
+ vframes[i]->clear_frame();
+ }
}
GWindowColorButton::~GWindowColorButton()