Skip to content

fix in the bezel for specific screen configuration#200

Merged
rdumusc merged 11 commits intoBlueBrain:masterfrom
ppodhajski:fix/bezel
Oct 27, 2017
Merged

fix in the bezel for specific screen configuration#200
rdumusc merged 11 commits intoBlueBrain:masterfrom
ppodhajski:fix/bezel

Conversation

@ppodhajski
Copy link
Copy Markdown
Contributor

fix for the issue observed when X Server screen spans over multiple physical displays

Comment thread tide/master/resources/index.html Outdated
<div id="wall">
<div id="wallOutline"></div>
<div id="wallLock">
<img src="img/lock.svg" height="600" style="margin: 0 auto; position:relative; display:block; top: 25%">
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

css?

Comment thread tide/master/resources/js/tide.js Outdated
}

function setBezels() {
if ( displayHeight === 0 || displayWidth === 0)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style?

$div.css("left", left);
else if (dir == 'N' || dir == 'S')
$div.css("left", centerH);
if (dir == 'E')
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alignment?

@rdumusc rdumusc self-assigned this Oct 25, 2017
@ppodhajski ppodhajski force-pushed the fix/bezel branch 4 times, most recently from add9719 to 606537f Compare October 26, 2017 08:06
Copy link
Copy Markdown

@rdumusc rdumusc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, just use uint instead of int for configuration values?

Comment thread examples/configuration_1x3.xml Outdated
@@ -1,5 +1,5 @@
<configuration>
<dimensions mullionHeight="0" fullscreen="0" numTilesWidth="1" screenHeight="216" mullionWidth="0" screenWidth="1536" numTilesHeight="3"/>
<dimensions fullscreen="0" numScreensX="1" numScreensY="3" displayWidth="1536" displayHeight="216" displaysPerScreenX="3" bezelWidth="0" bezelHeight="0" />
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

displaysPerScreenX="3" ? this makes it much bigger

Comment thread tide/core/Configuration.cpp Outdated
if (_displaysPerScreenY == 0 || _displaysPerScreenX == 0 ||
_totalScreenCountY == 0 || _totalScreenCountX == 0 ||
_displayWidth == 0 || _displayHeight == 0)
throw std::invalid_argument("tile index does not exist");
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try to have more accurate messages that help the user adjust his configuration.

@rdumusc rdumusc merged commit 9ba8f13 into BlueBrain:master Oct 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants