13aa8e0988Support for two shortcuts per function
Yves Rizoud
2009-02-05 22:58:13 +00:00
ca2e12ff00A million fixes in operations' cursor display. Oh gods I wake up in 4 am.
Yves Rizoud
2009-02-05 01:24:02 +00:00
266145cd0aMenus: Implemented 'repeatable buttons' that work like slider arrows. Used for [+] [-] in Palette and Text, and for the arrow buttons that scroll Sieve pattern.
Yves Rizoud
2009-02-04 20:34:53 +00:00
16b405ccfeFixes some little bugs with Attendre_fin_de_click.
Adrien Destugues
2009-02-04 20:30:02 +00:00
211e88e2bcAdded iLKke and Timo to the bugfinders list.
Adrien Destugues
2009-02-04 20:19:24 +00:00
0cf4597a03Buttons: Now you can 'cancel' a click by dragging the mouse outside of the button before releasing click, pretty much like a Windows button.
Yves Rizoud
2009-02-04 19:43:15 +00:00
5992013629Fixes buttons being depressed on mouse press
Adrien Destugues
2009-02-04 18:29:07 +00:00
f90af64c83Disables keyboard on "Attendre_fin_de_clic", so we no longer need to empty the event loop.
Adrien Destugues
2009-02-04 18:21:48 +00:00
00b67c23efFixes missing refresh on color select with keyboard shortcut
Adrien Destugues
2009-02-04 17:58:57 +00:00
da942a7021Support for ESC shortcut on GP2X (button X)
Yves Rizoud
2009-02-04 01:27:04 +00:00
aaec8fd8a5Same with 'end' key
Yves Rizoud
2009-02-04 00:26:23 +00:00
bb7f09fc8eFix CRASH in Help screen, when pressing PageDown in pages of less than 16 lines. Bug is present in 98.0% release:( Internal support for action shortcuts on joystick buttons, mousewheel, mouse3. Mousewheel now scrolls lists in Save/Load, Text, Help.
Yves Rizoud
2009-02-04 00:23:27 +00:00
0c26dc6459Contourfill now uses a kind of 'additive XOR' lines : Pixels stay marked even if you pass over them several times.
Yves Rizoud
2009-02-03 21:58:25 +00:00
306752eaebFixed Contour to allow drawing single pixels
Yves Rizoud
2009-02-03 01:18:28 +00:00
599e835e28Fix the clipping of mouse cursor. Fix joystick buttons not causing action if no mouse movement.
Yves Rizoud
2009-02-03 00:20:37 +00:00
5a80cdae44Fixed the double icons having their diagonal not shaded on selection. Fixed the Ellipse / Grad ellipse icon graphics (were quite off-centered) Some tidy-up of input.c
Yves Rizoud
2009-02-02 23:09:06 +00:00
1150dcea21Implemented basic joystick control : dir+AB on most platforms, pad+AB on GP2X Implemented accelerating cursor with joystick / kb cursor Fixed up the contextual help, somehow
Yves Rizoud
2009-02-02 18:22:23 +00:00
db02be0e41Fix the Contour not advancing the backup/redo status. Fix the polygon filling (used in 3 tools) to include all the right pixels. whoo! Fix the operations' cursors, that I broke when I added Contour.
Yves Rizoud
2009-02-02 00:53:07 +00:00
4349fd71a3Contour fill (issue 90), 4th mode of continuous drawing. However, there is a rendering problem from the original polygon tool: the bottom pixels are not drawn.
Yves Rizoud
2009-02-01 23:15:24 +00:00
778d2fccdeAdded icons for alternative functions (issue 91) Fixed some input problem I introduced in recent revision
Yves Rizoud
2009-02-01 22:44:05 +00:00
c0b95295aeCorrect handling of multi-button for spray and freehand.
Adrien Destugues
2009-02-01 15:03:16 +00:00
0b2bbacf37Small keyboard fix, and re-computed the dependencies.
Yves Rizoud
2009-01-31 15:42:22 +00:00
6dd54a1686Some fixes to get_input : allows to move windows. Touche is now resetted to 0 only when a shortcut is processed. So you can let it at the key value for cursor moves, for example. But it does not work, i must have missed something :/
Adrien Destugues
2009-01-31 11:33:18 +00:00
8ba5bc178aObfuscated e-mail addresses in source code for credits
Yves Rizoud
2009-01-28 23:26:32 +00:00
67017228f2Fixed the characters in Smooth window (shift-F8) and the string-editing cursor, both were drawn rotated 90degrees :)
Yves Rizoud
2009-01-28 23:11:03 +00:00
a38f08d2bbFix the close button requiring an extra click somewhere (on win9x at least)
Yves Rizoud
2009-01-28 22:47:13 +00:00
0ba7bd048dSome cleanups to the "credits" help page, as it felt a little bit messy.
Adrien Destugues
2009-01-28 22:34:20 +00:00
91d4dc20b9Fixes for compiling under freebsd
Adrien Destugues
2009-01-28 22:12:28 +00:00
a15de98314Default filename is now in .gif instead of .pkm
Yves Rizoud
2009-01-28 19:45:38 +00:00
11bc1066baFixes window resize and key repeat. New key behaviour : the Touche will containe the last key pressed, until it is released. This can be problematic in some places, but i'm not sure. The other possibility is to unset it when entering get_input to get the old behaviour and rely on the key repeat.
Adrien Destugues
2009-01-28 18:43:27 +00:00
4d62d6f93fFixed some bugs with mouse clicks. Also added a debug info when an unhandled sdl event occurs. It seems there are events when the window is focused and unfocused, for example. We may use them to hide and display back our software cursor.
Adrien Destugues
2009-01-28 18:32:46 +00:00
e302f2d26agfx2.dat is now replaced by an editable "skin" file: 'gfx2gui.gif', and a reference INI file: 'gfx2def.ini'.
Yves Rizoud
2009-01-27 00:10:02 +00:00
c018c13352First "working" version of new get_input... buggy, but i'm working on it
Adrien Destugues
2009-01-26 11:07:36 +00:00
8cd2e476f5Add installer script for windows (NSIS). Made for the 98.0 svn482 package
Yves Rizoud
2009-01-24 23:41:28 +00:00
840d26cd17Fixed: When the last resize was by the 'safe resolution' button, on exit the program recorded the previous window size instead.
Yves Rizoud
2009-01-24 15:19:28 +00:00
bcc835f251New input handler. Still work in progress and unused, but it's time to sleep for me :)
Adrien Destugues
2009-01-21 23:02:00 +00:00
e814096a51We don't need this one either
Adrien Destugues
2009-01-21 19:11:46 +00:00
1570975949Removing the english doc since it has been moved inside the wiki.
Adrien Destugues
2009-01-21 19:10:50 +00:00
9cc7eb694c"Liste_Nb_Repertoires" needs a lowercase "r".
Pete Gordon
2009-01-21 18:07:39 +00:00
2e68ad55bfRemove some more useless files.
Adrien Destugues
2009-01-21 16:42:52 +00:00
73cd2e4e5dRemove some old useless files, and add a png format icon for linux (wich does not like ico too much).
Adrien Destugues
2009-01-21 15:03:19 +00:00
3ff77f068b- Fixed a compilation warning under macosx.
Franck Charlet
2009-01-21 00:26:29 +00:00
0f2d642847Amiga systems use / and not .. for parent dir. Takes this into account...
Adrien Destugues
2009-01-20 18:33:50 +00:00
fec8d023e9Small fixes reported by the builders for MorphOS and AROS. Thanks to you both :)
Adrien Destugues
2009-01-20 16:17:36 +00:00
3fb7800824Small fixes to mountlist.c for beos and skyos. Apparently they went lost some time ago...
Adrien Destugues
2009-01-19 18:59:31 +00:00
f2d8cbbfe1unfixed Attendre_fin_de_click, works better when buggy in fact :D
Adrien Destugues
2009-01-15 21:13:40 +00:00
4e0cdaef12Readme: Mostly reordered history and added raough dates, and added some license details.
Yves Rizoud
2009-01-15 21:03:34 +00:00
e6602b2e15Fixes small missing refresh in the palette sceen. Add back the old readmes.
Adrien Destugues
2009-01-15 19:38:23 +00:00
fcfe85258cNew up to date end-user readme file. Feel free to add/change/correct/whatever :)
Adrien Destugues
2009-01-15 18:39:01 +00:00
1b3489bb96Removes a call to Wait_VBL and replaces it by SDL_Delay
Adrien Destugues
2009-01-14 16:36:38 +00:00
dc4abe6245Added palette constraint modes: Run the program with command-line option "/rgb <N>" to force RGB components have N levels instead of 256. Ex: /rgb 16 enforces a classic Amiga 4096 color palette, 64 is PC VGA, /rgb 3 is Amstrad CPC...) Added missing messages for /wide and /tall command-line arguments.
Yves Rizoud
2009-01-13 23:48:33 +00:00
0c245896c5Use GIF as the default format, as PKM can't save the whole palette range.
Adrien Destugues
2009-01-12 11:52:01 +00:00
53c2936697Attendre_fin_de_click could return if the event queu was empty while the button was still pressed. Now fixed.
Adrien Destugues
2009-01-12 10:32:36 +00:00
ab5f789fdfMostly some cleanups. Also added two experimetal functions, Ouvrir_popup and Fermer_popup, and started to implement a (commented) example popup menu for selecting freehand draw mode. But it seems there are problem if doing a while(Mouse_K), Mouse_K seems to be reset when the mouse moves, or in some other place. Time to sleep so i'll continue that tomorrow.
Adrien Destugues
2009-01-11 21:59:10 +00:00
7c4d2675ad- Modified mountlist.c to operate on MacOSX. - Also fixed a bug in init.c: !strcmp(Liste_points_montage->me_mountdir,"/") && !strcmp(Liste_points_montage->me_mountdir,"/home") should have been strcmp(Liste_points_montage->me_mountdir,"/") && strcmp(Liste_points_montage->me_mountdir,"/home") since root & home are already added before (strcmp returns 0 if strings match).
Franck Charlet
2009-01-11 03:26:03 +00:00
cd1c720029Fix in makefile ('strip' command)
Yves Rizoud
2009-01-11 01:45:14 +00:00
ba8ee723feFixed refresh problems in brush rotate and brush stretch, when screen was zoomed or scrolled. The buttons in the screens FX and Brush FX now use the same shortcuts as when drawing. The help screens for FX and Brush FX now show the keyboard shortcuts of all functions.
Yves Rizoud
2009-01-11 00:41:20 +00:00
b73d8b03dcThe Spray tool no longer lags when you use a >0 delay setting. Delay is now expressed in 1/100s, with range 0-99
Yves Rizoud
2009-01-10 17:28:38 +00:00
0b801a28c8Fixes a severe memory leak, up to 200Kb every time you closed a window. oops! Fixes a missing refresh when you initiate window dragging.
Yves Rizoud
2009-01-10 15:41:56 +00:00
d287384d93- Fixed the Amiga volumes stuff in init.c, although i think it should be removed again since it is impossible to differentiate between volumes using only a single character.
Pete Gordon
2009-01-08 13:57:25 +00:00
839ffaafd9sorry, we still need some tabs here :)
Adrien Destugues
2009-01-05 23:01:39 +00:00
154f5e824aFixes all the tabulation problems.
Adrien Destugues
2009-01-05 22:55:30 +00:00
bdf86b06a8More joystick fixes and some patches to the makefile (we need a different name for the strip binary when cross compiling). Please update your platform with new STRIP = strip line ...
Adrien Destugues
2009-01-05 22:23:57 +00:00
8c0475c43eSimple joystick support. Should be made configurable and all the gp2x buttons could be used as shortcuts.
Adrien Destugues
2009-01-05 22:00:23 +00:00
132eabcde5Some work on a port for the gp2x. Runs up to the splashscreen, but as there is no mouse i have to make the program usable with a joystick.
Adrien Destugues
2009-01-05 21:12:46 +00:00
c130a327d1Complements of r458 for windows build
Yves Rizoud
2009-01-05 19:35:27 +00:00
806e491650Little fix for AROS linking
Adrien Destugues
2009-01-05 15:32:29 +00:00
2c8fe249e6Adds a listing of all the mountpoints under linux. I used a piece of code from gnulib, but i'm not sure it's a very good idea. It works for me and should be easy to adapt for many other platforms. This may need some tweaking to work also under beos and skyos (and possibly other unix-like), but if not done, the function will be compiled empty and will not harm anyone. Also, cleans some warnings that occurs with -pedantic -c99 options to gcc, and some little things pointed by splint.
Adrien Destugues
2009-01-05 15:26:59 +00:00
36a99a8fc2added morphos port to the helpscreen
Adrien Destugues
2009-01-04 21:47:15 +00:00
5971f4c9e3MorphOS port, and some tweaks to the config tool to make it look a little bit less ugly. We should probably use a better color palette for it anyways.
Adrien Destugues
2009-01-04 20:41:22 +00:00
159d623f44Sliders no longer lag the mouse cursor, and the delay stops when you release one mouse button or click the other.
Yves Rizoud
2009-01-04 16:18:29 +00:00
94e26e5764Replaces GLOBAL by GFX2_GLOBAL in graph.h, because it conflicted with something in MorphOS. Anyways, this GLOBAL thing looks quite ugly, maybe we should clean it up in some way... is there a better way to do the same thing ?
Adrien Destugues
2009-01-03 15:20:00 +00:00
8f66a5905dDiscards mouse moved event if the calculated X and Y did not changed (can happen in zoomed mode because we are dividing the coords)
Adrien Destugues
2009-01-02 11:06:22 +00:00
8fe10d38dcMSDOS text format problem again. Sorry. Will try and be more careful with this... :-/
Pete Gordon
2008-12-31 21:52:24 +00:00
c582a90500Fixed a bug where the graphics would get sometimes trashed when resizing the window. I fixed it by forcing the width to a multiple of 16 instead of 4 (only for OS4).
Pete Gordon
2008-12-31 21:50:33 +00:00
0b7b96ae75Enabled TTF fonts in OS4 build, scans system default directory for TTF files.
Pete Gordon
2008-12-31 21:36:47 +00:00
232ed1041dEndian fixed Save_BMP
Pete Gordon
2008-12-31 11:44:41 +00:00
e41f494abaOoooops! I used an editor that didn't cope with MSDOS text file format and so messed up io.h's layout. Fixed it now. Sorry!
Pete Gordon
2008-12-31 11:07:08 +00:00
be5422f7adFINALLY fixed the load/save bugs in OS4. It was just a stupid mistake in io.h... wrong seperator!
Pete Gordon
2008-12-31 11:04:35 +00:00
761f872ee2A couple of changes to let it build again for OS4.
Pete Gordon
2008-12-31 10:16:08 +00:00
d6ef5ddd95Added pete's mail to the helpscreen.
Adrien Destugues
2008-12-31 09:18:34 +00:00
7a3887f4f0Fix the Brush Resize&Rotate keyboard shortcuts, after use they were blocking mouse clicks
Yves Rizoud
2008-12-31 00:24:16 +00:00
449ffdf721Fix one more case of X/Y printing (this one described in issue 67 comment 14)
Yves Rizoud
2008-12-29 20:40:03 +00:00
95c69faec1Hopefully fixed all the problems related to the coord display in the status bar.
Adrien Destugues
2008-12-29 18:22:06 +00:00
0c8bd5e0d4Fixes the makefile.
Adrien Destugues
2008-12-29 18:02:04 +00:00
30184d82e9Some more fixes for AROS build.
Adrien Destugues
2008-12-29 17:15:56 +00:00
57c875df3dFix issue 60 : Wrong spacing in Text when using bitmap fonts.
Yves Rizoud
2008-12-28 19:44:17 +00:00
3be825e40dRemoved setting "Show system directories" in gfx2.ini. In the default configuration (for new users), changed the number of Undo pages from 1 to 4.
Yves Rizoud
2008-12-28 14:58:35 +00:00