Some RISC_OSLib rlib enhancements
menu.c/menu.h: Add a new menu_setcolours() function to allow the fore/background colour bits to be set on a menu entry. colourmenu.c: Use the new menu_setcolours() function instead of making assumptions about menu's internal structure layout. dbox.c/dbox.h: New functions dbox_hidefield and dbox_unhidefield added to complement the fade/unfade ones. As dbox_findicon/findiconbefore are only ever used to find writables, rename them as such. Also, make them find writable (type 15) AND writable draggable (type 14) icons. Allow navigation by tab/shift tab through icons like the Style Guide chapter 16 says we should. In fact it's a little odd that dbox is emulating 'Ktar' validation itself manually when the Wimp has done this since version 2.92, but maintaining it is less effort than going and checking all the templates. Fix bug when looking for leading capital letter matches to complete a dbox, the previous code was looking at the cached copy of the icon flags in d->window rathe...
Showing with 233 additions and 251 deletions