1314 Commits

Author SHA1 Message Date
Thomas Bernard
4176f1f84b
fix commit for CROSSATARI 2019-02-09 03:52:01 +01:00
Thomas Bernard
83c660d0ea
remove Makefile.dep for good 2019-02-08 11:26:21 +01:00
Thomas Bernard
a0a4feb8b6
dependencies : add -MG option to ignore missing .h files 2019-02-08 11:24:32 +01:00
Thomas Bernard
b270f0d981
Automatically generate up-to-date dependencies
%.d files in obj directory
2019-02-08 11:19:23 +01:00
Thomas Bernard
063ece9d5b
"silent" build with make V=0 (default)
verbose build is enabled by
$ make V=1
2019-02-08 11:01:31 +01:00
Thomas Bernard
c3b8d1ab65
X11: fix Update_rect(0, 0, 0, 0) 2019-02-08 10:34:13 +01:00
Thomas Bernard
a633bd88dd
rewrite Move_cursor_with_constraints() to clip negative coordinates
also introduce Handle_mouse_btn_change() so we don't bother to
check everything when only the mouse button state changed
2019-02-08 10:32:48 +01:00
Thomas Bernard
546a6fecd2
SDL 1.2.x: capture mouse when button is pressed as well 2019-02-08 10:23:20 +01:00
Thomas Bernard
73f5f1d214
x11: capture pointer when a button is pressed 2019-02-05 10:02:10 +01:00
Thomas Bernard
463105b0d5
const on some global variable that don't change 2019-02-05 09:29:14 +01:00
Thomas Bernard
f8bfad2f34
Do not block in Get_input() when Quit_is_required is set 2019-02-05 09:29:09 +01:00
Thomas Bernard
48b9213da3
SDL2: process SDL_TEXTEDITING event 2019-02-05 00:26:09 +01:00
Thomas Bernard
394f78ac8a
Win32: process Horizontal wheel event 2019-02-05 00:26:09 +01:00
Thomas Bernard
b184a75c9e
win32 and SDL2: capture the mouse when the button is pressed 2019-02-05 00:25:59 +01:00
Thomas Bernard
cb315e4f0c
SDL/SDL2: pass SDL event by pointer, not copy... 2019-02-05 00:25:59 +01:00
Thomas Bernard
4c7c5bde77
SDL2, win32: properly handle negative mouse coordinates 2019-02-05 00:25:59 +01:00
Thomas Bernard
206c67e77c
move Set_mouse_position() to sdlscreen.c / win32screen.c / etc. 2019-02-05 00:25:59 +01:00
Thomas Bernard
d5645dec26
win32: SDL2 already calls OutputDebugString() 2019-02-05 00:25:59 +01:00
Thomas Bernard
3a809bb049
Make sure MOD_SHIFT, etc. have the right value 2019-02-02 16:20:23 +01:00
Thomas Bernard
981bcd37b4
Win32: redraw whole window when called with 0 width and height 2019-02-01 19:46:38 +01:00
Thomas Bernard
e72bb8cab1
Allow Windows Close (X) in more popup dialogs
- Settings
- Skins
- Copy Page
- Resolution
- Gradients
- Brush Effects
- Brush menu
- Effects
- Help / About
- Statistics
- Palette
- Palette Historgram
- 2nd palette menu
2019-02-01 01:09:50 +01:00
Thomas Bernard
79621855f9
Win32: fix non closing window when clicking the X
it wasn't getting out of the event polling loop
2019-01-31 22:52:53 +01:00
Thomas Bernard
774bd73602
Enable to close the application within the initial Anim/Layer dialog
we waited for a mouse or keyboard event but clicking
the close X of the window doesn't send any...
2019-01-31 22:52:53 +01:00
Thomas Bernard
ba82473ccc
improve gitlab pages : link to source package and windows installers 2019-01-30 16:43:23 +01:00
Thomas Bernard
41b857c739
Add a print-%: target, useful for debugging 2019-01-28 11:55:25 +01:00
Thomas Bernard
f0b38bd563
Makefile: improve setting of TTFLIBS TTFLOPT etc. 2019-01-28 11:55:07 +01:00
Thomas Bernard
08b2448e33
Do not need SDL Joystick module unless built with USE_JOYSTICK 2019-01-28 11:54:40 +01:00
Thomas Bernard
678a921f99
macOS: use libs from ../3rdparty/usr if possible 2019-01-28 11:52:49 +01:00
Thomas Bernard
8459266c47
Add MSVC project for SDL2 build + SDL2 unicode text input for win32 2019-01-25 15:11:29 +01:00
Thomas Bernard
371741544b
comments and error log in Readline_ex_unicode() 2019-01-25 15:11:29 +01:00
Thomas Bernard
1b43b58fdd
Error report in SDL 1.2.x Win32 Drag&Drop handling 2019-01-25 15:11:29 +01:00
Thomas Bernard
5377b8c9fe
enable to build WIN32CROSS=1 API=sdl2 2019-01-25 15:11:29 +01:00
Nic Soudée
228e651b4f Correct some spelling mistakes
Automaticaly --> Automatically
Invalide --> Invalid
Strech --> Stretch
allows to --> allows one to
attachement --> attachment
contraints --> constraints
inconsistant --> inconsistent
occured --> occurred
occurences --> occurrences
permits to --> permits one to
postion --> position
regularily --> regularly
transfered --> transferred
2019-01-24 08:32:58 -05:00
Thomas Bernard
75579a9456
Layer_preview_on(): reformat for clarity 2019-01-22 11:21:00 +01:00
Thomas Bernard
40dfa79612
fix Open_popup() bug introduced in f9dc0358c4bfe2b4bcc1bb23ed3c437a32d78bec 2019-01-22 11:10:22 +01:00
Thomas Bernard
24b197e6a6 Win32_Repaint(): only redraw the required rectangle 2019-01-22 10:04:58 +01:00
Thomas Bernard
e268753438
Win32: fix Update_status_line() 2019-01-22 09:31:10 +01:00
Thomas Bernard
5f9be332b4
Save_PNG_Sub(): add assert to check function arguments 2019-01-21 13:05:41 +01:00
Thomas Bernard
119618ae14
Save_PNG_Sub(): fix PNG saving
see http://pulkomandy.tk/projects/GrafX2/ticket/96
2019-01-21 13:05:41 +01:00
Thomas Bernard
8ebe6a8867
win32 : handling of mouse keyboard emulation + panning 2019-01-20 22:49:29 +01:00
Thomas Bernard
e2637097fb X11: handling of keyboard mouse emulation + mouse panning 2019-01-20 22:49:06 +01:00
Thomas Bernard
955ebb5932
move panning/Mouse emulation key handling to Handle_special_key_press() function 2019-01-20 22:48:21 +01:00
Thomas Bernard
8372736c98
fix compilation of Init_program() 2019-01-20 22:15:31 +01:00
Thomas BERNARD
2a503ba547 macOS: fix zip filename for Power Macs 2019-01-12 18:14:29 +01:00
Thomas Bernard
5d8c61e410
prepare v2.6 release 2019-01-10 09:40:57 +01:00
Adrien Destugues
843f8b8e63 Fix build on Haiku. 2019-01-09 21:18:02 +01:00
Thomas Bernard
0aca83d029
doxygen for T_BMP_Header + remove commented code in Test_BMP() 2019-01-09 09:47:01 +01:00
Thomas Bernard
dcfd0894e0 add support for PNG in BMP (BI_PNG) 2019-01-08 22:09:12 +01:00
Thomas Bernard
f35c6007c0
Simplify Load_BMP_Image() 2019-01-08 22:08:42 +01:00
Thomas Bernard
0b45bc5fc6
BMP: support bitmask of more than 8 bits 2019-01-08 22:06:31 +01:00