Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j
In directory sc8-pr-cvs1:/tmp/cvs-serv29402
Modified Files:
Screen5250.java
Log Message:
Some more bounding area fixes and sum area is now persistant
Index: Screen5250.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/Screen5250.java,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** Screen5250.java 5 Dec 2003 07:07:13 -0000 1.41
--- Screen5250.java 6 Dec 2003 08:16:11 -0000 1.42
***************
*** 1010,1015 ****
getBoundingArea(workR);
! gui.rubberband.reset();
! gui.repaint();
// System.out.println("Summing");
--- 1010,1015 ----
getBoundingArea(workR);
! // gui.rubberband.reset();
! // gui.repaint();
// System.out.println("Summing");
***************
*** 1177,1183 ****
}
else {
!
! goto_XY(pos);
! isInField(lastPos);
}
}
--- 1177,1190 ----
}
else {
! // this is a note to not execute this code here when we implement
! // the remain after edit function option.
! if (gui.rubberband.isAreaSelected()) {
! gui.rubberband.reset();
! gui.repaint();
! }
! else {
! goto_XY(pos);
! isInField(lastPos);
! }
}
}
***************
*** 4126,4130 ****
if (!cursorActive && x + width <= bi.getWidth(null) &&
y + height <= (bi.getHeight(null) - fmWidth)) {
- // if (!cursorActive) {
paintComponent2(g2d);
}
--- 4133,4136 ----
***************
*** 4150,4155 ****
}
! if (!fullRepaint)
bi.drawImageBuffer(gg2d,x,y,width,height);
else
gui.repaint();
--- 4156,4162 ----
}
! if (!fullRepaint) {
bi.drawImageBuffer(gg2d,x,y,width,height);
+ }
else
gui.repaint();
***************
*** 4196,4199 ****
--- 4203,4207 ----
return;
}
+
g2.setColor(colorBg);
// System.out.println("PaintComponent " + r);
***************
*** 4237,4240 ****
--- 4245,4249 ----
lr += numCols;
}
+
}
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.