86 Commits

Author SHA1 Message Date
Ingo Weyrich
4101102ddf cppcheck: further fixes 2019-07-31 20:02:35 +02:00
Hombre
52dcd08b97 Merge branch 'dev' into hidpi-icons 2019-03-13 01:00:14 +01:00
Flössie
51f06dfa6d Explicitly destroy static Glib::RefPtr<>s on exit (fixes #3636) 2019-03-09 12:06:54 +01:00
Flössie
0cbc4923bc Relax dependency from procparams.h 2019-02-28 20:44:50 +01:00
Hombre
cc1779a0ae Merge branch 'dev' into hidpi-icons 2019-01-24 22:02:44 +01:00
Hombre
97824da6de Histogram and Navigator now handle Hi-DPI.
+ widgets are now sized depending on Hi-DPI
see issue #3547
2019-01-04 15:32:35 +01:00
Hombre
92ed81a1fe Non used svg2png cache folders are now deleted when exiting RT
see #3547
2019-01-02 22:39:49 +01:00
Hombre
78fa7dc063 SHCSelector, ThresholdSelector, LabGrid and Curves now handles HiDPI
see issue #3547
2019-01-02 18:04:58 +01:00
Flössie
b21d910573 Remove legacy IdleRegister::add<>() 2019-01-01 20:58:26 +01:00
Hombre57
7e01976ab2 Bugfix and cleanup
See issue #3547
2018-12-14 01:05:11 +01:00
Hombre
81407cd663 Adding SVG support for icons with automatic cache handling
See issue #3547 and #4803
2018-12-13 00:04:30 +01:00
Hombre
5ea0bacddd Icons are resized depending on the current scale/resolution
See issue #3547 and #4803
2018-12-08 22:48:15 +01:00
Flössie
00b62d2b65 Add @thirtythreeforty's std::function<> variant (#4892)
Also convert `batchqueue.cc` where applicable.
2018-11-11 20:32:01 +01:00
Flössie
5906329485 Review IdleRegister (#4892)
This turns `IdleRegister::add()` into a template function to make the
provided function pointers type safe. It also adds a `delete_data`
parameter to manage the provided data pointer even in `destroy()`.
2018-10-28 13:12:01 +01:00
Hombre
785a0e6a46 Merge branch 'dev' into hidpi-icons 2018-10-25 20:43:41 +02:00
Hombre
4eb8a8f70c Adding HiDPI support (WIP) 2018-10-25 20:22:33 +02:00
heckflosse
adcbdd4f4f Remove some printfs introduced with 0d61f14 2018-10-12 00:22:48 +02:00
Hombre
da0830c794 Merge remote-tracking branch 'origin/scrolled-toolbar-fix' into dev 2018-10-09 20:45:01 +02:00
heckflosse
78989731f5 Always use icons for tab headers, #4772 2018-09-18 11:37:15 +02:00
Hombre
0d61f14bae Added support for GDK_SCROLL_SMOOTH in some widgets
see #4781, #4786
2018-09-15 21:14:48 +02:00
Hombre
caffc3a23d Bugfix: the scrollable toolbars was freezing under some circumstances 2018-09-06 23:10:16 +02:00
Hombre
98fc85b68d Revert GDK_SCROLL_SMOOTH scrolling of Toolbars to a fixed step
also remove GUI space in "FileBrowser" widget
see #4035
2018-09-04 23:06:17 +02:00
Hombre
b226c125ce Scrollable toolbars has been named, and 'scrollableToolbar' class added
see #4035
2018-09-03 23:19:37 +02:00
Hombre
758299aa2c Support of GDK_SCROLL_SMOOTH sent by some devices. See #4035. 2018-09-03 00:18:03 +02:00
Hombre
20118c4019 Partially hidden toolbars can now be scrolled with the mouse wheel
...thanks to the new MyScrolledToolbar class (guiutils.h/cc). This is
valid for the FileBrowser tab (first and second line can be scrolled
individually) and the top and bottom bar of the Editor(s) tab.

see #4035
2018-09-02 10:47:44 +02:00
Morgan Hardwood
bb6282fad3 Icons tweaked #4469
- The "light" icon theme is now a little lighter, to increase contrast.
- Toolbox icons are now small.
- Buttons:
  - Buttons without labels which use icons as their only source of info regarding what the button does (e.g. the white-balance pipette button) use normal-sized icons.
  - Labeled buttons which use icons as an auxiliary source of information (e.g. Auto-Crop) now use small icons. Curve type icons are also small even though they have no labels.
- Colored circles are smaller.
- Curve type icons redesigned and small.
- Hand icons (when panning the preview) redesigned to have a clear outline regardless of background color.
- Magnifier icons redesigned to have a thinner magnifier frame and larger inner parts.
- Perspective, distortion and crop icons redesigned.
- Some small icons were missing the `-small` suffix, now renamed.
2018-07-16 12:41:40 +02:00
Morgan Hardwood
522495f4eb Icon cleanup #4469 #3547
Rebased in new branch to cleanup commit history.
2018-07-13 18:13:35 +02:00
luz.paz
c3c3ceac79 Misc. typos
Found via `codespell` 
+ removed rtengine/dcraw.patch per discussion in https://github.com/Beep6581/RawTherapee/pull/4395
2018-02-14 14:07:18 -05:00
Alberto Griggio
e44662a899 updated comment about margin and GTK < 3.20 2017-10-26 09:08:44 +02:00
Alberto Griggio
c3bdd47a62 make MyFileChooserButton behave nicely with CSS themes
Note: I still had to hardcode a set_border_width(2) for GTK+ < 3.20, because nothing I tried on the CSS worked...
2017-10-25 22:35:26 +02:00
Alberto Griggio
8322f03e3d added a default border to MyFileChooserButton, and set the widget name to "MyFileChooserButton" (to allow for CSS customization) 2017-10-25 10:30:19 +02:00
Alberto Griggio
46e3471d0f minor tweak to the ok/cancel button labels of MyFileChooserButton 2017-10-24 15:09:40 +02:00
Alberto Griggio
a0a7b717c1 simplify the implementation of MyFileChooserButton::show_chooser
Do not try to show a native file dialog. I think this would be useless, since
RT already uses non-native dialogs in other places, and I'm not sure it would
be possible to replace all of them (e.g. in icmpanel.cc the dialog is
customized by adding a checkbox for WB, and this is not possible with a native
dialog).
2017-10-24 14:03:02 +02:00
Alberto Griggio
5be042bcd4 use ALIGN_START for the label of MyFileChooserButton 2017-10-24 12:00:38 +02:00
Alberto Griggio
cf75429648 added set_show_hidden() method to MyFileChooserButton 2017-10-24 11:48:07 +02:00
Alberto Griggio
df8b52f978 implement our own custom FileChooserButton, with the aim of speeding up startup time
See #4140

Compiles fine, but needs testing...
2017-10-24 00:27:55 +02:00
Morgan Hardwood
6723013110 Added L* middle gray preview background color, #4027 2017-08-20 19:14:32 +02:00
heckflosse
5f97800e69 Reduce number of leakes ui handles per editor instance, #3937 2017-06-29 19:09:40 +02:00
heckflosse
ebbb44c3f5 Cleanup for last commit 2017-06-25 21:42:43 +02:00
heckflosse
97e558a040 Fixed some coverity issues 2017-06-12 17:54:34 +02:00
Flössie
bc33b51093 IdleRegister cleanups 2017-05-02 18:45:23 +02:00
Alberto Griggio
7553d86b11 clear the ids map in IdleRegister::destroy (prevent double deallocation)
Fixes #3849
2017-04-29 14:48:54 +02:00
Alberto Griggio
d8e0207b9a Fixed memory leak in IdleRegister::destroy 2017-04-28 21:22:23 +02:00
Morgan Hardwood
0f0f76df0b Unregister handler with glib when callback function returns false 2017-04-28 20:08:07 +02:00
Ingo Weyrich
3ff2519302 Merge pull request #3816 from Beep6581/cppcheck3
Merged to get more tests. Additional fixes will follow.
2017-04-09 23:58:07 +02:00
heckflosse
92a46e9a3d Merge branch 'idle_harder' into dev 2017-04-09 02:18:09 +02:00
heckflosse
6e55f6bab5 Fixed a lot of issues reported by cppcheck 1.78 2017-04-08 22:41:46 +02:00
Alberto Griggio
27e822fdae fixed more warnings in rtgui (reported by gcc but not clang) 2017-04-01 16:43:32 +02:00
Alberto Griggio
6fe04e3990 fixed warnings in rtgui 2017-04-01 15:55:39 +02:00
Flössie
6e1f7df2fb Replace g_idle_add_full() with IdleRegister (#3767) 2017-03-30 21:40:09 +02:00