Ray
c76863b289
Working on HiDPI support -WIP-
...
Trying to define a global transformation matrix to scale all content for HiDPI.
2019-04-25 11:39:45 +02:00
Ray
04ed4dd40c
Renamed internal variable
...
Probably required for HiDPI support
2019-04-25 11:02:13 +02:00
Ray
0c567cd259
WARNING: Issues on web building
...
Found some issues when building for web using latest emscripten 1.38.30, traced the error and found that eglGetProcAdress does not return function pointers for VAO functionality, supported by extension.
It requires more investigation but now it works (avoiding VAO usage)
2019-04-23 18:10:38 +02:00
Ray
e67ebabb02
Support custom memory management macros
...
Users can define their custom memory management macros.
NOTE: Most external libraries support custom macros in the same way, raylib should redefine those macros to raylib ones, to unify custom memory loading. That redefinition is only implemented as example for stb_image.h in [textures] module.
2019-04-23 14:55:35 +02:00
Ray
152b7471e9
Comment HiDPI window request
...
At least until a proper solution is found!
2019-04-22 18:46:05 +02:00
Ray
fc5dd5d99f
FLAG not supported on web GLFW implementation
2019-04-12 13:44:16 +02:00
Ray
df90ba6e46
WARNING: Added GLFW hint to support hi-DPI
...
This needs to be tested on a hi-DPI monitor, probably requiring a FLAG to enable it would be a good idea...
2019-04-12 13:31:05 +02:00
Ray
b8ada4b877
Review creation years
2019-04-08 12:25:13 +02:00
ChillerDragon
f21761fbbb
Happy new year 2019
2019-04-07 17:49:12 +02:00
Ray
28b9de661d
Minor tweaks
2019-04-05 13:12:54 +02:00
Ray
a103086443
Removed trail spaces
2019-04-04 13:50:52 +02:00
Ray
69656cb090
Added comment
2019-03-29 12:23:02 +01:00
Berni8k
ea96d0afea
Fixes compile error when SUPPORT_GESTURES_SYSTEM is undefined on RPi
2019-03-28 20:38:13 +01:00
Berni8k
b1e914bbf3
RaspberryPi Keyboard input with evdev
...
Based on pull request from user "DarkElvenAngel", better integrated with the current event system and enhanced with buffer to help with fast typing at low framerates.
2019-03-28 19:46:39 +01:00
Ray
7524fdc3e1
Review gestures disable flag
2019-03-25 12:30:20 +01:00
raysan5
a61d3ad512
SetWindowIcon() redesigned
...
Now core does not depend on textures module directly, only through text module.
2019-03-16 13:00:46 +01:00
Ray
ff1bcfb2fa
Remove comment
2019-03-13 10:26:33 +01:00
Ray
5e8427a8b5
REDESIGNED: GetFileNameWithoutExt()
...
Removed possible memory leak when using this function
2019-03-13 10:07:01 +01:00
Ray
477ea4d660
Support external config flags
2019-03-12 16:00:26 +01:00
Ray
2e99c6cefb
ADDED: IsWindowResized()
2019-03-04 22:58:20 +01:00
Ray
36fa0207f2
Some spacing review
2019-02-28 23:06:37 +01:00
Ray
50da9f623e
Return value in GetClipboardText()
2019-02-28 22:25:27 +01:00
Ray
374811c440
Change ternary operator formatting
2019-02-22 13:13:11 +01:00
Ray
a886f5e743
Remove TABS
2019-02-22 12:12:21 +01:00
Ray
641895b5ba
Remove end-line spaces
2019-02-21 18:45:19 +01:00
Ray
75298b50fb
Corrected issue with OpenURL()
...
It was not working on Windows 10
2019-02-21 11:28:10 +01:00
Ray
bc86b0f78b
Corrected path issue
2019-02-14 00:06:05 +01:00
Ray
981be58d03
Corrected issue #750
2019-02-13 17:49:02 +01:00
Ray
e996fe2ff5
ADDED: GetClipboardText(), SetClipboardText()
2019-02-11 18:03:06 +01:00
Ray
c200642887
Review issue with aspect ratio...
...
...while using a RenderTexture combined with 3d mode
2019-02-04 17:10:12 +01:00
Rob Loach
d897e14161
Revert the screenWidth change
2019-01-23 20:08:51 -05:00
Rob Loach
feb6afcd61
Fix clang++ compilation errors
...
clang was complaining about the type conversions. For example...
```
node_modules/raylib-src/src/core.c:1888:15: error: cannot initialize a variable of type 'char *' with an
rvalue of type 'void *'
char *cmd = calloc(strlen(url) + 10, sizeof(char));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
2019-01-23 20:07:47 -05:00
Ray
3703430f57
Renamed ShowWindow() to UnhideWindow() -WIP-
...
Function provisional renaming... that's not the end of this issue...
2019-01-17 16:29:36 +01:00
Ray
a43f87e391
Crazy test
2019-01-16 17:25:48 +01:00
Ray
42bfa7e3ff
Make sure no parameters can be passed
2019-01-14 13:49:56 +01:00
Ray
e811279a75
Review code formatting on ColorFromHSV()
...
Following raylib notation rules
2019-01-14 13:49:17 +01:00
Demizdor
da1714f411
Added ColorFromHSV()
2019-01-14 12:49:00 +02:00
Ray
7132ba44db
Reviewed latest PR
2019-01-10 17:06:26 +01:00
Ray
56173d7cf4
Merge branch 'master' into window-visibility
2019-01-10 16:57:15 +01:00
Marco Lizza
6056a2a5cf
Reworking API upon suggestion.
2019-01-10 16:43:21 +01:00
Marco Lizza
a15251bcdb
Adding window visibility functions.
2019-01-10 14:55:19 +01:00
Marco Lizza
5adcc30a2e
Adding window visibility configuration flag.
2019-01-10 14:54:55 +01:00
Ahmad Fatoum
8bc4050377
Revert "core: workaround window not being rendered till moved on macOS Mojave"
...
This reverts commit 1fe6d9fc06
.
Because upstream GLFW now contains a fix.
2019-01-08 09:03:22 +01:00
raysan5
a41cc08f9b
Support screenshots and GIF capturing on Android and Web
2019-01-05 18:03:09 +01:00
raysan5
0bacc978c3
Corrected issue on web
2019-01-04 15:48:25 +01:00
raysan5
644eddda11
REMOVED: ShowLogo()
...
Same functionality could be achieved using FLAGS... but also considering removing raylib logo animation...
2019-01-03 13:55:59 +01:00
raysan5
d427f17210
REVIEWED some functions parameters
...
Decided to allow user to provide values directly instead of requiring a Vector2 struct, probably more confortable to use.
- SetMousePosition()
- SetMouseOffset()
- SetMouseScale()
2019-01-03 13:53:20 +01:00
ChrisDill
f9c43dc379
Mouse functions changed
...
- SetMouseScale changed to take in a Vector2.
- Added mouseOffset global which is used in mouse read functions.
2019-01-02 19:09:34 +00:00
ChrisDill
a707574f33
Default mouseScale fixed
...
- Didn't set X and Y values correctly.
2019-01-02 10:46:19 +00:00
ChrisDill
8933298864
Added SetMouseOffset
...
- Changed mouseScale to Vector2.
- Added SetMouseOffset to change XY of mouseScale.
2019-01-02 10:14:55 +00:00