MainWindow.h 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. /* Copyright (c) 2002-2012 Croteam Ltd.
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of version 2 of the GNU General Public License as published by
  4. the Free Software Foundation
  5. This program is distributed in the hope that it will be useful,
  6. but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. GNU General Public License for more details.
  9. You should have received a copy of the GNU General Public License along
  10. with this program; if not, write to the Free Software Foundation, Inc.,
  11. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
  12. extern BOOL _bWindowChanging; // ignores window messages while this is set
  13. extern HWND _hwndMain;
  14. // init/end main window management
  15. void MainWindow_Init(void);
  16. void MainWindow_End(void);
  17. // close the main application window
  18. void CloseMainWindow(void);
  19. // open the main application window for windowed mode
  20. void OpenMainWindowNormal(PIX pixSizeI, PIX pixSizeJ);
  21. void ResetMainWindowNormal(void);
  22. // open the main application window for fullscreen mode
  23. void OpenMainWindowFullScreen(PIX pixSizeI, PIX pixSizeJ);
  24. // open the main application window invisible
  25. void OpenMainWindowInvisible(void);