YuSanka
f8477d1be6
Using of wxWidgets 3.1.6 WIP: Linux/OSX specific fixes
...
OSX specific: Fixed get_mouse_position_in_control().
+ Use GetItemRect() to calculation of the position and size for Extruder selector
Linux specific:
* Use just 1.0 scale for wxBitmapComboboxes under GTK3 and gtk3
* GTK2 specific: use GTK2 doesn't suppost get_scale, so scale bitmap size form em_unit()
2022-07-29 11:21:54 +02:00
YuSanka
066b567714
Using of wxWidgets 3.1.6 WIP:
...
* Create Cache of wxBitmapBundles instead of wxBitmaps
* Use wxBitmapBundles instead of wxBitmap for most of Widgets
* Use empty bitmabundles instead of wxNullBitmap for wxBitmapComboBoxes.
* Updated wxWidgets.cmake
* OSX specific: Discard BitmapComboBox overrides
+ some code cleaning
2022-07-29 11:21:54 +02:00
enricoturri1966
6201dad245
Tech ENABLE_COLOR_CLASSES set as default
2022-01-14 08:19:00 +01:00
enricoturri1966
cd4094743e
Tech ENABLE_COLOR_CLASSES - 1st installment -> Introduction of classes ColorRGB and ColorRGBA to unify color data definition and manipulation
2021-12-22 10:45:35 +01:00
YuSanka
21c8f373ff
Code refactoring for 69731b1d
=> nsvgParseFromFileWithReplace() is extracted from nanosvg.h to BitmapCache
2021-11-19 17:00:38 +01:00
Vojtech Bubnik
3a93277531
Revert "medical"
...
This reverts commit 117302ba22
.
2021-11-11 11:22:57 +01:00
Vojtech Bubnik
117302ba22
medical
2021-11-11 10:11:13 +01:00
YuSanka
e8be7b2ecd
Implemented possibility to show resin colors from the Plater (Bottles with resin are colored now in preset combobox)
...
+ Added nsvgParseFromFileWithReplace() to replace some colors before parsing from SVG file
+ Thumbnails are saved with selected resin color in SL1 or SL1S files
+ "white" folder is deleted from "icons" now. THere is no needed anymore.
2021-11-09 17:01:50 +01:00
YuSanka
f9451eaf81
Follow-up 1fff5a624c
: Respect border color to the dark/light mode
...
+ Fixed issue with tooltips for PresetComboBoxes on Windows 2004
2021-02-05 13:26:23 +01:00
Scott Mudge
1fff5a624c
Add border to filament color in combo box to improve visibility of light filaments.
2021-02-04 06:47:48 -08:00
Vojtech Bubnik
48a21cae93
BitmapCache: a bit of clean-up
2020-12-10 08:54:21 +01:00
Lukas Matena
6dd79d4923
Added a missing include
...
Suggested in #3621
2020-02-08 11:42:45 +01:00
YuSanka
d320a03c54
DoubleSlider: Added using of default colors for color changes in SingleExtruder Mode ( #3449 )
...
+ added missed input parameter to the BitmapCache::mksolid() which was cause a wrong drawing of the Extruder selector under OSX
2020-02-03 21:28:55 +01:00
YuSanka
5b103116c5
Added missed include under OSX
2020-02-03 09:24:58 +01:00
YuSanka
3f7ebee396
ObjectDataViewModel is extracted from wxExtentions to the separated file
...
+ parse_color function is moved to BitmapCache from PresetBundle
2020-02-02 22:22:40 +01:00
YuSanka
1472ad9b14
To fix blurred icons under OSX there is implemented PresetBitmapComboBox, derived from wxBitmapComboBox,
...
which now will be used for preset choosers on sidebar a preset tabs.
+ for BitmapCache class added m_scale used for correct scaling of SVG images on Retina displays
+ some code clearing from unused functions or function's parameters
2020-01-31 16:57:45 +01:00
YuSanka
a38735b4ae
More fix of svg icons scaling under OSX (to avoid icon's blurring)
...
+ some code cleaning from unused text
2020-01-28 16:17:51 +01:00
YuSanka
6a8c34dad9
Checking of icons for dark mode is removed to BitmapCache
2020-01-02 13:41:49 +01:00
Lukas Matena
3f988b314c
Fixed several warnings (Config.hpp and few other files)
2019-09-06 15:55:07 +02:00
YuSanka
bfaa92eabb
Added grayscale parameter for create_scaled_bitmap()
2019-05-13 17:58:15 +02:00
Vojtech Kral
2494dc6706
Fix SVG & bitmap scaling on Mac depending on Retina scaling
2019-04-09 15:16:10 +02:00
YuSanka
ef5281c3c9
Some improvements for a loading of icons
2019-04-05 11:18:59 +02:00
bubnikv
a36bdefda5
Code to load SVG icons into the BitmapCache class.
2019-04-04 09:20:11 +02:00
bubnikv
4eaca91f11
include "libslic3r" from slic3r project directly, not as "../../libslicer"
...
(rely on -Ilibslic3r set correctly) for the slic3r project.
2018-12-06 12:52:28 +01:00
bubnikv
0558b53493
WIP: Moved sources int src/, separated most of the source code from Perl.
...
The XS was left only for the unit / integration tests, and it links
libslic3r only. No wxWidgets are allowed to be used from Perl starting
from now.
2018-09-19 11:02:24 +02:00