Commit Graph

25 Commits

Author SHA1 Message Date
Chris Young
edaa9c29f2 Remove use of global context data from Amiga frontend 2017-02-13 00:18:32 +00:00
Chris Young
b78d6f458e Attempt hotlist menu refresh 2017-01-15 17:51:55 +00:00
Chris Young
606cc0c219 Split up menu.c into generic and gui_window-specific files 2017-01-15 16:05:07 +00:00
Chris Young
695783e33b re-structure menu code to make it useable elsewhere in the frontend 2017-01-03 19:27:40 +00:00
Chris Young
dab118b6f7 Amga core window redraw
This almost certainly will not work properly
2017-01-01 23:57:35 +00:00
Chris Young
eb1f39fe7d Process mouse moves and qualifier keys
NB: we are doing mouse moves differently by using an IDCMP hook on space.gadget, as this gives us co-ordinates relative to the render area
GID_DRAW object when the window is defined will need tagging ICA_TARGET, ICTARGET_IDCMP
2017-01-01 16:45:27 +00:00
Chris Young
76673bbf65 add a todo 2016-12-31 00:58:03 +00:00
Chris Young
47379c0444 Update treeviews to use event callback 2016-12-30 13:06:42 +00:00
Chris Young
9379a64c6d Start tidying up Amiga event-handling code
As we used a shared message port, we call different event-handling functions for different window types.
This changes that so we register the event-handler as a callback so we can handle event processing for all windows generically.
Currently the main browser window and find window use the new approach, so the handling still has a long list of window types.
This should also make window_list private to gui.c
2016-12-30 00:59:12 +00:00
Chris Young
05fa29ba8b more allocvec/malloc changes 2016-11-19 21:40:32 +00:00
Chris Young
2c6f2f4ef5 More allocvec/malloc changes 2016-11-19 21:02:42 +00:00
Chris Young
1f96c0a413 Add an ACTIVE switch to the OPEN ARexx command to force new tabs to be active 2016-09-10 20:36:11 +01:00
Chris Young
7b5639d982 When opening a new blank tab, always switch to it. 2016-09-04 17:35:32 +01:00
Chris Young
6239b32d92 Make browserglob private to gui.c 2016-07-09 23:55:16 +01:00
Chris Young
df8aeb4a88 Remove unused variable; help gcc 2016-07-09 00:44:35 +01:00
Chris Young
ea00b37874 Attempt to help gcc out a little 2016-07-03 18:48:46 +01:00
Chris Young
ea9932dd00 Handle closing windows and quitting from the menu differently 2016-07-03 17:09:11 +01:00
Chris Young
14bf4b47a5 Use charset from default Locale and store it in an option so we can (a) override and (b) get it without constantly looking it up 2016-06-25 17:52:32 +01:00
Chris Young
26acc5d5c7 Move some globals into gui.c 2016-06-02 00:03:45 +01:00
Chris Young
e1dea53d2a Make ami_autoscroll private to drag.c 2016-06-01 18:40:14 +01:00
Chris Young
0bbb4f5a2a Rationalise gui_globals a bit 2016-06-01 17:48:03 +01:00
Vincent Sanders
fcde28d97f reduce core header usage 2016-06-01 07:59:19 +01:00
Vincent Sanders
8711fbe47d move mouse and pointer state header into public API 2016-05-30 12:10:08 +01:00
Vincent Sanders
1eb86d9df2 move window header into public API 2016-05-30 11:01:40 +01:00
Vincent Sanders
d21447d096 move frontends into sub directory 2016-05-15 13:44:34 +01:00