Thomas Bernard
d0864d5fbf
win32: ignore 0xFF virtual keyboard code
2018-09-18 12:44:48 +02:00
Thomas Bernard
60b2a7d67b
Win32: add some funky keys labels (Email key, etc.)
2018-09-18 12:44:05 +02:00
Thomas Bernard
77e53d3b18
Win32: better handling of AltGr key
2018-09-18 11:41:34 +02:00
Thomas Bernard
0408eb487e
Win32: labels for '<>' and '\!§' keys
2018-09-18 11:34:51 +02:00
Thomas Bernard
3972d977a7
SDL2: fix name of keys which SDLK_ is based on scancode
2018-09-16 22:03:48 +02:00
Thomas Bernard
2c9b1b7bb1
X11: properly ignore Shift/ctrl/alt/win keystrokes alone
2018-09-16 22:02:03 +02:00
Thomas Bernard
de5877f54a
Show the "MENU" key
...
https://en.wikipedia.org/wiki/Menu_key
2018-09-16 21:59:43 +02:00
Thomas Bernard
5370670b10
Use different .cfg files depending on GUI API used
...
SDL1 => gfx2.cfg
SDL2 => gfx2-sdl2.cfg
Win32 => gfx2-win32.cfg
X11 => gfx2-x11.cfg
defaults to gfx2.cfg
2018-09-16 19:53:39 +02:00
Thomas Bernard
b4005cbcb3
Win32: fix window keys
2018-09-16 00:23:21 +02:00
Thomas Bernard
9f82984896
Fix Win32 keyboard input of CTRL/ALT/Shift keys
...
CTRL/ALT/SHIFT keys alone should be ignored
add WM_SYSKEYDOWN event which is called when ALT is pressed
2018-09-16 00:23:19 +02:00
Thomas Bernard
65c761345f
fix: MSVC defines _DEBUG, not DEBUG
2018-09-16 00:23:13 +02:00
Thomas Bernard
dc49ed4698
fix replacement of extension in unicode filename
2018-09-15 14:17:54 +02:00
Thomas Bernard
44f24b3508
Change the way we change to bookmarked directories
...
fixes http://pulkomandy.tk/projects/GrafX2/ticket/12
2018-09-15 13:59:52 +02:00
Thomas Bernard
c65f9f8903
Prepare_and_display_filelist() can optionnaly update filename
2018-09-15 12:18:14 +02:00
Thomas Bernard
12050cd068
update Find_file_in_fileselector() to return -1 when not found
2018-09-15 11:11:48 +02:00
Thomas Bernard
16799113fc
properly keep filename when changing extension in the SAVE file selector
...
unicode string was not restored
2018-09-14 20:43:37 +02:00
Thomas BERNARD
cafa261265
display libpng and recoil version in statistics
2018-09-14 18:09:49 +02:00
Thomas BERNARD
00cbe729b2
fix NO_X11 option support
2018-09-14 17:23:52 +02:00
Thomas BERNARD
1d1be59ec1
OS X: support building with NO_X11 option
2018-09-14 17:22:57 +02:00
Thomas BERNARD
7cf404904c
X11: build when GenericEvent is not defined
2018-09-14 17:22:02 +02:00
Thomas Bernard
42c2b6af26
fix multiline titles
...
such as
FILLED CIRCLES
AND ELLIPSES
doc/html/grafx2_36.html
or
ADJUST OR TRANSFORM
PICTURE
doc/html/grafx2_25.html
2018-09-06 17:54:43 +02:00
Thomas Bernard
6ae8d8153b
Write Help as HTML files
...
specific binary to generate HTML doc : bin/generatedoc
see http://pulkomandy.tk/projects/GrafX2/ticket/8
2018-09-06 17:49:52 +02:00
Thomas Bernard
ee70156802
fix Key_name() for x11
2018-09-06 17:41:20 +02:00
Nic Soudée
0953bc1f9b
Fix bug in -help video mode listing
...
The mode_index is being incremented by 12, but we are
only displaying 6 video modes per line. This results in
the "Available video modes" listing to ignore half of the
valid video modes.
2018-08-16 09:15:57 -04:00
Nic Soudée
78d99fd337
Move command line analysis down a bit
...
This is necessary so that the list of available video modes
is populated, making the -mode parameter work again.
2018-08-16 09:14:33 -04:00
Thomas Bernard
995f9182fe
Fix the test for Linux or NetBSD to not add -liconv
...
fix 244e856e9ff23bbb855e4e6b2d22d7cb9856a632 which broke on FreeBSD
2018-07-27 14:39:59 +02:00
Thomas Bernard
72972a8b49
doxygen comments in main.c.
...
Includes the mainpage section
2018-07-27 14:29:25 +02:00
Thomas Bernard
56df5080a5
filesel.c/.h: improvements in doxygen
...
Translated a few comments from French to English.
also improved the code slightly
2018-07-27 14:29:25 +02:00
Thomas Bernard
560cde7041
improve doxygen comments of gfx2surface.h
2018-07-27 14:29:25 +02:00
Thomas Bernard
11b2b609ed
readline: improve doxygen comments
2018-07-27 14:29:25 +02:00
Thomas Bernard
65564d653f
Generate doxygen doc in doc/doxygen with make
2018-07-27 14:29:25 +02:00
Ryo ONODERA
244e856e9f
Fix build under NetBSD with native X.org (/usr/X11R7) and modular X.org (/usr/pkg)
...
* Use pkg-config for X.org
* Exclude -liconv for NetBSD too
* sysctl(3) of NetBSD requres _NETBSD_SOURCE
2018-07-24 23:58:20 +09:00
Thomas Bernard
715bda292b
silence a warning
2018-07-20 12:27:58 +02:00
Thomas Bernard
88430bb92f
Add NO_X11 option at compiletime to disable X11 specific stuff with SDL driver
...
just compile with
$ NO_X11=1 make
2018-07-20 12:26:52 +02:00
Thomas Bernard
6ec72f6b71
check for X11_display when using SDL
...
SDL can be using another video driver
2018-07-20 12:19:34 +02:00
Thomas Bernard
146694d3c1
SDL_DROPTEXT, SDL_DROPBEGIN, and SDL_DROPCOMPLETE are available since SDL 2.0.5.
2018-07-17 01:09:04 +02:00
Thomas Bernard
d7c6193c21
SDL/x11 : make Copy/Paste and Drag&Drop work
2018-07-17 01:09:04 +02:00
Thomas Bernard
8ec57abf88
use SDL2 clipboard (not with Win32)
2018-07-17 01:09:04 +02:00
Thomas Bernard
0843bd6a3c
use SDL2 Drop Event when available
...
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-17 01:09:04 +02:00
Thomas Bernard
82ef08a01e
win32: enable antialisaing with TTF fonts
2018-07-16 14:39:27 +02:00
Thomas Bernard
05d6a4b3dd
properly handle long filenames of preloade files
2018-07-16 14:39:25 +02:00
Thomas Bernard
e36a62abe3
Fix Key_name() for win32
2018-07-16 14:39:23 +02:00
Thomas Bernard
129c0ae550
fix in Render_text_SFont()
2018-07-12 20:42:30 +02:00
Thomas Bernard
4978a7cfe2
convert Warning() and DEBUG() to GFX2_Log()
2018-07-12 20:41:49 +02:00
Thomas Bernard
90bcffa9e2
x11: update screen after set palette
2018-07-12 19:11:39 +02:00
Thomas Bernard
13dc203eaf
remove leftover printf
2018-07-12 19:11:39 +02:00
Thomas Bernard
733a3cd0fb
minor fixes
2018-07-12 19:11:39 +02:00
Thomas Bernard
7fb77f85f1
Add GFX2_Log() function
2018-07-12 19:11:39 +02:00
Thomas Bernard
221515e663
Load_PNG() : read Comment tEXt in addition to Title
2018-07-12 11:54:29 +02:00
Thomas Bernard
3bdd69c523
Save_PNG(): use PNG_RESOLUTION_UNKNOWN in pHYs chunk
2018-07-12 11:54:12 +02:00