Mercurial > hg > Members > riono > TreeVNC_ja_comment
view src/viewer_swing/java/com/glavsoft/viewer/FbRectangle.java @ 458:4ea47640942a
intoroduce retina scaled frame buffer postion
author | innparusu |
---|---|
date | Thu, 23 Jun 2016 18:57:12 +0900 |
parents | |
children | 8d636adb292c |
line wrap: on
line source
package com.glavsoft.viewer; import java.awt.Rectangle; /** * Created by one on 6/23/16. */ public class FbRectangle extends Rectangle { int retinaScale; int xfb; int yfb; int screenNumber; public FbRectangle(int x, int y, int width, int height, int screenNumber, int scale) { super(x, y, width, height); this.screenNumber = screenNumber; this.retinaScale = scale; this.xfb = x; this.yfb = y; } public int getRetinaScale() { return retinaScale; } public void setRetinaScale(int retinaScale) { this.retinaScale = retinaScale; } public int getXfb() { return xfb; } public void setXfb(int xfb) { this.xfb = xfb; } public int getYfb() { return yfb; } public void setYfb(int yfb) { this.yfb = yfb; } public int getScreenNumber() { return screenNumber; } public void setScreenNumber(int screenNumber) { this.screenNumber = screenNumber; } }