tn5250j/src/org/tn5250j GuiGraphicBuffer.java,1.34,1.35 Gui5250.java,1.73,1.74
"Kenneth J. Pouncey" <[email protected]> Sun, 01 Aug 2004 21:15:36 +0000
| Newsgroups | gmane.comp.java.tn5250j.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31615/src/org/tn5250j
Modified Files:
GuiGraphicBuffer.java Gui5250.java
Log Message:
Index: GuiGraphicBuffer.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/GuiGraphicBuffer.java,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** GuiGraphicBuffer.java 1 Aug 2004 14:38:06 -0000 1.34
--- GuiGraphicBuffer.java 1 Aug 2004 21:15:33 -0000 1.35
***************
*** 894,898 ****
if (!gui.rubberband.isAreaSelected()) {
! bounds.setBounds(1, 1, screen.getCols(), screen.getRows());
} else {
// lets get the bounding area using a rectangle that we have already
--- 894,898 ----
if (!gui.rubberband.isAreaSelected()) {
! bounds.setBounds(1, 1, screen.getColumns(), screen.getRows());
} else {
// lets get the bounding area using a rectangle that we have already
***************
*** 925,929 ****
FontRenderContext f = null;
k = GUIGraphicsUtils.getDerivedFont(font, width, height, screen.getRows(),
! screen.getCols(), sfh, sfw, ps132);
f = new FontRenderContext(k.getTransform(), true, true);
--- 925,929 ----
FontRenderContext f = null;
k = GUIGraphicsUtils.getDerivedFont(font, width, height, screen.getRows(),
! screen.getColumns(), sfh, sfw, ps132);
f = new FontRenderContext(k.getTransform(), true, true);
***************
*** 944,948 ****
+ lm.getDescent() + lm.getLeading());
! resize(columnWidth * screen.getCols(), rowHeight * (screen.getRows() + 2));
// set the offsets for the screen centering.
--- 944,948 ----
+ lm.getDescent() + lm.getLeading());
! resize(columnWidth * screen.getColumns(), rowHeight * (screen.getRows() + 2));
// set the offsets for the screen centering.
***************
*** 963,967 ****
public final Dimension getPreferredSize() {
! return new Dimension(columnWidth * screen.getCols(), rowHeight * (screen.getRows() + 2));
}
--- 963,967 ----
public final Dimension getPreferredSize() {
! return new Dimension(columnWidth * screen.getColumns(), rowHeight * (screen.getRows() + 2));
}
***************
*** 970,974 ****
! int width2 = columnWidth * screen.getCols();
int height2 = rowHeight * (screen.getRows() + 2);
// synchronized (lock) {
--- 970,974 ----
! int width2 = columnWidth * screen.getColumns();
int height2 = rowHeight * (screen.getRows() + 2);
// synchronized (lock) {
***************
*** 993,997 ****
int numRows = screen.getRows();
! int numCols = screen.getCols();
Graphics2D g2d;
--- 993,997 ----
int numRows = screen.getRows();
! int numCols = screen.getColumns();
Graphics2D g2d;
***************
*** 1819,1823 ****
int lc = 0;
int lr = screen.getPos(sr,sc);
! int numCols = screen.getCols();
--- 1819,1823 ----
int lc = 0;
int lr = screen.getPos(sr,sc);
! int numCols = screen.getColumns();
Index: Gui5250.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/Gui5250.java,v
retrieving revision 1.73
retrieving revision 1.74
diff -C2 -d -r1.73 -r1.74
*** Gui5250.java 1 Aug 2004 14:38:06 -0000 1.73
--- Gui5250.java 1 Aug 2004 21:15:33 -0000 1.74
***************
*** 941,945 ****
public final void printMe() {
! Thread printerThread = new PrinterThread(screen, bi.font, screen.getCols(),
screen.getRows(), Color.black, true, (SessionGUI) this);
--- 941,945 ----
public final void printMe() {
! Thread printerThread = new PrinterThread(screen, bi.font, screen.getColumns(),
screen.getRows(), Color.black, true, (SessionGUI) this);
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com