void GLWidget::s_play()
{
m_flagScale = 1;
m_flagCentroid = 1;
m_flagRotate = 1;
}
void GLWidget::s_play()
{
m_flagScale = 1;
m_flagCentroid = 1;
m_flagRotate = 1;
}
To copy to clipboard, switch view to plain text mode
connect(m_load, SIGNAL(clicked()), this, SLOT(s_loadTiles()));
connect(m_scale, SIGNAL(stateChanged(int)), m_glwidget, SLOT(s_setScale(int)));
connect(m_rotate, SIGNAL(stateChanged(int)), m_glwidget, SLOT(s_setRotate(int)));
connect(m_centroid, SIGNAL(stateChanged(int)), m_glwidget, SLOT(s_setCentroid(int)));
connect(m_play, SIGNAL(clicked()), m_glwidget, SLOT(s_play()));
connect(m_load, SIGNAL(clicked()), this, SLOT(s_loadTiles()));
connect(m_scale, SIGNAL(stateChanged(int)), m_glwidget, SLOT(s_setScale(int)));
connect(m_rotate, SIGNAL(stateChanged(int)), m_glwidget, SLOT(s_setRotate(int)));
connect(m_centroid, SIGNAL(stateChanged(int)), m_glwidget, SLOT(s_setCentroid(int)));
connect(m_play, SIGNAL(clicked()), m_glwidget, SLOT(s_play()));
To copy to clipboard, switch view to plain text mode
Bookmarks