N_("Assets"),
N_("Titles"),
N_("Transitions"),
- N_("Plugin Autos")
+ N_("Plugin Keyframes")
};
const char *GWindowGUI::auto_text[AUTOMATION_TOTAL] =
{
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()
}
GWindowColorThread::GWindowColorThread(GWindowColorButton *color_button)
- : ColorThread(0, color_button->auto_toggle->caption)
+ : ColorPicker(0, color_button->auto_toggle->caption)
{
this->color = 0;
this->color_button = color_button;
void GWindowGUI::create_objects()
{
int x = 10, y = 10;
- lock_window("GWindowGUI::create_objects 1");
+ lock_window("GWindowGUI::create_objects");
for( int i=0; i<(int)(sizeof(toggle_order)/sizeof(toggle_order[0])); ++i ) {
toggleinfo *tp = &toggle_order[i];
int GWindowGUI::close_event()
{
+ delete color_thread; color_thread = 0;
hide_window();
mwindow->session->show_gwindow = 0;
unlock_window();