fullscreen

C++ - Making the console fullscreen?

丶灬走出姿态 提交于 2020-01-15 12:25:28
问题 All right, I'm sad now. Microsoft has removed the fullscreen console feature from Win7, which is what I'm running. Now I'm looking into things like OpenGL or SDL to see if I can emulate the console, and make it fullscreen (and I mean FULLSCREEN no window or border or anything). Is it possible to emulate the console fullscreen (like DOS) in OpenGL or something similar? 回答1: try the system command it's a bit esier (system ("mode 650"); } example: #include <iostream> using namespace std; int

C++ - Making the console fullscreen?

谁说胖子不能爱 提交于 2020-01-15 12:25:04
问题 All right, I'm sad now. Microsoft has removed the fullscreen console feature from Win7, which is what I'm running. Now I'm looking into things like OpenGL or SDL to see if I can emulate the console, and make it fullscreen (and I mean FULLSCREEN no window or border or anything). Is it possible to emulate the console fullscreen (like DOS) in OpenGL or something similar? 回答1: try the system command it's a bit esier (system ("mode 650"); } example: #include <iostream> using namespace std; int

Real Fullscreen with Android 4 Tablets

瘦欲@ 提交于 2020-01-15 06:51:08
问题 i'm searching for a solution to make a tablet with ICS to fullscreen without navigation bar. I have found an app "GestureControl" that make that possible. But there are some other things in this app that I doesn't need. So I think it is possible. I tried some things with "FLAG_FULLSCREEN" or " SYSTEM_UI_FLAG_HIDE_NAVIGATION" but it doesn't work. Maybe I use it not correctly. Have anyone a solution for my problem? Much thanks. 回答1: You cannot hide the system bar on Android tablets, except

BottomNavigationView jumps up leaving blank space when fullscreen

拈花ヽ惹草 提交于 2020-01-15 03:10:48
问题 For a BottomNavigationView's last tab, I want the content to be below status bar and make the status bar completely transparent. This works as expected but the BottomNavigationView jumps up leaving a blank space in the bottom when the last tab is selected. There were similar topics in SO that said to set fitWindowSystems to false. I tried it, but not helping. Any help is appreciated. ExplorerFragment.java public class ExplorerFragment extends Fragment { public ExplorerFragment() { } @Override

Allowing interaction with a second window without breaking full-screen in the first?

巧了我就是萌 提交于 2020-01-14 09:08:54
问题 I want to build a web-based presentation tool with a PowerPoint-like "presenter view" for the second monitor. I can use the HTML5 full screen API (example) to put the main presentation in fullscreen, but that seems to preclude interacting with the controller window on the other screen. Is there any way to interact with webpage windows on two different monitors when one of them is fullscreen? Details: Chrome and Safari on OS X use Lion's native fullscreen mode, which is well-known to be broken

Python 3.x - toggling fullscreen in tkinter

孤者浪人 提交于 2020-01-14 02:58:07
问题 So far, I have a command that makes my window fullscreen. Now, predictably, I want to be able to exit fullscreen also. This is the code I have: def toggFullscreen(self, win): def exitFullscreen(event=None): win.withdraw() win.deiconify() win.overrideredirect(False) win.geometry('1024x700') w = win.winfo_screenwidth() h = win.winfo_screenheight() win.overrideredirect(True) win.geometry('%dx%d+0+0' % (w, h)) win.focus_set() win.bind('<Escape>', exitFullscreen) But the issue is that I can't get

WebView into a Fragment (android.support.v4)

做~自己de王妃 提交于 2020-01-11 17:09:43
问题 I got a tab menu using a ViewPager . Each tab contains fragments from android.support.v4 package (compatibility with old SDKs). One of the fragment is a WebView (called FragmentWeb ) and I want it to stay into the pager layout. The problem is when my WebView is inflated, it runs in fullscreen mode. Is there a way to keep web browser under my tabs ? Thank you My Fragment Class : FragmentWeb.java public class FragmentWeb extends Fragment { public View onCreateView(LayoutInflater inflater,

IE cannot scroll while in fullscreen mode

你。 提交于 2020-01-11 03:57:06
问题 I have just found out that IE 11 cannot scroll when it is put into fullscreen mode by Fullscreen API. if (element.msRequestFullscreen) { element.msRequestFullscreen(); } Fullscreen API and scrolling works fine in Chrome and Firefox. When IE 11 is put into fullscreen mode by pressing F11 it works fine. I have tried to find documentation about this, but without luck. Has anyone else encountered this problem? Or knows what I might be doing wrong? 回答1: if you want the entire page fullscreen the

obtaining full desktop screenshot from the GPU

瘦欲@ 提交于 2020-01-10 01:16:30
问题 I have been using the Windows API's BitBlt function to perform the screen grab. There are many drawbacks however: DWM and Aero cause a massive slowdown (3ms --> 35ms just to call BitBlt ) -- to work around this would require disabling Aero which I'd just rather not do. The screen flickers and things shift around. Data must be re-transferred to the GPU in order to load data as texture Layered Windows cannot be captured without CAPTUREBLT flag. When enabled, the mouse cursor blinks when

Determine height of screen in Java

孤人 提交于 2020-01-06 19:31:07
问题 I have my JFrame in full screen mode using the following: setExtendedState(JFrame.MAXIMIZED_BOTH); setUndecorated(true); And I want to know the height. Note that Toolkit.getDefaultToolkit().getScreenSize() does not work because I'm on a Mac and the real height should exclude the height of the Mac bar thing at the top of the screen. And in the case of Windows, for example, the height should exclude the start bar. Hence, I want to know the true height of the window space I have. 回答1: I use this