Commit Graph

  • 13aa8e0988 Support for two shortcuts per function Yves Rizoud 2009-02-05 22:58:13 +00:00
  • ca2e12ff00 A million fixes in operations' cursor display. Oh gods I wake up in 4 am. Yves Rizoud 2009-02-05 01:24:02 +00:00
  • 266145cd0a Menus: 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
  • 16b405ccfe Fixes some little bugs with Attendre_fin_de_click. Adrien Destugues 2009-02-04 20:30:02 +00:00
  • 211e88e2bc Added iLKke and Timo to the bugfinders list. Adrien Destugues 2009-02-04 20:19:24 +00:00
  • 0cf4597a03 Buttons: 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
  • 5992013629 Fixes buttons being depressed on mouse press Adrien Destugues 2009-02-04 18:29:07 +00:00
  • f90af64c83 Disables 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
  • 00b67c23ef Fixes missing refresh on color select with keyboard shortcut Adrien Destugues 2009-02-04 17:58:57 +00:00
  • da942a7021 Support for ESC shortcut on GP2X (button X) Yves Rizoud 2009-02-04 01:27:04 +00:00
  • aaec8fd8a5 Same with 'end' key Yves Rizoud 2009-02-04 00:26:23 +00:00
  • bb7f09fc8e Fix 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
  • 0c26dc6459 Contourfill 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
  • daf5f99979 Makefile fixes (ziprelease) Yves Rizoud 2009-02-03 01:34:26 +00:00
  • 306752eaeb Fixed Contour to allow drawing single pixels Yves Rizoud 2009-02-03 01:18:28 +00:00
  • 599e835e28 Fix 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
  • 5a80cdae44 Fixed 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
  • 1150dcea21 Implemented 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
  • db02be0e41 Fix 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
  • 4349fd71a3 Contour 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
  • 778d2fccde Added 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
  • c0b95295ae Correct handling of multi-button for spray and freehand. Adrien Destugues 2009-02-01 15:03:16 +00:00
  • 0b2bbacf37 Small keyboard fix, and re-computed the dependencies. Yves Rizoud 2009-01-31 15:42:22 +00:00
  • 6dd54a1686 Some 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
  • 0f4776d4a6 fix harmless signedness warnings Yves Rizoud 2009-01-29 21:03:07 +00:00
  • 03c0b0d20a PNG saving. Text data are saved: 'Software'='GrafX2', 'Title'=<image comment> Yves Rizoud 2009-01-29 19:59:13 +00:00
  • 920e19b298 Moved save/load functions out of global.h Yves Rizoud 2009-01-29 18:23:13 +00:00
  • ac28a82d8e png: better error checking Yves Rizoud 2009-01-29 17:07:03 +00:00
  • 0575684810 PNG loading. Don't try saving yet, it's pkm-saving code Yves Rizoud 2009-01-29 17:01:02 +00:00
  • 8ba5bc178a Obfuscated e-mail addresses in source code for credits Yves Rizoud 2009-01-28 23:26:32 +00:00
  • 67017228f2 Fixed 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
  • 369e3a4dcd fix kb emulation 'up' Yves Rizoud 2009-01-28 22:48:50 +00:00
  • a38f08d2bb Fix the close button requiring an extra click somewhere (on win9x at least) Yves Rizoud 2009-01-28 22:47:13 +00:00
  • 0ba7bd048d Some cleanups to the "credits" help page, as it felt a little bit messy. Adrien Destugues 2009-01-28 22:34:20 +00:00
  • 91d4dc20b9 Fixes for compiling under freebsd Adrien Destugues 2009-01-28 22:12:28 +00:00
  • a15de98314 Default filename is now in .gif instead of .pkm Yves Rizoud 2009-01-28 19:45:38 +00:00
  • 11bc1066ba Fixes 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
  • 4d62d6f93f Fixed 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
  • b861fe558d No longer need 'dat' utility programs Yves Rizoud 2009-01-27 00:34:27 +00:00
  • e302f2d26a gfx2.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
  • c018c13352 First "working" version of new get_input... buggy, but i'm working on it Adrien Destugues 2009-01-26 11:07:36 +00:00
  • 8cd2e476f5 Add installer script for windows (NSIS). Made for the 98.0 svn482 package Yves Rizoud 2009-01-24 23:41:28 +00:00
  • 840d26cd17 Fixed: 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
  • bcc835f251 New 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
  • e814096a51 We don't need this one either Adrien Destugues 2009-01-21 19:11:46 +00:00
  • 1570975949 Removing 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
  • 2e68ad55bf Remove some more useless files. Adrien Destugues 2009-01-21 16:42:52 +00:00
  • 73cd2e4e5d Remove 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
  • 0f2d642847 Amiga systems use / and not .. for parent dir. Takes this into account... Adrien Destugues 2009-01-20 18:33:50 +00:00
  • fec8d023e9 Small fixes reported by the builders for MorphOS and AROS. Thanks to you both :) Adrien Destugues 2009-01-20 16:17:36 +00:00
  • 3fb7800824 Small 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
  • f2d8cbbfe1 unfixed Attendre_fin_de_click, works better when buggy in fact :D Adrien Destugues 2009-01-15 21:13:40 +00:00
  • 4e0cdaef12 Readme: Mostly reordered history and added raough dates, and added some license details. Yves Rizoud 2009-01-15 21:03:34 +00:00
  • e6602b2e15 Fixes small missing refresh in the palette sceen. Add back the old readmes. Adrien Destugues 2009-01-15 19:38:23 +00:00
  • fcfe85258c New up to date end-user readme file. Feel free to add/change/correct/whatever :) Adrien Destugues 2009-01-15 18:39:01 +00:00
  • 1b3489bb96 Removes a call to Wait_VBL and replaces it by SDL_Delay Adrien Destugues 2009-01-14 16:36:38 +00:00
  • dc4abe6245 Added 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
  • 0c245896c5 Use GIF as the default format, as PKM can't save the whole palette range. Adrien Destugues 2009-01-12 11:52:01 +00:00
  • 53c2936697 Attendre_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
  • ab5f789fdf Mostly 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
  • cd1c720029 Fix in makefile ('strip' command) Yves Rizoud 2009-01-11 01:45:14 +00:00
  • ba8ee723fe Fixed 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
  • b73d8b03dc The 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
  • 0b801a28c8 Fixes 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
  • f3c63fe785 Smoother joystick to cursor move conversion. Adrien Destugues 2009-01-06 13:41:57 +00:00
  • 839ffaafd9 sorry, we still need some tabs here :) Adrien Destugues 2009-01-05 23:01:39 +00:00
  • 154f5e824a Fixes all the tabulation problems. Adrien Destugues 2009-01-05 22:55:30 +00:00
  • bdf86b06a8 More 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
  • 8c0475c43e Simple 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
  • 132eabcde5 Some 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
  • c130a327d1 Complements of r458 for windows build Yves Rizoud 2009-01-05 19:35:27 +00:00
  • 9cb5818bec List volumes on amiga platforms. warning, untested code ! Adrien Destugues 2009-01-05 16:14:39 +00:00
  • 806e491650 Little fix for AROS linking Adrien Destugues 2009-01-05 15:32:29 +00:00
  • 2c8fe249e6 Adds 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
  • 36a99a8fc2 added morphos port to the helpscreen Adrien Destugues 2009-01-04 21:47:15 +00:00
  • 5971f4c9e3 MorphOS 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
  • 159d623f44 Sliders 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
  • 94e26e5764 Replaces 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
  • 8f66a5905d Discards 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
  • 8fe10d38dc MSDOS text format problem again. Sorry. Will try and be more careful with this... :-/ Pete Gordon 2008-12-31 21:52:24 +00:00
  • c582a90500 Fixed 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
  • 0b7b96ae75 Enabled TTF fonts in OS4 build, scans system default directory for TTF files. Pete Gordon 2008-12-31 21:36:47 +00:00
  • 232ed1041d Endian fixed Save_BMP Pete Gordon 2008-12-31 11:44:41 +00:00
  • e41f494aba Ooooops! 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
  • be5422f7ad FINALLY 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
  • 761f872ee2 A couple of changes to let it build again for OS4. Pete Gordon 2008-12-31 10:16:08 +00:00
  • d6ef5ddd95 Added pete's mail to the helpscreen. Adrien Destugues 2008-12-31 09:18:34 +00:00
  • 7a3887f4f0 Fix the Brush Resize&Rotate keyboard shortcuts, after use they were blocking mouse clicks Yves Rizoud 2008-12-31 00:24:16 +00:00
  • 449ffdf721 Fix 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
  • 95c69faec1 Hopefully fixed all the problems related to the coord display in the status bar. Adrien Destugues 2008-12-29 18:22:06 +00:00
  • 0c8bd5e0d4 Fixes the makefile. Adrien Destugues 2008-12-29 18:02:04 +00:00
  • 0eb18b7619 SkyOS port. Thanks again Begasus :) Adrien Destugues 2008-12-29 17:48:02 +00:00
  • 30184d82e9 Some more fixes for AROS build. Adrien Destugues 2008-12-29 17:15:56 +00:00
  • 57c875df3d Fix issue 60 : Wrong spacing in Text when using bitmap fonts. Yves Rizoud 2008-12-28 19:44:17 +00:00
  • 3be825e40d Removed 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
  • 7f9a9d81c1 Fix window build (from r421 changes) Yves Rizoud 2008-12-27 22:33:25 +00:00