Commit Graph

9738 Commits

Author SHA1 Message Date
Ole Loots
9f35d844dc Enabled atari_global_history_destry/init 2013-10-06 01:24:17 +02:00
Ole Loots
49f4fa0d78 Hotlist and History and Cookies Manager implemented.
(The Cookie Manager window is a new one)
2013-10-06 01:24:17 +02:00
Ole Loots
074b072535 Include desktop/core_window.h 2013-10-06 01:24:16 +02:00
Ole Loots
1d535a9a43 Treeview implementation adjusted
(still requires changes at several places in the atari frontent)
2013-10-06 01:24:16 +02:00
Ole Loots
8057dc67cb Replaced atari_treeview wrapper with a new one
(removed all modules which used the old tree API)
2013-10-06 01:24:16 +02:00
Ole Loots
05f13ccf89 Fixed RECT_TO_GRECT macro 2013-10-06 01:24:15 +02:00
Ole Loots
ea2a5fb471 Added RECT_TO_GRECT macro 2013-10-06 01:24:15 +02:00
Ole Loots
ce270a7e08 Added RECT_TO_GRECT macro 2013-10-06 01:24:15 +02:00
Ole Loots
258477ad28 moved font plotter allocation
Delayed font plotter alloction until the requested
font plotter is found.
2013-10-06 01:24:14 +02:00
Ole Loots
2c0bcc39bd Added plot_get/set_text_plotter and comments 2013-10-06 01:24:14 +02:00
Ole Loots
569b748172 Tuned frontend Makefiles for local environment. 2013-10-06 01:24:14 +02:00
Ole Loots
342c0d9361 Added initialization/finalization of treeview framework. 2013-10-06 01:24:14 +02:00
Michael Drake
cd9971293d Set unused channel to 0xff, so that rendering isn't broken in front ends that don't heed the OPACITY flag. 2013-10-05 11:44:15 +01:00
Chris Young
69e264e4ec more tidy-up 2013-10-05 11:28:33 +01:00
Chris Young
9ff65d7426 tidy up 2013-10-05 11:27:05 +01:00
Chris Young
a06cb9f05c If bitmap is opaque, ensure we override the alpha channel as it may contain nonsense. 2013-10-05 11:18:27 +01:00
Michael Drake
f5bdd4b109 Move BITMAP_SAVE_FULL_ALPHA out of core to RISC OS front end, where it belongs. 2013-10-03 21:11:54 +01:00
Michael Drake
ff480312fe Remove BITMAP_READY flag. 2013-10-03 21:07:29 +01:00
Michael Drake
4c6a176d39 Remove BITMAP_PERSISTENT flag. 2013-10-03 21:02:08 +01:00
Michael Drake
138d8c4677 Remove unused structure member. 2013-10-03 20:53:50 +01:00
Michael Drake
1172d21b1c Remove unused bitmap memory config window help text. 2013-10-03 20:21:41 +01:00
Michael Drake
c720ecf449 Remove old debug window template. 2013-10-03 20:04:29 +01:00
Michael Drake
92ea400bd3 Optimise treeview redraw. It draws its own background, so don't need white background in the template. 2013-10-03 19:45:02 +01:00
Michael Drake
8850d40cec Remove unused image cache config window template. 2013-10-03 19:34:01 +01:00
Michael Drake
43e4cb2ad7 Remove image memory options. 2013-10-03 19:28:15 +01:00
Michael Drake
143e553593 Remove redundant bitmap compression/decompression/dropping-to-disc. The core now has a converted bitmap cache that is pruned more agressively. 2013-10-03 19:25:01 +01:00
Michael Drake
d041594fd9 Lose forward declaration. 2013-10-03 17:04:19 +01:00
Michael Drake
dba846b5b8 Remove unused function. 2013-10-03 16:56:05 +01:00
Michael Drake
1e4c733fc0 Appease gtk front end's broken bitmap behaviour. 2013-10-03 11:45:55 +01:00
Michael Drake
a2b4c63fcc Init unused alpha channel to 0, even though we set the bitmaps as opaque. 2013-10-03 11:39:28 +01:00
Michael Drake
69e3963dae Avoid NULL deref when deleting a node, causing empty ancestor nodes to be deleted. 2013-10-03 00:13:18 +01:00
Michael Drake
2a4fb9ecd1 Generate anti-aliased triangles in bitmaps and plot via bitmap plotter. (Without anti-aliasing was too ugly to be endured.) 2013-10-02 23:34:34 +01:00
Michael Drake
506a0e7d94 Add accessors for individual colour channels. 2013-10-02 23:33:46 +01:00
Michael Drake
f19e827983 Use polygon plotter for treeview furniture (node expansion/contraction triangles), instead of triangle text glyphs. 2013-10-02 13:34:51 +01:00
Chris Young
bdf76965b4 Add Undo/Redo to Amiga version. NB: Clear selection no longer has a shortcut key. 2013-10-01 18:51:27 +01:00
Michael Drake
0c4f32fb1d Make undo and redo share common implementation. 2013-10-01 18:29:22 +01:00
Michael Drake
5809bcefa6 Wipe undo buffer on textarea_set_text. 2013-10-01 14:03:02 +01:00
Michael Drake
3bdc61a131 Ensure cut can be undone. 2013-10-01 13:54:34 +01:00
Michael Drake
b22adee6fc Add undo (F8) and redo (F9) keys. If caret is not in textarea, F8 is still view source. 2013-10-01 13:40:38 +01:00
Michael Drake
6a4601c3ce Implement textarea undo and redo. 2013-10-01 13:30:20 +01:00
Michael Drake
2d14f0bb2e Fix Ctrl+Shift+Z. 2013-10-01 13:15:25 +01:00
Michael Drake
308a24e661 Start implementing undo/redo. For now it just records changes, the actual undo/redo handling is not yet done. 2013-09-30 21:38:41 +01:00
Michael Drake
97aceb5a68 Pass KEY_UNDO and KEY_REDO to core. (Currently ignored.) 2013-09-30 21:38:11 +01:00
Michael Drake
10b422b163 Pass KEY_UNDO and KEY_REDO to core. (Currently ignored.) 2013-09-30 21:37:31 +01:00
Chris Young
704e5cc839 Use a for loop instead 2013-09-28 16:03:24 +01:00
Chris Young
bd85c009d3 Ensure the glyph array is NULLed before use, and that we don't attempt to free NULL entries. 2013-09-28 15:37:09 +01:00
Chris Young
87da43d373 Extra logging 2013-09-28 14:58:03 +01:00
Chris Young
fda18c4977 less over-zealous code removal 2013-09-15 00:05:52 +01:00
Chris Young
04a118c415 treeview deferred redraw 2013-09-14 23:52:31 +01:00
Chris Young
c32c68f4ed Support drag for global history too 2013-09-14 23:52:30 +01:00