Thomas Bernard
cb2d479867
add GFX2_Get_Window_Handle() to get the win32 HWND
...
and use it
2018-07-02 11:38:51 +02:00
Thomas Bernard
6aaef13a6b
Fix readline for Win32 and SDL
2018-07-02 11:38:51 +02:00
Thomas Bernard
aa73e76e67
SDL2: readline.c uses SDL_TEXTINPUT unicode input text
2018-07-02 11:38:51 +02:00
Thomas Bernard
3e4f3d0313
WIP. build under Win32 without SDL
2018-07-02 11:38:51 +02:00
Thomas Bernard
4d86b8a0c1
change all references to SDLK_xxxxx to KEY_xxxx
...
+ some fixes
2018-07-02 11:38:51 +02:00
Thomas Bernard
77005eb780
use screen.h instead of sdlscreen.h, etc.
...
Create grafx2-win32 MSVC++ project
create keycode.h
various fixes
2018-07-02 11:38:51 +02:00
Thomas Bernard
92facef46d
Convert comments to UTF-8
...
most were encoded in Latin1 / CP1252
but a few lines in op_c.c were using IBM437/850 !
2018-06-26 11:37:19 +02:00
Adrien Destugues
5918435cd8
Fix haiku/gcc2 build.
2018-05-06 17:02:38 +02:00
Thomas Bernard
187c7d53e3
Fix a few warnings (from MS Visual Studio 2015)
2018-04-06 16:45:35 +02:00
Thomas Bernard
f32eacaa01
Make compilers happy, remove warnings...
...
unsigned/signed comparaison in miscfileformat.c
unused argument in readline.c
2018-03-05 09:22:03 +01:00
Thomas Bernard
60beebc9ac
fixes for MSVC non-standard C library
...
strcase => _stricmp
strncase => _strnicmp
strdup => _strdup
snprintf => _snprintf
a compliant snprintf() is supposed to be available
in MS Visual Studio 2015 and later
2018-02-20 15:45:45 +01:00
Thomas Bernard
fda4708756
implement Unicode Copy/Paster for win32
2018-02-20 15:45:45 +01:00
Thomas Bernard
6f48d7fefe
Add MSVC 2010 project file and a make the project compile
2018-02-20 15:45:45 +01:00
Thomas Bernard
339e37663f
readline.c: fix cursor display with unicode characters
2018-02-20 15:44:39 +01:00
Thomas Bernard
144d10b682
Support Unicode Keyboard Input
2018-02-20 15:44:39 +01:00
Thomas Bernard
689aebf264
Unicode support in keyboard editable field for filename
2018-02-20 15:44:39 +01:00
Adrien Destugues
a321c4c785
Fix building with MinGW from Linux
2017-05-08 09:33:01 +02:00
Adrien Destugues
78fcc648c3
Partial merge of the SDL2 branch into trunk
...
* Mainly get the cleanup of window drawing functions.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2102 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-03-02 13:44:18 +00:00
Adrien Destugues
61c8dca353
Add a port to the GCW Zero, contributed by David Knight.
...
Untested since I don't have the hardware.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2080 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-02-10 20:13:57 +00:00
Yves Rizoud
1248100ae9
Integrate path fix from Android port (tnanks a lot Pelya)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2071 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2014-03-30 17:31:05 +00:00
Yves Rizoud
69f24bc69f
Text tool: Fix issue 487 (pasting from clipboard 'resurrects' older long string) and fix a mouse cursor dropping.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2009 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-25 22:27:02 +00:00
Yves Rizoud
144a28412b
Issue 453 : Virtual keyboard setting
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1999 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-18 23:41:55 +00:00
mazzearos
18886d86cb
Added clipboard support for AROS.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1976 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-08-02 22:10:04 +00:00
mazzearos
c68f05cda5
Some fixes for AROS:
...
src/text.c: Added path for truetype fonts.
src/Makefile: Create GrafX2 binary in the root directory. This allows
running without any prior installation.
src/readline.c: Added ':' to the forbidden charactersS.
src/const.h: Use '/' as indicator for parent directory.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1972 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-08-02 13:02:00 +00:00
Adrien Destugues
235f7d4d1c
Just fix some warnings for Haiku as well.
...
One of them was a missing prototype, the other was likely some strangeness in the definition of size_t.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1953 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-05-12 11:48:39 +00:00
Yves Rizoud
bbd0d0114c
Fix an error in previous commit. Zero warnings on Windows too (Mingw, gcc 4.4.1-TDM)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1946 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-05-03 22:46:04 +00:00
Yves Rizoud
d8bb1e1d55
Fix some mostly harmless warnings and re-generated dependencies. Now compiles with zero warnings on Linux (gcc 4.1.2)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1945 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-05-03 21:32:59 +00:00
Yves Rizoud
775ee56ed0
Paste in Text tool: fix a graphic overflow.
...
Palette reduce: use DawnBringer's formula for color likeness
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1837 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-10-01 19:26:13 +00:00
Yves Rizoud
db3293060f
Clipboard paste: Support carriage returns and characters 128-255
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1836 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-09-27 00:03:16 +00:00
Adrien Destugues
242c73f4c3
Validate pasted strings.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1830 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-09-25 13:40:22 +00:00
Adrien Destugues
87b7c45da4
Respect cursor position when pasting.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1829 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-09-25 12:03:06 +00:00
Adrien Destugues
d34c3d9df5
Clipboard paste support for Haiku.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1828 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-09-25 11:48:37 +00:00
Adrien Destugues
afa22ae0ac
Experimental "paste" support for text fields.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1827 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-09-25 08:45:48 +00:00
Franck Charlet
c1ede1f657
started to bring Mac OS X version up to date
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1751 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-10 18:29:53 +00:00
Yves Rizoud
65d34dd7e0
Issue 346: Basic support for multi-line text with bitmap fonts: use alt-enter to type carriage returns (like Excel)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1737 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-26 18:44:43 +00:00
Yves Rizoud
a28f574b3b
Virtual keyboard for numeric entry
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1637 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-10-07 18:57:44 +00:00
Yves Rizoud
5fd72996c3
Virtual keyboard for string input
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1636 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-10-02 19:05:30 +00:00
Yves Rizoud
520da7d168
Reverted the change of input system (mostly, still needs more testing) Changed color cycling so it no longer needs a separate thread.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1581 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-08-19 00:33:06 +00:00
Yves Rizoud
951ec2d48a
Still work on SDL events. Airbrush seems to work. Need to do repeatable buttons.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1565 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-08-08 19:59:17 +00:00
Yves Rizoud
7a46da32d5
Support for hexa text input (internal)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1522 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-06-24 19:31:26 +00:00
Yves Rizoud
f06dbc1389
Settings: Can now input numbers. Helpfile redone from scratch. Can use mouse wheel.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1462 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-24 18:49:44 +00:00
Yves Rizoud
3ca5322379
Reorganized source code and directory tree.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1375 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-05 02:53:19 +00:00