Skip to content

Releases: aardappel/treesheets

4724731518

17 Apr 19:04
49b7592
Compare
Choose a tag to compare
Focus after search is cleared (#371)

4724609264

17 Apr 18:45
dd13b5b
Compare
Choose a tag to compare
Cancel search toolbar button (#370)

4715791278

16 Apr 23:07
7fde6a7
Compare
Choose a tag to compare
Leave search when Escape key is pressed (#369)

* Clear text control content when Escape key is pressed

* Do not focus canvas when search for next match

The user can leave the search box with an escape key press and
then the canvas will get focused.

4695532393

14 Apr 02:00
f81aa34
Compare
Choose a tag to compare
Remove bm_orig (#367)

* Remove bm_orig

* Fill image_data and image_type automatically when Bitmap is provided
* Generate bm_display out of the image_data vector
* Convert directly when user switches between PNG and JPEG format
* Make BitmapScale() not use bm_orig
* Only place PNG image in clipboard

* Pass vector by reference

* Rename Vector to Buffer in function names

* Remove wxBitmap from Image constructor and move functions to System

This commit modifies the code blocks calling the Image constructor so that
the image data vector is always passed.

* Use wxImage Rescale operation to rescale image in-place

This commit makes the code avoid an additional back-and-forth conversion
from and to wxBitmap.

* More precise function names for helper functions

The conversion is to and from wx{Bitmap, Image} and should not be
confused with Image. Thus precise the function names.

* Increase code readibility

Values are fixed for PNG file format

4652352703

09 Apr 20:33
afeb34a
Compare
Choose a tag to compare
Remove obsolete function MakeInternallyScaled() (#366)

As wxWidgets handles the correct drawing depending on the set DPI
by using device-independent pixels, the function MakeInternallyScaled()
becomes obsolete. This commit removes the function.

4648041491

09 Apr 01:30
624151b
Compare
Choose a tag to compare
Use device-independent pixels in MyFrame (#364)

Use the device-independent pixels to abstract away the problems of
scaling on displays with different DPI. wxWidgets will handle the
correct scaling.

Please refer to <https://docs.wxwidgets.org/3.2/overview_high_dpi.html>
for more details about High DPI support in wxWidgets.

This targets mainly the toolbar that shall display correctly
on High DPI displays.

4647954843

09 Apr 01:08
1e9f110
Compare
Choose a tag to compare
Use DPIChangedEvent to redraw Document correctly (#365)

Please refer to
<https://docs.wxwidgets.org/latest/classwx_d_p_i_changed_event.html>
for the documentation on how to handle DPI change events on the MSW port.

4647907386

09 Apr 00:54
4b32b6a
Compare
Choose a tag to compare
Clarify file format specification (#363)

It is not any of the cells in the selection, but only the first cell
within the selected that is marked with the highest bit.

4640240271

07 Apr 18:07
1d6bbf3
Compare
Choose a tag to compare
Update TreeSheets file format specification for v21 (#360)

4639458352

07 Apr 16:01
c9dd04d
Compare
Choose a tag to compare
Scroll to selection on first draw (#359)