Skip to content

Commit

Permalink
making ixiViews SCScrollView-compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
thormagnusson committed Oct 3, 2007
1 parent 1665918 commit 198b680
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion classes/BoxGrid.sc
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,11 @@ BoxGrid {
getNodeString {arg row, col;
^gridNodes[col][row].string;
}


remove {
mouseTracker.remove;
win.refresh;
}
// local function
findNode {arg x, y;
gridNodes.do({arg row;
Expand Down
6 changes: 4 additions & 2 deletions classes/ParaSpace.sc
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ ParaSpace {
if((win= w).isNil, {
win = GUI.window.new("ParaSpace",
Rect(10, 250, bounds.left + bounds.width + 40, bounds.top + bounds.height+30));
win.front
win.front;
});
win.acceptsMouseOver = false;

// if w is not a scrollview but a scwindow
if(w.isKindOf(SCScrollView).not, {win.acceptsMouseOver = false});

background = Color.white;
fillcolor = Color.new255(103, 148, 103);
Expand Down

0 comments on commit 198b680

Please sign in to comment.