Commit graph

1190 commits

Author SHA1 Message Date
Pere Pujal i Carabantes
e481f1c1c6 Saving RGB values to the .dat file, not save all the surface pixels but just the alpha channel, removing the label .png and .dat files when removing the main file in the open dialog 2009-12-06 22:07:19 +00:00
Albert Cahalan
e3a971194c options working fairly well 2009-11-23 07:45:24 +00:00
Albert Cahalan
3d15a468cd lots of functions made static (some had to be moved) 2009-11-22 23:17:35 +00:00
Pere Pujal i Carabantes
463564076f Using the hand pointer when hovering a label in select mode 2009-11-22 21:20:00 +00:00
Albert Cahalan
db4ad99ad8 lang/locale work much better now 2009-11-22 09:46:41 +00:00
Albert Cahalan
1c980026f0 now --lang works (must not use stale pointers) 2009-11-21 21:17:19 +00:00
Albert Cahalan
f296909c75 have to reset y_nudge if wiping out lang/locale 2009-11-21 11:30:19 +00:00
Albert Cahalan
b5275ec578 locales should work 2009-11-21 10:52:38 +00:00
Albert Cahalan
0045bbad98 i18n stuff belongs in i18n.c 2009-11-21 10:14:56 +00:00
Albert Cahalan
dd90d90624 savedir/datadir neatened up 2009-11-21 09:44:11 +00:00
Albert Cahalan
a9b8f6ea1c show_usage takes exit code, and knows what to do 2009-11-21 05:10:44 +00:00
Pere Pujal i Carabantes
150f3b41b9 Saving and printing uncommited text and labels, allowing to edit them later. 2009-11-20 19:12:40 +00:00
Albert Cahalan
1f9e0049d7 very little 2009-11-16 10:07:17 +00:00
Albert Cahalan
32c7a6682d lockfile into own function 2009-11-16 09:52:33 +00:00
Albert Cahalan
be05dba58f lockfile into own function 2009-11-16 09:51:30 +00:00
Albert Cahalan
5dc2a54407 main() looking OK now; config still ignored (probably crashes) 2009-11-16 09:34:23 +00:00
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