Skip to content

Commit

Permalink
Fixed gobos rendering on Android
Browse files Browse the repository at this point in the history
Fixed the Android build with GCC 4.9
Removed libs.xml from android extras
Improved side panels mouse icon
  • Loading branch information
mcallegari committed Aug 17, 2015
1 parent 684e950 commit dc53df0
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 36 deletions.
25 changes: 0 additions & 25 deletions android-files/res/values/libs.xml

This file was deleted.

4 changes: 2 additions & 2 deletions qmlui/inputoutputmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ QVariant InputOutputManager::universeInputSources(int universe)
{
QVariantList inputSources;
QString currPlugin;
int currLine;
int currLine = -1;
InputPatch *ip = m_ioMap->inputPatch(universe);
if (ip != NULL)
{
Expand Down Expand Up @@ -212,7 +212,7 @@ QVariant InputOutputManager::universeOutputSources(int universe)
{
QVariantList outputSources;
QString currPlugin;
int currLine;
int currLine = -1;
OutputPatch *op = m_ioMap->outputPatch(universe);
if (op != NULL)
{
Expand Down
2 changes: 1 addition & 1 deletion qmlui/qml/fixturesfunctions/BottomPanel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Rectangle
anchors.fill: parent
z: 1
hoverEnabled: true
cursorShape: Qt.OpenHandCursor
cursorShape: pressed ? Qt.ClosedHandCursor : Qt.OpenHandCursor
drag.target: bottomSidePanel
drag.axis: Drag.YAxis
drag.minimumY: collapseHeight
Expand Down
5 changes: 4 additions & 1 deletion qmlui/qml/fixturesfunctions/Fixture2DItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@ Rectangle

function setGoboPicture(headIndex, resource)
{
headsRepeater.itemAt(headIndex).goboSource = "file:/" + resource
if (Qt.platform.os === "android")
headsRepeater.itemAt(headIndex).goboSource = resource
else
headsRepeater.itemAt(headIndex).goboSource = "file:/" + resource
}

Flow
Expand Down
2 changes: 1 addition & 1 deletion qmlui/qml/fixturesfunctions/LeftPanel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ Rectangle
z: 1
x: parent.width - width
hoverEnabled: true
cursorShape: Qt.OpenHandCursor
cursorShape: pressed ? Qt.ClosedHandCursor : Qt.OpenHandCursor
drag.target: leftSidePanel
drag.axis: Drag.XAxis
drag.minimumX: collapseWidth
Expand Down
7 changes: 6 additions & 1 deletion qmlui/qml/fixturesfunctions/PresetCapabilityItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ Rectangle

//console.log("Capability res name: " + capability.resourceName)
if (capability.resourceName)
pic.source = "file:/" + capability.resourceName
{
if (Qt.platform.os === "android")
pic.source = capability.resourceName
else
pic.source = "file:/" + capability.resourceName
}
if (capability.resourceColor1 == "#000000" &&
capability.resourceColor2 == "#000000" &&
capability.resourceName == "")
Expand Down
2 changes: 1 addition & 1 deletion qmlui/qml/fixturesfunctions/RightPanel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Rectangle
z: 1
x: parent.width - width
hoverEnabled: true
cursorShape: Qt.OpenHandCursor
cursorShape: pressed ? Qt.ClosedHandCursor : Qt.OpenHandCursor
drag.target: rightSidePanel
drag.axis: Drag.XAxis
drag.minimumX: collapseWidth
Expand Down
2 changes: 1 addition & 1 deletion qmlui/qml/inputoutput/IOLeftPanel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ Rectangle
z: 1
x: parent.width - width
hoverEnabled: true
cursorShape: Qt.OpenHandCursor
cursorShape: pressed ? Qt.ClosedHandCursor : Qt.OpenHandCursor
drag.target: leftSidePanel
drag.axis: Drag.XAxis
drag.minimumX: collapseWidth
Expand Down
2 changes: 1 addition & 1 deletion qmlui/qml/inputoutput/IORightPanel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ Rectangle
z: 1
x: parent.width - width
hoverEnabled: true
cursorShape: Qt.OpenHandCursor
cursorShape: pressed ? Qt.ClosedHandCursor : Qt.OpenHandCursor
drag.target: rightSidePanel
drag.axis: Drag.XAxis
drag.minimumX: collapseWidth
Expand Down
4 changes: 2 additions & 2 deletions qmlui/qml/virtualconsole/VCLeftPanel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Rectangle

PropertyAnimation
{
id: animateClose;
id: animateClose
target: leftSidePanel
properties: "width"
to: collapseWidth
Expand Down Expand Up @@ -173,7 +173,7 @@ Rectangle
z: 1
x: parent.width - width
hoverEnabled: true
cursorShape: Qt.OpenHandCursor
cursorShape: pressed ? Qt.ClosedHandCursor : Qt.OpenHandCursor
drag.target: leftSidePanel
drag.axis: Drag.XAxis
drag.minimumX: collapseWidth
Expand Down

0 comments on commit dc53df0

Please sign in to comment.