Chris Young
6ac65a3674
Hide the message port which is shared amongst all Amiga NetSurf windows
2019-05-10 21:59:03 +01:00
Chris Young
24b910f4ff
Make the window list more private
...
TODO: fix arexx.c to not need it
2019-05-10 21:49:00 +01:00
Chris Young
97010ecef5
Make screen pointer accesible through an accessor function only
2019-05-10 20:59:30 +01:00
Chris Young
c5a07fac76
Replace global current gui_window with an accessor function
2019-05-10 20:32:40 +01:00
Chris Young
944d8fc412
try storing form_control in the hook data
...
it doesn't appear to be needed anywhere else
2019-05-08 18:12:22 +01:00
Chris Young
19742c826a
Make gadget object enum private to gui.c
2019-05-08 17:51:53 +01:00
Chris Young
76618d9588
make gui_window_2 private to gui.c
2019-05-08 17:48:50 +01:00
Chris Young
df5c18315f
Pass ptr to clicktab var instead of func calls
2019-05-08 17:29:14 +01:00
Chris Young
d0df3fa4b3
more accessor for gui_window_2
2019-05-08 01:44:44 +01:00
Chris Young
1cd30fdb3c
Move ami_(re)set_pointer (back?) into gui.c as they need to set/read the gui_window_2 structure
2019-05-08 00:59:04 +01:00
Chris Young
ae36d35728
throbber crap
2019-05-08 00:56:07 +01:00
Chris Young
a5aa53657c
get the window title from a gui_window
2019-05-08 00:35:09 +01:00
Chris Young
1edf8f2848
set find window function
2019-05-08 00:30:51 +01:00
Chris Young
c64d48005c
Try moving form_control into gui_window
2019-05-08 00:18:43 +01:00
Chris Young
4713e1c8af
Accessor for the select menu control pointer
2019-05-08 00:16:06 +01:00
Chris Young
ca1a519cfa
remove direct access to gui_window_2's gui_window
2019-05-08 00:08:35 +01:00
Chris Young
b9dd0a60c3
accessor for window from gui_window_2
2019-05-07 23:43:15 +01:00
Chris Young
83c3831853
set menu to window through a function
2019-05-07 22:22:12 +01:00
Chris Young
67af746324
Get menu structure directly from gui_window
2019-05-07 22:07:57 +01:00
Chris Young
6d1f480f01
Get the shared window's window structure directly from the gui_window
...
In a lot of places gui_window_2 was only being accessed for Window
2019-05-07 21:58:09 +01:00
Chris Young
5c7b5476f0
Make gui_window private to gui.c
...
TODO: ratonalise these accessors
2019-05-07 21:45:40 +01:00
Chris Young
64bc2a7931
Stop using the same large list of gadget constants everywhere
...
Saves a small amount of memory
2018-09-26 23:53:49 +01:00
Chris Young
6511e9f9e0
Migrate Amiga local history to corewindow
2017-06-10 22:21:46 +01:00
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