summaryrefslogtreecommitdiff
path: root/amiga/gui.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove visible and invalid uses of git revision hashes. Anybody who needs ↵Chris Young2012-07-011-4/+0
| | | | to know hich revision it is can check about:testament, to everybody else the string is meaningless.
* Allow a comma-separated list of fonts to be specified in font_unicode_listChris Young2012-05-091-1/+1
| | | | | | | | | | | to provide more preferred fonts. eg. if a user has dedicated Japanese and Korean fonts available they might want a config like: font_unicode:Japanese font_unicode_list:Korean,Code2000 This will scan Japanese and Korean fonts first, then fill in any blanks with Code2000 (followed by alphabetically all other fonts installed) svn path=/trunk/netsurf/; revision=13917
* Stop abusing certain Messages; add some dedicated non-crazy HelpHintsChris Young2012-05-071-8/+8
| | | | svn path=/trunk/netsurf/; revision=13912
* Integrate Unicode font scanner into NetSurf.Chris Young2012-05-051-4/+4
| | | | | | | | NetSurf will now use any available font when trying to print characters that are missing from the current font. TODO: Preferred font list. svn path=/trunk/netsurf/; revision=13905
* Only struct gui_window_2 should use variable name 'gwin'. gui_window isChris Young2012-04-291-129/+129
| | | | | | always 'g'. svn path=/trunk/netsurf/; revision=13899
* Change menus so menu functions are called internally by window.classChris Young2012-04-291-21/+49
| | | | | | | | (RA_HandleInput). This makes menu selection more reliable and stops us missing menu events which appeared to be getting lost within the HANDLEINPUT method. svn path=/trunk/netsurf/; revision=13898
* Make simple refresh a configurable optionChris Young2012-04-281-36/+18
| | | | svn path=/trunk/netsurf/; revision=13896
* Fix simplerefresh. When dragging windows back on-screen, damaged areas areChris Young2012-04-281-10/+20
| | | | | | | | | still not repaired fully. Overlapping windows have no such problem. Menu events seem to be getting lost in simple refresh mode (this may be related to event triggered for redrawing the area under the menu when it is closed) svn path=/trunk/netsurf/; revision=13895
* Add AppWindow ourself rather than letting window.class create it. InitialChris Young2012-04-281-11/+12
| | | | | | | | tests indicate we are no longer losing icon drop events although there is still an "event leak" somewhere. Fix warnings. svn path=/trunk/netsurf/; revision=13894
* Replace strncpy with strlcpy, as strncpy is not guaranteed to beChris Young2012-04-181-2/+2
| | | | | | NULL-terminated. (thx Colin Wenzel) svn path=/trunk/netsurf/; revision=13881
* Update NetSurf's system colours when OS prefs changeChris Young2012-04-071-0/+11
| | | | svn path=/trunk/netsurf/; revision=13822
* Move status basr left one pixelChris Young2012-04-021-1/+1
| | | | svn path=/trunk/netsurf/; revision=13786
* Remove old commented out tagsChris Young2012-03-311-3/+0
| | | | svn path=/trunk/netsurf/; revision=13784
* Change the status bar frameiclass to a gaugeiclass, as it is moreChris Young2012-03-311-2/+6
| | | | | | | aesthetically pleasing, and also allows us to show progress bar if it is possible to get this data from the core in the future. svn path=/trunk/netsurf/; revision=13783
* Search user data dir first for resourcesChris Young2012-03-301-1/+7
| | | | svn path=/trunk/netsurf/; revision=13779
* Use 'user' env-var to determine usernameChris Young2012-03-301-1/+8
| | | | svn path=/trunk/netsurf/; revision=13778
* Move user-specifics out of ResourcesChris Young2012-03-281-15/+25
| | | | svn path=/trunk/netsurf/; revision=13768
* fix buildChris Young2012-03-261-0/+2
| | | | svn path=/trunk/netsurf/; revision=13729
* NetSurf options rework (a=vince r=daniels,jmb)Vincent Sanders2012-03-221-118/+119
| | | | svn path=/trunk/netsurf/; revision=13548
* Fix scaled fast scrolling. Curiously this has solved the form select menuChris Young2012-03-031-12/+12
| | | | | | problem :S svn path=/trunk/netsurf/; revision=13505
* Fix offsets when page scaled and scrolledChris Young2012-03-031-17/+16
| | | | svn path=/trunk/netsurf/; revision=13504
* allow both x and y dimensions of redraw tiles to be configuredChris Young2012-02-291-6/+6
| | | | svn path=/trunk/netsurf/; revision=13502
* random changesChris Young2012-02-261-4/+11
| | | | svn path=/trunk/netsurf/; revision=13474
* Don't do schedule message handling on a while loop.. it sometimes causesChris Young2012-02-261-1/+1
| | | | | | long pauses in user input. svn path=/trunk/netsurf/; revision=13472
* Add tiled refresh, with tiles of max size option_redraw_tile_size. ThisChris Young2012-02-251-115/+90
| | | | | | | | | reduces the size of our off-screen bitmap and associated memory. Only works with browser windows at present. History and treeviews still have full window refresh/bitmap. Setting the option to 0 brings back the old behaviour. svn path=/trunk/netsurf/; revision=13468
* More simple refresh. This would work (provided the user hasn't scrolled),Chris Young2012-02-241-6/+29
| | | | | | | however we appear to be losing events (refresh and menu events are not always being received) svn path=/trunk/netsurf/; revision=13466
* typoChris Young2012-02-241-1/+1
| | | | svn path=/trunk/netsurf/; revision=13465
* option_screen_compositing to enable switching compositing for NetSurf's ownChris Young2012-02-241-4/+62
| | | | | | | | | | | | | | | | | | | screen on/off. Some experimentation with compositing and simple/smart refresh reveals that simple refresh windows with compositing on for the screen behave the same as smart refresh windows. Smart refresh windows with compositing off use more gfx memory than when compositing is on. Simple refresh windows with compositing off will probably be more memory efficient, as we are using an off-screen bitmap to render the browsing area anyway. However due to this bitmap being re-used over multiple tabs/windows, it does not always reflect what should be on the window, so performing a redraw of damaged areas may be the only option. Need to read damaged regions from layer (probably through struct Region *DamageList) and check on performance vs memory or make the window refresh type configurable. Simple refresh code #ifdefed out for now for further investigation later. svn path=/trunk/netsurf/; revision=13464
* Remove "NetSurf" from release version string, that's on the splash anyway.Chris Young2012-02-121-2/+2
| | | | svn path=/trunk/netsurf/; revision=13443
* Shift status bar text over by a pixel and reposition the frame slightly.Chris Young2012-02-111-4/+4
| | | | | | | Don't use WBorBottom as that is not particulary relevant to what we're trying to do. svn path=/trunk/netsurf/; revision=13441
* Fix buildChris Young2012-01-151-4/+4
| | | | svn path=/trunk/netsurf/; revision=13403
* Allow confining the pointer to part of the window during drags. ActuallyChris Young2012-01-111-1/+65
| | | | | | | | | we aren't acting on this for any current drag types, but if we need to do so in the future (eg. frame resizing), this is the code to do it. The trap lasts 10 IntuiTicks so is re-asserted on every mouse move when an active drag is in effect. Drag type must be set to GDRAGGING_NONE to clear. svn path=/trunk/netsurf/; revision=13401
* Constify rect param to gui_window_drag_start.Michael Drake2012-01-111-1/+1
| | | | svn path=/trunk/netsurf/; revision=13397
* Pass pointer constraints for drag out to front ends. Ensure content ↵Michael Drake2012-01-111-3/+3
| | | | | | scrollbar drag termination always informs the browser window layer that the drag is over. svn path=/trunk/netsurf/; revision=13395
* Remove unnecessary cache of scroll positionChris Young2011-12-241-4/+0
| | | | svn path=/trunk/netsurf/; revision=13344
* Search for DejaVu Serif Italic before DejaVu Serif Oblique, this fixes the ↵Chris Young2011-12-241-1/+9
| | | | | | | | | fonts used on the splash screen if newer DejaVu fonts have been installed and the old ones removed. svn path=/trunk/netsurf/; revision=13342
* Fix scrollbar scrollChris Young2011-12-241-0/+7
| | | | svn path=/trunk/netsurf/; revision=13341
* Pass whether background images are wanted in redraw_context.Michael Drake2011-12-231-0/+2
| | | | svn path=/trunk/netsurf/; revision=13335
* Pass keyboard scroll events to the coreChris Young2011-12-231-50/+81
| | | | svn path=/trunk/netsurf/; revision=13334
* content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_urlJohn Mark Bell2011-12-041-2/+2
| | | | svn path=/trunk/netsurf/; revision=13236
* Use core file drop.Chris Young2011-12-021-127/+47
| | | | | | | | | | | | Loop through entire list of dropped files. If multiple files are dropped and not handled by core, open in tabs; Activate the window on first file drop to workaround a bug where the window needed to be clicked before the file would appear. As using core functionality, DataTypes no longer used to parse dropped files (likely to be rarely needed anyway). svn path=/trunk/netsurf/; revision=13218
* Pass mouse scrollwheel events to the core firstChris Young2011-11-291-14/+42
| | | | svn path=/trunk/netsurf/; revision=13201
* Revert r13138Chris Young2011-11-101-4/+3
| | | | svn path=/trunk/netsurf/; revision=13144
* Update the title of the initial tab, even when the tab bar is hidden ↵Chris Young2011-11-091-3/+4
| | | | | | | | (ensures the correct title will be present if it is made visible) svn path=/trunk/netsurf/; revision=13138
* Remove any need for LangNames to be imported as a Messages fileChris Young2011-10-291-4/+8
| | | | svn path=/trunk/netsurf/; revision=13099
* Stop abusing Messages with continual load of LangNamesChris Young2011-10-291-10/+8
| | | | svn path=/trunk/netsurf/; revision=13098
* SimplifyChris Young2011-10-291-8/+5
| | | | svn path=/trunk/netsurf/; revision=13097
* Allow usage of a resource.map file to map resource: requests to other files.Chris Young2011-10-291-31/+72
| | | | svn path=/trunk/netsurf/; revision=13096
* Search the current theme dir for resources.Chris Young2011-10-291-12/+29
| | | | svn path=/trunk/netsurf/; revision=13091
* Complete extended context menusChris Young2011-10-231-1/+2
| | | | svn path=/trunk/netsurf/; revision=13076