break; case NativeConstants.FBIOPUT_VSCREENINFO: vInfo = new fb_var_screeninfo(arg); takeVarInfo(vInfo); break;
fb_var_screeninfo info = new fb_var_screeninfo(); info.xres = width; info.yres = height;
/** * Fetch variable screen info. * * @return Changeable info about the display. * @throws LastErrorException when operations fails */ public fb_var_screeninfo getVariableScreenInfo() throws LastErrorException { fb_var_screeninfo info = new fb_var_screeninfo(); super.ioctl(FBIOGET_VSCREENINFO, info.getPointer()); info.read(); return info; }