1. 30 Apr, 2017 3 commits
  2. 05 Mar, 2017 3 commits
  3. 04 Mar, 2017 2 commits
  4. 27 Feb, 2017 1 commit
    • Craig Watson's avatar
      Don't move a selection containing locked items · 6ff78892
      Craig Watson authored
      Fixes an issue where locked items could be moved if they were selected
      along with other items, and these items all moved by dragging the
      selection frame.
      
      This implementation prevents any movement of the selected items if at
      least one of them is locked. It also changes the colour of the selection
      frame, like a locked UBGraphicsDelegateFrame.
      6ff78892
  5. 25 Feb, 2017 1 commit
  6. 22 Feb, 2017 1 commit
  7. 19 Feb, 2017 1 commit
  8. 18 Feb, 2017 1 commit
    • Craig Watson's avatar
      Smaller Triangle tool · 8d9fc7b0
      Craig Watson authored
      Added checks for the size of the interior, cut-out triangle to make sure
      everything is drawn correctly at small sizes; buttons are now also
      hidden if they overflow from the tool.
      8d9fc7b0
  9. 12 Feb, 2017 2 commits
  10. 11 Feb, 2017 1 commit
    • Craig Watson's avatar
      Fix saving of groups' positions · 14849cf5
      Craig Watson authored
      Previously, only transforms were saved -- not positions (which are set
      if a group is moved by dragging it directly; if dragged by its frame,
      its transform is updated instead).
      
      Issue observed was that a group that had been moved would lose its new
      position when the document was saved then loaded. (All other transforms
      were kept, however).
      
      Now, when duplicating a group before saving a document, position is
      included in the group's transform.
      14849cf5
  11. 04 Feb, 2017 1 commit
  12. 01 Feb, 2017 1 commit
  13. 28 Jan, 2017 2 commits
  14. 25 Jan, 2017 4 commits
  15. 22 Jan, 2017 1 commit
  16. 16 Jan, 2017 1 commit
  17. 15 Jan, 2017 3 commits
  18. 14 Jan, 2017 3 commits
  19. 08 Jan, 2017 3 commits
    • Craig Watson's avatar
      Adjust text item size upon loading to account for platform-to-platform variability · ae380e4e
      Craig Watson authored
      The same font, in the same point size, can be displayed differently
      depending on platform (this is a Qt limitation). This can lead to text
      items being the wrong size when importing a document created on a
      different computer.
      
      As a workaround, when saving a text item to SVG, the size of 1pt in
      pixels is calculated and saved. Upon loading, this value is calculated
      again and, if it is different from the saved value, the text item is
      scaled accordingly.
      
      Thus, any document created from this version onward will have
      correctly-scaled text boxes. If an old document (not containing a
      pixel-per-point attribute for text items) is loaded, the scene is marked
      as modified to make sure that all text items are then saved with the
      pixels-per-point value (even if the document is not edited). This allows
      old documents to be "fixed" by simply opening them once from a new
      version of OpenBoard.
      
      save text item font size in pixels, and scale it on load
      
      fixed loading of text item pixel height
      
      Save and load pixels-per-point rather than text pixel height
      
      Upon loading a text item from SVG, make sure that it will be saved with a pixel-per-point value
      ae380e4e
    • Craig Watson's avatar
      When loading a scene that is about to be deleted, don't cache the previous and next scenes. · 4cff8473
      Craig Watson authored
      This prevents crashes that may occur when deleting multiple pages from a document.
      4cff8473
    • Craig Watson's avatar
  20. 27 Nov, 2016 1 commit
  21. 26 Nov, 2016 1 commit
  22. 15 Nov, 2016 1 commit
  23. 14 Nov, 2016 1 commit
  24. 13 Nov, 2016 1 commit
    • Craig Watson's avatar
      Background cross color is now a setting in the config file · 2fd0cc87
      Craig Watson authored
      This allows users to change the color of the background grid e.g if they
      are using a projector or other low-contrast display.
      
      The settings are in the `Board` category and are named `CrossColorDarkBackground`
      and `CrossColorLightBackground`. They take strings representing the
      color in any of the following formats:
      
      - #RGB (Hexadecimal digits)
      - #RRGGBB
      - #AARRGGBB
      - #RRRGGGBBB
      - #RRRRGGGGBBBB
      - Any SVG color keyword name (as defined by W3C)
      2fd0cc87