mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-04-15 12:09:24 +02:00
Merge branch 'develop' of github.com:mapmapteam/mapmap into develop
This commit is contained in:
@@ -1196,6 +1196,11 @@ void MainWindow::createActions()
|
||||
connect(stickyVertices, SIGNAL(toggled(bool)), outputWindow->getCanvas(), SLOT(enableStickyVertices(bool)));
|
||||
}
|
||||
|
||||
void MainWindow::enableFullscreen()
|
||||
{
|
||||
outputWindowFullScreen->setEnabled(true);
|
||||
}
|
||||
|
||||
void MainWindow::createMenus()
|
||||
{
|
||||
QMenuBar *menuBar = NULL;
|
||||
@@ -1926,6 +1931,25 @@ void MainWindow::startOscReceiver()
|
||||
#endif
|
||||
}
|
||||
|
||||
void MainWindow::setOscPort(QString portNumber)
|
||||
{
|
||||
if (Util::isNumeric(portNumber))
|
||||
{
|
||||
int port = portNumber.toInt();
|
||||
if (port <= 1023 || port > 65535)
|
||||
{
|
||||
std::cout << "OSC port is out of range: " << portNumber.toInt() << std::endl;
|
||||
return;
|
||||
}
|
||||
config_osc_receive_port = port;
|
||||
startOscReceiver();
|
||||
}
|
||||
else
|
||||
{
|
||||
std::cout << "OSC port is not a number: " << portNumber.toInt() << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::pollOscInterface()
|
||||
{
|
||||
#ifdef HAVE_OSC
|
||||
|
||||
Reference in New Issue
Block a user