summaryrefslogtreecommitdiff
path: root/sokol_app.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos.Bruce Mitchener2020-03-191-1/+1
|
* sokol_app x11: mark unused variable properlyBorislav Stanimirov2020-02-181-1/+2
|
* sokol_app.h x11: fixed unused variable warningBorislav Stanimirov2020-02-181-1/+1
|
* sokol_app.h macOS: add support for SAPP_MOUSEBUTTON_MIDDLE (needs testing)Andre Weissflog2020-02-021-0/+10
|
* Fix typos.Bruce Mitchener2020-01-301-1/+1
|
* sokol_app.h win32: fix MSB check for GetKeyState() return value (fixes #247)Andre Weissflog2020-01-131-4/+4
|
* sokol_app.h: add doc note about calling 3D API funcs in event handler callbackAndre Weissflog2020-01-101-2/+16
| | | | fixed #244
* sokol_app.h: fix for assignment within conditional expressionincrediblejr2019-12-061-3/+3
|
* sokol_app.h: whitespaces (editorconfig)incrediblejr2019-12-061-5/+5
|
* Fix MSVC 2017 /W4 warningsAndre Weissflog2019-12-051-1/+2
|
* sokol_app.h: fix for assignment within conditional expressionincrediblejr2019-12-051-2/+2
|
* Initial clipboard support (#237)Andre Weissflog2019-12-021-6/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP clipboard support code dump. HTML5 clipboard/permissions API is a mess, so that's not an option. * sokol_app.h: clipboard on emscripten working * sokol_imgui.h: init-flag to disable Ctrl-hotkeys * sokol_app.h: new sapp_consume_event() function, rename clipboard event * add some todos to sokol_app.h * macOS: send CLIPBOARD_PASTED event * sokol_app.h: add Win32 clipboard support * sokol_app.h: documentation for clipboard support * sokol_app.h: dummy clipboard support * Start adding clipboard support to sokol_imgui. Current problem: on HTML5, copy/paste must happen inside JS event handler. * mention new sokol_app.h clipboard support in README * readme tweaks * sokol_app.h: MSVC warnings fixed * sokol_imgui.h: fix key debuffering * sokol_app.h: documentation fixes
* slightly different behaviour for macOS Cmd key: immediately send a keyup ↵Andre Weissflog2019-11-091-11/+16
| | | | event if Cmd+other key is pressed
* sokol_app.h: workaround for keys getting stuck when Cmd key is pressedAndre Weissflog2019-11-091-2/+21
| | | | | | | | On macOS, both native and in browsers, keyUp events aren't delivered by the OS when the Cmd key is pressed, which causes key events to be stuck in sokol_app.h. The (hacky) workaround is to not forward keyDown events to the app either while Cmd is pressed.
* sokol_app.h GL/macOS: remove redundant glFlush()Andre Weissflog2019-10-201-1/+0
| | | | fixes #224
* fix 32-bit widening enum item in sokol_app.hAndre Weissflog2019-09-161-1/+1
|
* Merge pull request #210 from martincohen/feature/showing-mouse-cursorAndre Weissflog2019-09-111-0/+32
|\ | | | | 208: sokol_app: Show/hide mouse cursor
| * C++ compatibilityMartin Cohen2019-09-101-1/+3
| |
| * Showing and querying mouse cursor.martincohen2019-09-081-0/+30
| |
* | fix remaining problem for PR #211Andre Weissflog2019-09-101-12/+11
| |
* | Merge pull request #211 from martincohen/feature/win32-argv-utf8Andre Weissflog2019-09-101-3/+42
|\ \ | | | | | | 141: sokol_app: UTF-8 argv on Windows
| * | Requested changes.martincohen2019-09-101-20/+27
| | |
| * | UTF-8 argv on Windowsmartincohen2019-09-081-2/+34
| |/
* / sokol_app.h GL: add missing GL definitions to minimal GL loader on WindowsAndre Weissflog2019-09-071-0/+6
|/
* ifdef guardsmartincohen2019-09-021-1/+2
|
* sokol_app.h: add GL_MAX_VERTEX_ATTRIBS define to Windows GL loaderAndre Weissflog2019-08-291-0/+1
|
* sokol_app.h macOS fixes:Andre Weissflog2019-08-291-11/+18
| | | | | | | - NSOpenGLView default for "wants best resolution" has changed to YES, so explicitly set to NO if sokol-app doesn't want HighDPI - fix cleanup being multiple times with "soft quit" and events being generated after cleanup callback has been called.
* Merge pull request #191 from floooh/pixelformatAndre Weissflog2019-08-171-4/+56
|\ | | | | Cleanup and modernize sokol_gfx.h pixelformats and runtime capabilities
| * sokol_app.h: fix D3D11 pixelformat when recreating render targetAndre Weissflog2019-08-061-1/+1
| |
| * sokoL_app.h iOS: fix a new clang warningAndre Weissflog2019-08-021-1/+1
| |
| * sokol_app.h d3d11: use BGRA8 pixelformat for swapchainAndre Weissflog2019-07-291-2/+2
| |
| * sokol_app.h Windows: add missing defines to GL loaderAndre Weissflog2019-07-291-0/+52
| |
* | sokol_app.h d3d11: fix exploding memory usage during window resizeold-pixelformatsAndre Weissflog2019-08-061-6/+7
| |
* | sokol_app.h: fix doc comment typoAndre Weissflog2019-08-021-2/+2
| |
* | Add sapp_android_get_native_activity functionAli Akbar Mohammadi2019-07-261-0/+16
|/
* sokol_app.h emscripten: enable the WEBKIT_WEBGL_compressed_texture_pvrtc ↵Andre Weissflog2019-07-111-0/+4
| | | | extension
* sokol_app.h Windows: fix compile error (typo)Andre Weissflog2019-06-111-1/+1
|
* sokol_app.h windows: minor code cleanupAndre Weissflog2019-06-111-8/+2
|
* sokol_app.h emsc: cleanup window/fb size oddity in (fixes #168)Andre Weissflog2019-06-111-10/+9
|
* sokol_app.h: minor header docs improvementsAndre Weissflog2019-06-111-14/+24
|
* sokol_app.h: comment doc typoAndre Weissflog2019-06-101-1/+1
|
* Programmatic quit for sokol_app.h (#166)Andre Weissflog2019-06-101-17/+175
| | | | | | | | | | | | | | | | * start implementing 'programmatic quit' * sokol_app.h: implement programmatic quit for Windows * sokol_app.h: implement programmatic quit for Linux * sokol_app.h win32: minor code cleanup * sokol_app.h macOS: minor code cleanup * sokol_app.h: rename sapp_deny_quit() to sapp_cancel_quit(), add a 'ask leave site' mode for emscripten backend * sokol_app.h: add app-quit docs and make HTML5 ask_leave_site more flexible
* sokol_app.h macOS: don't check for key-repeat in flagsChanged eventsAndre Weissflog2019-06-081-1/+1
|
* sokol_app.h: add a sapp_frame_count() function, and make frame-count 64-bitsAndre Weissflog2019-06-081-9/+31
|
* sokol_app.h: add key_repeat flag to feature matrix, some doc updatesAndre Weissflog2019-06-081-3/+1
|
* sokol_app.h emscripten: add event key_repeat supportAndre Weissflog2019-06-081-0/+1
|
* Implement key repeat flag. (#164)Scott Lembcke2019-06-081-14/+34
|
* sokol_app.h: new function sapp_userdata() and sapp_query_desc()Andre Weissflog2019-06-051-0/+16
|
* Add SOKOL_DLL support to all headers. (#163)Andre Weissflog2019-06-041-1/+15
| | | | | On Windows, this adds __declspec(dllexport) or __declspec(dllimport) to all function declarations so that the sokol headers can be compiled into a DLL. Fixes #160 .
* SAPP_KEYCODE_KP_5 for Linux. (#161)Scott Lembcke2019-06-041-0/+1
|