Commit Graph

216 Commits

Author SHA1 Message Date
Duncan Cunningham
a199647362 Add CGWindow strings 2024-06-19 09:22:17 +02:00
Thomas A
6b006c021b Fix implicit-function-declaration 2023-06-19 11:30:55 -07:00
Thomas A
b30c2be791 Change include from CoreServices to CarbonCore 2023-04-16 13:47:48 -07:00
Thomas A
3159ee117c Fix "parameter name omitted" For CGWindowLevelForKey. Add Note About CGWindowLevel. 2023-03-29 09:15:52 -07:00
Thomas A
624da5b8e1 Replace nil with kCGErrorSuccess
Fixes Building
2023-03-27 11:23:05 -07:00
CuriousTommy
a72fb066cd
Merge pull request #25 from genkiinstruments/coregraphics-missing-symbols
Add some stubs and missing symbols for CoreGraphics
2023-03-26 10:27:35 -07:00
Daniel Gretarsson
90c9369964 Use CF_ENUM on new enums in CoreGraphics 2023-03-26 14:23:02 +00:00
Daniel Gretarsson
2691295544 Add some stubs and missing symbols for CoreGraphics 2023-03-20 10:59:27 +00:00
Thomas A
aaa486783e Add CGDisplayModeGetPixelWidth Stub 2023-03-17 19:51:54 -07:00
Thomas A
e00b4468c4 Fix int-conversion error 2022-11-20 10:30:36 -08:00
Thomas A
19b47b890d Generate Headers for AppKit, Cocoa, CoreData, CoreGraphics, CoreText, Onyx2D, and QuartzCore 2022-09-04 10:58:40 -07:00
Ariel Abreu
16206c19e0
Add/fix lots of protocols and type definitions 2021-06-28 23:30:34 -04:00
TheBrokenRail
9700bac810 Removed Unused Code 2021-05-24 21:11:48 -04:00
Ariel Abreu
8aff016e7a
Define/stub some constants 2021-02-22 23:07:15 -05:00
Ariel Abreu
228a30a672
Merge remote-tracking branch 'origin/master' into update-sources 2020-06-15 14:30:17 -04:00
Lubos Dolezel
6453711d11 Fix the build and review comments 2020-05-15 12:38:22 +02:00
Lubos Dolezel
b26bedb31c CGS work progress 2020-05-15 10:47:23 +02:00
Ariel Abreu
e44fa3e280
Initial update to clean up include directories
"initial" because there might some additional modifications necessary later on
2020-05-14 12:57:38 -04:00
TheBrokenRail
e84bc784cd Improve Patch and Format New Code 2020-05-13 11:33:22 -04:00
TheBrokenRail
b6548a202d Fix Continuation Indent 2020-05-12 17:04:16 -04:00
TheBrokenRail
98620811ce Better Braces 2020-05-12 17:04:16 -04:00
TheBrokenRail
55c7b99e5d Proper Braces 2020-05-12 17:04:16 -04:00
TheBrokenRail
cda40d9947 Code Formatting Using Patched ClangFormat 2020-05-12 17:04:15 -04:00
Lubos Dolezel
34d6c63ac2 Use NSCoding in CGEvent 2020-05-12 22:27:04 +02:00
Lubos Dolezel
5f5fbc7a69 Work on Quartz Event Services 2020-05-12 22:09:19 +02:00
Lubos Dolezel
3596c05f26 Initial work on implementing CGS* APIs and moving platform abstraction into QuartzCore 2020-05-12 16:42:00 +02:00
Lubos Dolezel
73e689b9e0 Fix CGError.h 2020-05-10 15:17:57 +02:00
Thomas A
69fdf6b17c Add functions and variables for glut 2020-05-02 15:01:38 -07:00
Lubos Dolezel
af0be962f5 Add some CGS* stubs 2020-04-19 19:44:49 +02:00
Sergey Bugaev
33dbfb6cf6 Use correct types, fix a lost of warnings, and reformat a large part
This includes a lot of changes, mainly in the three areas:
* Correct types (NSInteger-ization, string type typedefs, enums, etc.)
* Fix various warnings
* Manual reformatting of code to be more readable

I'm sorry I could not split this huge commit into neat separate commits.
2020-04-16 13:48:38 +03:00
Andrew Hyatt
abe8c14bd8
Add kCGWindowNumber constant
darlinghq/darling#710
2020-03-19 12:49:42 -04:00
Andrew Hyatt
44989417c3
Make CoreGraphics able to be included in C code 2020-03-18 20:10:37 -04:00
Lubos Dolezel
dfcb12d759 Support non-resizable windows, work on relative mouse events, crash fixes 2020-02-17 18:40:13 +01:00
Lubos Dolezel
4c8d930356 Some screen mode bugfixes, look for Xext 2020-02-15 16:23:44 +01:00
Lubos Dolezel
500c15e7c6 Small changes, mainly for CoreVideo 2020-02-13 10:28:51 +01:00
Lubos Dolezel
a7522bbd6b Mainly CGDisplay fixes 2020-02-12 22:36:45 +01:00
Lubos Dolezel
fccdb6a87c More work on CGDirectDisplay 2020-02-10 21:59:34 +01:00
Lubos Dolezel
8683954c21 A lot of CGDirectDisplay-related APIs, so far not tested 2020-02-09 21:31:32 +01:00
Lubos Dolezel
af0f0c6a1b Implement NSWindowDidExposeNotification (required by SDL) 2020-02-09 12:04:50 +01:00
Andrew Hyatt
2e09764d1f
AppKit and CoreGraphics improvements for Sketch
darlinghq/darling#494
2019-08-13 21:55:33 -04:00
Andrew Hyatt
4d2f121071
Implement CoreGraphics stubs for sketchtool
darlinghq/darling#494
2019-07-21 15:45:41 -04:00
Andrew Hyatt
83d0fec4c4
General AppKit fixes
* More ImageIO symbols away from CoreGraphics
* Have AppKit reexport some frameworks
* More CoreGraphics stubs
2019-06-09 20:10:27 -04:00
Andrew Hyatt
6116cd1df6
Move stubs from ApplicationServices to CG 2019-06-09 15:43:12 -04:00
Andrew Hyatt
cc89db5830 Add symbols for sketchtool
darlinghq/darling#494
2019-04-01 09:15:47 -04:00
Andrew Hyatt
426d19a9be More CoreGraphics constants (darlinghq/darling#445) 2019-01-09 18:37:47 -05:00
Andrew Hyatt
950a985ccc CoreGraphics constants (darlinghq/darling#445) 2019-01-09 13:21:14 -05:00
Andrew Hyatt
972b6eceb7 CGEvent missing function (darlinghq/darling#445) 2019-01-06 22:47:25 -05:00
Sergey Bugaev
ddcb49d52e Implement CGPDFDocumentCreateWithURL() 2018-12-17 00:34:31 +03:00
Sergey Bugaev
c95aecf2a3 Actually propagate setAcceptsMouseMovedEvents to XSelectInput()
X11Display already has the code to drop mouse moved events in case
the window does not want them; but we weren't getting the events in
the first place because they were filtered out on the server side.

Fixes, among other things, NSMenu not reacting to clicks properly,
because it was assuming the clicked item was not the selected one
as it could not see the mouse hovering over it.
2018-12-17 00:34:31 +03:00
Sergey Bugaev
4287f05174 Turn backend-specific CG*() functions into NSDisplay methods
As they are so clearly meant to be. This is also a prerequisite for building
the X11 backend as a separate dynamically loaded Mach-O and loading many such
backends at the same time.
2018-11-27 22:33:48 +03:00