- 25 Jun, 2011 1 commit
-
-
Jeffrey Lee authored
Detail: c/ScrollList, c/TextArea - ScrollList_SetFont and TextArea_SetFont now accept font handles instead of just font names. The handles are handled in the same way as the Window module, i.e. the handle will be managed and freed by the TextGadgets modules. Fixes bug #212. c/ScrollList, c/Scrollbar, c/TextArea - Fix handling of Toolbox_ObjectDeleted events. Original code would corrupt the object lists when deleting items, and reallocate much more memory than was actually needed. Fixes bug #214 c/MemMan - Fix grow_handlers to not leave handle_list as NULL if the realloc fails. Fixes bug #216. c/MemMan, c/TextArea, c/TextMan, h/MemMan, h/TextMan - Changed how the 'Handle' type is handled. Instead of MemMan giving out direct pointers to Handle instances, it now gives out identifiers (HandleId). These identifiers are then converted to Handle pointers via get_handle whenever the contents need to be accessed. This allows the handle_list to be safely realloc'd without breaking all the existing Handle pointers. Fixes bug #217 c/MemMan - Reduced HDNLE_GRW_BY from 1000 to 128 to save a bit of memory Admin: Module compiles and runs, but actual functionality is untested. Fixes bugs 212, 214, 216, 217. Version 0.32. Tagged as 'Gadgets-0_32'
-
- 28 Feb, 2010 1 commit
-
-
Robert Sprowson authored
Previously, a number of errors were contructed as automatic variables then returned to the caller - potentially accessing stale stack area. All error blocks are now held in ROM and cast from there. Error numbers are now not &00000000 or &20202020, using the allocated base - requires 'Common-0_15'. Trimmed some unused debugging code out, saves about 3k. Renamed C++ clashing variables to stop the compiler moaning. Implemented feature request to accept the empty string "" as no font handle in _SetFont calls. At some point, this module needs internationalising. Version 0.31. Tagged as 'Gadgets-0_31'
-
- 14 Jun, 2008 1 commit
-
-
Steve Revill authored
Version 0.30. Tagged as 'Gadgets-0_30'
-
- 15 Apr, 2005 1 commit
-
-
John Ballance authored
Detail: Admin: builds Version 0.29. Tagged as 'Gadgets-0_29'
-
- 09 Nov, 2004 1 commit
-
-
Ben Avison authored
Detail: Was still doing link -bin in rom_link phase. Changed to use link -rmf for consistency with all other C components, and with the BBE auto- generated makefile. Also has the benefit of saving approx 1K of ROM space. Admin: Not expected to cause any problems. Version 0.28. Tagged as 'Gadgets-0_28'
-
- 16 Jun, 2003 1 commit
-
-
Robert Sprowson authored
create res file with a single TextArea in it change flags to be auto create and auto display drop into restest delete the 8 character "TextArea" default text press enter press backspace Also,there was a _swix(&107) left in from some point in the past. Version 0.27. Tagged as 'Gadgets-0_27'
-
- 18 Feb, 2003 1 commit
-
-
Robert Sprowson authored
NEWDELETE switch like RISCOSLib is now). Key 8 deletes left Key 127 deletes right The Copy key does nothing (home and end aren't implemented it seems). Fix from Kevin for it claiming a Dynamic area of maximum size - greedy guts now limited to 16M. Version 0.26. Tagged as 'Gadgets-0_26'
-
- 16 Mar, 2000 1 commit
-
-
Ben Laughton authored
Detail: debug.s was still in the build and included a header which had been removed in a previous version. The code in debug.s in not used anywhere, so I've just removed it (and the corresponding debug.h, which was empty anyway). Admin: Compiled. Version 0.25. Tagged as 'Gadgets-0_25'
-
- 13 Dec, 1999 1 commit
-
-
Stewart Brodie authored
Improved some of the rather odd Piers-assembler. Detail: Some rather odd assembler has been tidied up. Removed some obsolete header files that are no longer required. Removed "objs" - nothing uses it - looks like an accidental checkin. Admin: Tested on Risc PC with Phoebe & 32 machine builds. Version 0.24. Tagged as 'Gadgets-0_24'
-
- 18 Oct, 1999 1 commit
-
-
David Cotton authored
Altered to work with HdrSrc 0.46 Detail: ======= HdrSrc 0.46 now includes the macros defined in the hdr.Cvars local file in it's Hdr:Macros file. Hence have altered this component to use the global header rather than the local copy. Also altered it so its hdr.SWINames file no longer attempts to define the AddSWI macro, which is also defined in hdr:Macros. Admin: ====== tedted that it builds. Version 0.23. Tagged as 'Gadgets-0_23'
-
- 23 Jun, 1999 2 commits
-
-
Pete Goodliffe authored
Detail: faded flag added to ScrollbarP.h, Scrollbar.c uses this to calculate extent. scrollbar_fade function called as a PRIVATE_HANDLER from TextGadget.c Admin: Built and tested on Pete Goodliffe's Risc PC. Problem with CVS misusage fixed (a couple of modifications were accidentally removed). Version 0.22. Tagged as 'Gadgets-0_22'
-
Pete Goodliffe authored
-
- 21 Jun, 1999 1 commit
-
-
Pete Goodliffe authored
-
- 18 Jun, 1999 2 commits
-
-
John Beranek authored
* Fixed the textarea_set/get_cursor_position methods to use the method interface as specified in docs.textarea. I wasn't returning values in R4 as it showed in the document, I am now. The fetching of the cursor position (in both the get and set calls) doesn't appear to work (always returns 0) with what appears to be the correct code to achieve this. The fixing of this is left as an exercise for the bored and very brave person...textarea internals are "interesting". * Added some description of the methods into docs.textarea Version 0.21. Tagged as 'Gadgets-0_21'
-
Pete Goodliffe authored
The scrollbar gadget can now be 'faded' (it doesn't actually fade - it just stops responding and maximises the sausage).
-
- 17 Jun, 1999 1 commit
-
-
John Beranek authored
TextArea_SetCursorPosition and TextArea_GetCursorPosition. * Removed a lot of unneeded comments that wrapped around changes I made a while ago. * !MkRam now enables throwback. Version 0.20. Tagged as 'Gadgets-0_20'
-
- 20 Apr, 1999 1 commit
-
-
Piers Wombwell authored
Changed scrollbar gadget to initialise title-bar validation string despite not having a title bar, to get around a crash in the wimp Version 0.19. Tagged as 'Gadgets-0_19'
-
- 15 Apr, 1999 1 commit
-
-
Piers Wombwell authored
Version 0.18. Tagged as 'Gadgets-0_18'
-
- 31 Mar, 1999 1 commit
-
-
Andrew Hodgkinson authored
An unsigned int was involved in a signed comparison (no compiler warning?) which led to empty lists contracting to zero height. Fixed. Version 0.17. Tagged as 'Gadgets-0_17'
-
- 30 Mar, 1999 1 commit
-
-
Andrew Hodgkinson authored
Added scrolllist_set_item_text. Tweak to extent setting to account for window border. _add_item fix ('>' should've read '>=' in index range check). Can now tell _add_item to make the new item visible (flag ScrollList_AddItem_MakeVisible), else it will try to maintain the y scroll position. _delete_items continues to jump to the top as before, but you can ask it to try and maintain the y scroll position too (flag ScrollList_DeleteItems_DoNotJumpToTop). Version 0.16. Tagged as 'Gadgets-0_16'
-
- 26 Mar, 1999 1 commit
-
-
Andrew Hodgkinson authored
Title background colour of gadgets was either undefined or set to 0; should be 2. Corrected. Would be apparent with 2D tools or any transparent tool sprite set. SELECT clicks on deselected entries in a ScrollList now deselect any other selected items before selecting the new one. Embedded window of TextArea and ScrollList now put in the right place. At create time, the sizes of the current tool sprite set is also checked; this used to be hard coded. If the tool sizes and/or Desktop scaling changes at run-time this won't be noticed yet, as no mechanism to pass Wimp messages to *external* gadgets exists in the Toolbox currently. Still, at least it gets it right the next time a new instance of the gadget is created. Flag bit ScrollList_SelectionChangingMethod_SendEvent to any of scrolllist_select_item, scrolllist_deselect_item or scrolllist_delete_items prompts them to send ScrollList_Selection to the client on completion. This can help simplify client UI code for UIs which depend on what is selected (e.g. a "Select all" button greys out if all items are selected by a keyboard shortcut - this can now all work on just the one event handler). Flag bit ScrollList_SelectionChangingMethod_OnAll to either of scrolllist_select_item or scrolllist_deselect_item tells the methods to act like a "Select all" or "Clear selection" call. This is a common client operation and it's a lot easier for the ScrollList gadget to do it than have the client iterate over all items. Supports new method ScrollList_CountItems (scrolllist_count_items veneer present in tboxlibs 0.04 or later). Returns number of entries in gadget. Avoids clumsy situation of both the gadget and the clienty keeping track of how many entries are present. Note that docs.ScrollList mis-documented some flags settings. Now fixed. Version 0.15. Not tagged
-
- 21 Oct, 1998 2 commits
-
-
Pete Goodliffe authored
Version 0.14. Tagged as 'Gadgets-0_14'
-
Pete Goodliffe authored
Version 0.13. Not tagged
-
- 22 Jun, 1998 1 commit
-
-
Stewart Brodie authored
Re-arranged header files to be suitable for sharing with Toolboxlib and for export to RiscOS/Export/Lib/tboxlibs/h. The ordering and style of these files now matches other toolboxlib header files. Private TextArea macro definitions moved from TextArea.h to TextAreaP.h Most function declarations are now auto-generated by MethodGen so they come with documentation for free, except for TextArea_GetSelection* which need to be done manually. This new set of declarations is identical to the hand-written ones which existed previously.
-
- 19 Jun, 1998 4 commits
-
-
Stewart Brodie authored
-
Stewart Brodie authored
Changed TextArea windows to be created with the NoBounds window flag set. Version 0.11. Tagged as 'Gadgets-0_11'
-
Stewart Brodie authored
-
Stewart Brodie authored
* Fixed 'long' #include directives. * Removed duplicate function prototypes from TextGadget.h (use ModHdr.h for correct prototypes). * Capability to build with pre- and post-5.16 versions of CMHG.
-
- 18 Jun, 1998 4 commits
-
-
Stewart Brodie authored
-
Stewart Brodie authored
-
Stewart Brodie authored
* Event generation for ScrollList fixed - you no longer get spurious events for a phantom extra item on the list. * Flag added to ScrollList_Selection event to indicate adjust click. * Fixed un-initialised base_line variable causing text of ScrollList items to disappear when the desktop font was the System font. Version 0.10, 1.1.2.2. Tagged as 'Gadgets-0_10-1_1_2_2'
-
Stewart Brodie authored
-
- 16 Feb, 1998 4 commits
-
-
Piers Wombwell authored
-
Piers Wombwell authored
-
Piers Wombwell authored
-
Piers Wombwell authored
-
- 20 Jan, 1998 4 commits
-
-
Rob Lougher authored
-
Rob Lougher authored
-
Rob Lougher authored
-
Rob Lougher authored
-