summaryrefslogtreecommitdiff
path: root/platform/windows/os_windows.cpp
AgeCommit message (Collapse)Author
2016-08-29Hide the mouse cursor when MOUSE_MODE_CAPTURED is activated.Mario Schlack
2016-07-26Windows: Make alert message box use MB_TASKMODALRémi Verschelde
This flag pauses the current running thread, allowing for the user to see the alert and acknowledge it before the thread continues (and e.g. crashes :)). Thanks to @SuperUserNameMan for finding it. Ref: https://msdn.microsoft.com/en-us/library/windows/desktop/ms645505(v=vs.85).aspx
2016-07-24Avoid changing position when the window is fullscreenGeorge Marques
2016-07-21Merge pull request #5841 from vnen/fix-windows-wheelRémi Verschelde
Fix mouse wheel event position on Windows
2016-07-21Merge pull request #5560 from vnen/os-request-attentionRémi Verschelde
Add OS.request_attention() for Windows
2016-07-21Fix mouse wheel event position on WindowsGeorge Marques
2016-07-10Merge pull request #5525 from SuperUserNameMan/window_get_latin_kb_variantJuan Linietsky
windows get_latin_keyboard_variant() implementation and gdscript binding, #5503
2016-07-05Add OS.request_attention() for WindowsGeorge Marques
2016-07-03windows get_latin_keyboard_variant() implementation and gdscript bindingSuperUserNameMan
2016-07-01Windows: prevent freeze while moving or resizing the game window.Andreas Haas
When moving or resizing the window, Windows spins up a seperate event-loop, effectively blocking the normal one. To work around this, we're starting a timer that will continue sending WM_TIMER messages which we can use to keep the mainloop running. fixes #4695
2016-06-26Fix visual server error when minimizing the windowGeorge Marques
2016-06-11property output unix seconds since epoch in windows get_system_time_secs, ↵Juan Linietsky
fixes #5155
2016-06-07Windows: Hide mouse on MOUSE_MODE_CAPTUREDJ08nY
Fixes #5051
2016-06-05vsync supportJuan Linietsky
-works on windows -may not work on X11, if so please fix -OSX does not seem to support disabling vsync
2016-06-04-customizable shortcuts in editorJuan Linietsky
-editor settings now save to .tres instead of .xml -buttons can now hold a shortcut
2016-06-03change invalid characters when get user data dir on Windows & Unixvolzhs
Can't create user data folder when project name has ``\ / : * ? " < > |`` characters on OS_Windows & OS_Unix. So, change it to ``-`` to be able to make folder. fixes #4928 and it's altanative to #4986.
2016-06-01removed dependency on shcore.dll to get DPIJuan Linietsky
fixes #4973
2016-05-29DPI Detection supportJuan Linietsky
Windows only for now. Many builds may break (older visual studio, mingw32)
2016-05-27Changed import workflowJuan Linietsky
-Rearrange favorites in fs dock with drag and drop -Removed import -> sub-scene, moved to scenetree contextual menu -Removed import -> re-import , moved and integrated to FS dock -Added ability in FS dock to re-import more than one resource simultaneously -Added ability to drag from native filesystem explorer to Godot, only works on Windows though -Removed scene reimport merge options, never worked well. Eventually merging materials should be re-added -Added ability to set custom root node type when importing scenes -Re-Import is now automatic, can be configured back to manual in editor settings -Added resource previews in property list for many resource types
2016-05-09Working even when re-entering window.Mattias Cibien
2016-05-09Cursor hides only in client areaMattias Cibien
At the moment is however restored when going out and then in again.
2016-05-03Fixed behavior of OS.set_window_resizableMattias Cibien
Should fix #4428. * Minimize button is not hidden anymore
2016-04-29Implement OS.get_process_ID for WindowsGeorge Marques
Based on code by @ratsdiov. Closes #1733
2016-03-12Borderless window support for the Win32 build. Default window position is ↵Saracen
now also centred.
2016-03-09remove trailing whitespaceHubert Jarosz
2016-02-07Added constant to retrieve Windows' Documents pathFranco Eusébio Garcia
According to MSDN's documentation (https://msdn.microsoft.com/en-us/library/windows/desktop/bb762181(v=vs.85).aspx), CSIDL_PERSONAL represents the default path to Windows Document's folder: "Previous to Version 6.0. The file system directory used to physically store a user's common repository of documents. A typical path is C:\Documents and Settings\username\My Documents. This should be distinguished from the virtual My Documents folder in the namespace. To access that virtual folder, use SHGetFolderLocation, which returns the ITEMIDLIST for the virtual location, or refer to the technique described in Managing the File System."
2016-02-04support horizontal mouse wheel, use in text editorhondres
2016-02-01remove pc_joystick_map.hhondres
2016-01-24Change default window size for desktopGeorge Marques
Fix #3149
2016-01-12Merge pull request #3272 from Hinsbart/joy-bindingpunto-
Add some joystick functions to input. Enables manipulation of mapping…
2016-01-11Merge pull request #3230 from touilleMan/issue-55Rémi Verschelde
Remove unnecessary null pointer checks
2016-01-10-Removed OS.get_system_time_msec(), this is undoable on Windows and also ↵Juan Linietsky
unusable from GDscript due to precision. -Added, instead an OS.get_system_time_secs(), which is 32 bits friendly, fixes #3143
2016-01-08Add some joystick functions to input. Enables manipulation of mappings at ↵hondres
runtime
2016-01-04Remove unnecessary null pointer checksEmmanuel Leblond
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-18Better gamepad supporthondres
2015-12-12-added windowed mode with -w, fixes #3020Juan Linietsky
-changed default windowed resolution to 1280x720
2015-11-19Added missing \n in script error output.ZuBsPaCe
2015-11-19Nice error output padding. Code location behind " At: " is now aligned with ↵ZuBsPaCe
the error message above. Also removed the dot after the file location.
2015-11-19Set console background color on windows in SetConsoleTextAttribute, ↵ZuBsPaCe
otherwise text background will be black, which looks strange if the terminal color is not black.
2015-11-19Set output color of ERR_SCRIPT messages to purple. Same as on linux.ZuBsPaCe
2015-11-19Removed ANSI error codes from windows terminal error output. Windows does ↵ZuBsPaCe
not support them. See: http://stackoverflow.com/questions/16755142/how-to-make-win32-console-recognize-ansi-vt100-escape-sequences See: http://stackoverflow.com/questions/22777142/is-there-a-way-to-make-windows-output-ansi-escape-sequences?lq=1
2015-11-19Inconsistent code formatting in print_error (Newlines and spaces)ZuBsPaCe
2015-11-18Merge pull request #2718 from SaracenOne/audio_system_crash_fixJuan Linietsky
Fixed Audio System Crash
2015-11-18Merge pull request #2737 from akien-mga/type-specific-error-outputJuan Linietsky
Display error type (error, warning, script error) in OS::print_error + cleanup error ANSI coloring
2015-11-14windows crash and bind placeholder methodAriel Manzur
2015-11-10Fix error messages forcing a white font for subsequent messagesRémi Verschelde
This is achieved using the "no specific formatting" \E[0m tag. Fixes #2566. Also remove the hardcoded black background colour and use default bolded terminal font for error message. Error logs should now look good both on terminals with a dark and light background colour.
2015-11-10Display error type (error, warning, script error) in OS::print_errorRémi Verschelde
Previously all types of errors would be shown as ERROR, thus making for example warnings (WARN_PRINT) somewhat aggressive. ERROR is displayed in red, WARNING in yellow and SCRIPT ERROR in magenta (though the latter does not seem used so far). Fixes #1127.
2015-11-02Moved deleting sample player in OS finalize methods to before deleting audio ↵Saracen
server to prevent crash when exiting.
2015-09-24Added ability to set custom mouse cursors. Not hardware accelerated yet.Juan Linietsky