1. 31 Mar, 1999 1 commit
  2. 30 Mar, 1999 1 commit
    • Andrew Hodgkinson's avatar
      ScrollList changes. · adbbc308
      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'
      adbbc308
  3. 26 Mar, 1999 1 commit
    • Andrew Hodgkinson's avatar
      Various fixes and extensions to ScrollList, plus a related fix in TextArea and ScrollBar. · ba6f7fab
      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
      ba6f7fab
  4. 21 Oct, 1998 2 commits
  5. 22 Jun, 1998 1 commit
    • Stewart Brodie's avatar
      * These changes make no difference to the build of the TextGadget module. · a76193d9
      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.
      a76193d9
  6. 19 Jun, 1998 4 commits
  7. 18 Jun, 1998 4 commits
  8. 16 Feb, 1998 4 commits
  9. 20 Jan, 1998 8 commits
  10. 19 Jan, 1998 6 commits
  11. 08 Jan, 1998 4 commits
  12. 07 Jan, 1998 2 commits
  13. 16 Dec, 1997 2 commits