Commit graph

724 commits

Author SHA1 Message Date
Albert Cahalan
3e3d589c17 signal handler can not do much 2009-11-16 09:02:54 +00:00
Albert Cahalan
9a00845f50 moving more code past start of font scanning 2009-11-16 08:54:48 +00:00
Albert Cahalan
c6d3259e2c broken, but it compiles with few warnings 2009-11-16 08:45:24 +00:00
William Kendrick
e43ae6f497 Please bring back my single-dash command-line shortcuts! :( 2009-11-11 22:49:17 +00:00
Pere Pujal i Carabantes
d7f621ce20 No more wait for fonts at startup. Split the font stuff from load_info_about_label_surface to set_label_fonts so it can be runned later. 2009-11-11 21:54:42 +00:00
Pere Pujal i Carabantes
f5e4e4eb0f Fixing a bug that caused the deletion of a label when a)writing the label b) draw things that caused that cur_undo matched newly label->save_undoid after cycling around NUM_UNDO_BUFS c)click on undo. 2009-11-09 21:51:45 +00:00
Albert Cahalan
79d049e7dd drop redundant unused buggy "fullscreen" code 2009-11-08 18:38:25 +00:00
Albert Cahalan
f9df7d75eb _ 2009-11-08 09:45:39 +00:00
Albert Cahalan
288bdff7e2 eliminate string copy 2009-11-08 09:39:30 +00:00
Albert Cahalan
8723541a34 use unified parser for command line options 2009-11-08 09:27:27 +00:00
Albert Cahalan
dae8eda15d new config file parser, simplified and usable for command-line options 2009-11-08 07:28:16 +00:00
Albert Cahalan
e318a23c4f stamp size must be a multiplier, not actual value 2009-11-08 03:25:12 +00:00
Albert Cahalan
cba6b6894d parse_options can open the file itself 2009-11-08 03:17:13 +00:00
Albert Cahalan
93b47299f2 move code around, preparing to break up some overgrown functions 2009-11-08 02:55:40 +00:00
Albert Cahalan
23e136784b move code around, preparing to break up some overgrown functions 2009-11-08 02:42:19 +00:00
Albert Cahalan
2046cb4ac9 crazy $Id line was seriously upsetting my editor (file changed behind editor's back when I did a check-in) 2009-11-08 02:15:53 +00:00
Albert Cahalan
f9041cb94a point out the bug that destroys the async nature of font scanning 2009-11-08 02:12:27 +00:00
Albert Cahalan
31b51a4034 printf fmt warnings that could crash 64-bit 2009-11-08 00:02:55 +00:00
Pere Pujal i Carabantes
ac5400ecf2 Triggering the unsaved state on each letter typed, so we can safely go to open or new. 2009-10-21 21:29:09 +00:00
Jacques Chion
6e74cb03cb modify the line 19902, thanks to Pere 2009-10-21 05:22:17 +00:00
Pere Pujal i Carabantes
9750ee5920 Clicking the print button was causing label to be applied as plain text. 2009-10-18 15:53:09 +00:00
William Kendrick
9a80cb3689 Lost detection of SVG, so auto-scale stopped working; putting it back. 2009-10-17 20:05:18 +00:00
William Kendrick
9fe17de7b3 Created a "Templates" feature (similar to "Starters").
SF.net Feature Req. #1820318
2009-10-16 09:00:41 +00:00
William Kendrick
f4c25c5edc rec_undo_buffer() picks up any stuff put onto canvas by a magic_switchin().
Calling switchout/switchin around the recorder. (Suboptimal!)
2009-10-14 05:01:20 +00:00
William Kendrick
44422bac91 After switching into, or out of, a magic tool, the canvas is updated. 2009-10-14 00:43:46 +00:00
William Kendrick
4db3e359fb Scaling starts to the edge to avoid bucket Fill spill over. 2009-10-11 18:22:50 +00:00
William Kendrick
56205ba9c8 Inserting a dead tool button to get ones after Text and Label to line up nice.
Improved Label tool icon.
Improved Label tool "Select mode" button icon.
2009-10-10 06:54:37 +00:00
William Kendrick
444cf7b37a Preventing regular "Text" tool from acting just like the "Label" tool! 2009-10-10 06:33:38 +00:00
William Kendrick
85e99f5a6d ARGH! Don't pin my CPU!!! 2009-10-10 06:09:54 +00:00
William Kendrick
dd96740109 Adding support for Kid Pix templates (KPX files) as Starter images. 2009-10-07 23:52:54 +00:00
Pere Pujal i Carabantes
f243f8976a Was saving empty nodes. 2009-10-06 23:07:04 +00:00
Pere Pujal i Carabantes
ceb8fc5c8a CTRL+P, click on print and click on other paint tools also remove the current label if it is empty and we are in select mode. 2009-10-06 21:53:43 +00:00
William Kendrick
0233926eb1 Making sure labels get _printed_, too. 2009-10-06 18:19:34 +00:00
Pere Pujal i Carabantes
f2473f952b Deleting the label when typing enter or tab if in select mode and there are no text. Still has to be done for clicking on a different tool or unselecting the label button. 2009-10-06 17:27:18 +00:00
William Kendrick
a812f61c91 Fix (I think!?) for crash bug when starting a new drawing after using Label tool. 2009-10-05 23:51:16 +00:00
Pere Pujal i Carabantes
3aff16312a Fix utf8 bug when saving labels. 2009-10-05 21:05:45 +00:00
William Kendrick
460d691a95 Made Label tool truly disableable.
Reordered tools slightly.
2009-10-04 07:27:00 +00:00
William Kendrick
59fc4cacb0 Fixed command-line options for disable/enable Label tool.
Added config-file option for disable/enable Label tool.
Documented options to disable/enable Label tool.
2009-10-04 06:14:23 +00:00
William Kendrick
a90f2548dc Initial integration of Bruno's Label tool, with tons of help from Pere. 2009-10-04 05:49:47 +00:00
William Kendrick
9badfa12a9 When a default size was not specified, SVG-based Stamps would default
to the largest, which was canvas-sized.  Now defaulting to a more
reasonable size.  (And users can click the maximum size choice to get
the largest, canvas-sized rendition.)
(SF.net bug #2836471)
2009-09-30 05:54:43 +00:00
William Kendrick
18758d51da Avoids loading PNG Starter if SVG with the same name exists. 2009-09-02 05:32:41 +00:00
William Kendrick
c33ddd1d1e Fixed directional brush bug introduced by changes to 'rotation()' for Shape tool. 2009-08-17 19:01:28 +00:00
William Kendrick
d65adde114 Shape Tool enhancements to decrease glitches where lines join.
(SF.net Bug #2837177)
2009-08-13 23:08:40 +00:00
William Kendrick
6637f3fba4 Shape tool would only resize a shape if you dragged down or right, not up or left.
(SF.net Bug #2834320)
2009-08-10 23:47:42 +00:00
William Kendrick
be7f8a64b6 Buffersize for holding Starter and image filenames was way too low. 2009-08-10 20:03:20 +00:00
William Kendrick
7d45258c8c Widened pop-up prompt window (to avoid wordwrap/overlap issue in some locales).
SF.net bug #2834461
2009-08-09 16:35:28 +00:00
William Kendrick
62b5af5624 Starter images can be in SVG format. 2009-08-08 01:15:57 +00:00
William Kendrick
a5ba984e9a Wrapping some debug output in an #ifdef DEBUG 2009-06-18 20:51:58 +00:00
Albert Cahalan
978eab8efb remove QY/qy design mistake, fix uninitialized score, prototype new stuff, add FIXME notes 2009-06-15 10:39:06 +00:00
William Kendrick
ab0c663c7a Dialogs are right-to-left friendly now! 2009-06-14 00:11:55 +00:00