Flössie
e39726dbf7
Return first frame in FramesData
on OOB access ( #4830 )
2019-02-20 20:55:07 +01:00
Flössie
b08fb04dae
Convert almost all IdleRegister::add()
calls to add(std::function<>)
2019-01-01 15:53:39 +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
Flössie
2125f42116
Turn almost all Listeners into abstract interfaces
2018-10-09 20:32:40 +02:00
Roel Baars
7e36e86dfb
Fixed a stupid typo
2018-09-23 17:10:54 +02:00
Roel Baars
82187ae60e
Fix for #4829 - RGB bar shows when it shouldn't
2018-09-23 16:21:46 +02:00
Roel Baars
401f6fa8e4
Should fix coverity issue 191811 - and a little extra
2018-09-20 07:58:54 +02:00
Thanatomanic
85d55ebeb6
Modifications to store histogram settings across sessions
2018-09-13 07:46:43 +02:00
Roel Baars
d3f70cc6ab
Merge branch 'dev' into histogram-scaling
2018-08-23 16:17:00 +02:00
heckflosse
79707ed1ea
Fix broken RGB indicator bar
2018-08-23 16:11:11 +02:00
Thanatomanic
8109b17675
Draw grid below curves, make luminance area transparent
2018-08-22 17:37:51 +02:00
Thanatomanic
12ab150c0a
RGB-bar correctly shows actual cursor values in all modes
2018-08-17 12:47:52 +02:00
Thanatomanic
d292120ff6
Resolve merge conflicts with new icons
2018-07-20 10:40:49 +04:30
Morgan Hardwood
522495f4eb
Icon cleanup #4469 #3547
...
Rebased in new branch to cleanup commit history.
2018-07-13 18:13:35 +02:00
Thanatomanic
aed90f29ea
Try something new: click-and-drag to modify scaling. Feedback appreciated.
2018-07-12 09:01:30 +02:00
Thanatomanic
5cdbf9a49a
Change histogram v-gridlines to stops in all cases
2018-07-11 08:13:11 +02:00
Thanatomanic
531868b01a
New vertical gridline divisions based on @heckflosse's insight. And a minor correction from 265 to 255
2018-07-07 07:51:41 +02:00
Thanatomanic
cebded3a2d
RAW histogram now correctly shows 8 stops
2018-07-06 18:00:32 +02:00
Thanatomanic
5419b9dd20
Minor update to drawing of histogram
...
After some pixel peeping I made sure the histogram lines stay within the drawing area completely
2018-07-06 07:18:42 +02:00
Thanatomanic
4dd85ea875
Now it works: histogram always shows gridlines for 8 stops in log-log mode
2018-07-05 08:29:37 +02:00
Thanatomanic
7960e07bfe
Histogram always shows gridlines for 8 stops in log-log mode
2018-07-05 08:24:09 +02:00
Thanatomanic
f5d9f9529a
Removed freeze-mode for the histogram bar
2018-07-02 19:48:24 +02:00
Thanatomanic
860fb73cd4
Histogram scaling toolip updated
2018-07-02 19:01:34 +02:00
Thanatomanic
bb2631d3fb
Also turn the chroma indicator in the bar yellow
2018-06-30 20:21:10 +02:00
Thanatomanic
b3dcb915b1
Corrects typo that fixes halign behavior. Chroma color test: yellow
2018-06-30 19:52:37 +02:00
Thanatomanic
293d0d7e2b
Final fix? Included shorthand suggested by Hombre
2018-06-30 18:31:50 +02:00
Thanatomanic
da5fd6fac8
Removed histogramAspect in favor of histogramHeight, which sets the panelheight properly and consistently on restarting.
2018-06-29 21:56:06 +02:00
Thanatomanic
08cad72be0
Modifications such that the aspect ratio of the histogram is stored between sessions. Additionally, the scaling behavior is changed slightly to make the code easier without being to different from the current situation.
2018-06-28 19:04:19 +02:00
Thanatomanic
46753c6a27
Tried to go back to default 2:1 ratio, but the Gtk::Paned keeps setting a different default height...
2018-06-20 07:05:19 +02:00
Thanatomanic
19c38fd2cd
Revert small change in size of RGB bar. TooWaBoo's CSS works just fine!
2018-06-20 06:32:01 +02:00
Thanatomanic
9e735b2640
Big update: 1) implemented scalable histogram (TooWaBoo's CSS untested but probably unnecessary now); 2) reverted graphical changes; 3) gridlines now multiply based on height and width; 4) removed cube-scaling; 5) implementend double-log scaling as the third alternative based on suggestion by @iliasg
2018-06-17 10:01:16 +02:00
Thanatomanic
c8bddca09b
Changed back the order of the buttons
2018-06-16 08:57:50 +02:00
Thanatomanic
ab5ce7f130
Full functional button now. Reverted a minor change from unsigned int to int.
2018-06-15 23:22:23 +02:00
Thanatomanic
dec54d00ad
Big update: implemented toggling between three modes. Button does not yet update when double clicking. Completely removed fullMode-related code.
2018-06-15 23:16:20 +02:00
Thanatomanic
658d975fa1
Definitely disable luma now
2018-06-15 20:42:26 +02:00
Thanatomanic
09a93c72bb
Disable show luma by default - clutter
2018-06-15 20:21:56 +02:00
Thanatomanic
bd831d1043
Change the looks of the histogram (inspired by darktable) with overlapping shades
2018-06-15 20:11:30 +02:00
Thanatomanic
0d3e7f02ad
Stupid typo and a comment
2018-06-15 07:18:58 +02:00
Thanatomanic
646d1edcd2
Change aspect ratio of histogram (make bigger)
2018-06-15 07:08:02 +02:00
Thanatomanic
c4853034ed
Total removal of fullMode
2018-06-14 21:58:51 +02:00
Roel Baars
4481fa4699
Preparation work: remove fullMode
...
fullMode will be removed, since it seems unnecessary when you can toggle between different scalings of the histogram.
2018-06-14 20:55:58 +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
heckflosse
e7d90ec1a2
Improve accuracy of Y to L conversion, fixes #4338
2018-01-29 21:17:34 +01:00
heckflosse
96bf06a950
Removed most of the __x86_64__ dependencies. Also removed _RT_NESTED_OPENMP
2018-01-23 16:05:31 +01:00
heckflosse
8aff354df9
Fix some coverity and cppcheck issues
2017-06-18 18:40:40 +02:00
heckflosse
92a46e9a3d
Merge branch 'idle_harder' into dev
2017-04-09 02:18:09 +02:00
Alberto Griggio
27e822fdae
fixed more warnings in rtgui (reported by gcc but not clang)
2017-04-01 16:43:32 +02:00
Flössie
91b44dbd08
Replace all g_idle_add
s with IdleRegister
( #3767 )
2017-03-26 22:03:33 +02:00
Hombre
965cadb52e
New batch of update for issue 3446
...
This commit include :
- cleanup rtgui/retinex.cc file (constructor only) and switched to
Gtk::Grid (the new standard) instead of Gtk::Box. This however doesn't
solve the issue of the Transmission curves in the Retinex tool, with
wrong resize of the Frame when folding/unfolding the curves.
- better alignment of the Histogram panel now with 4px of padding on the
left and right side
- Threshold selector now use the Scale's Trough style to draw its box
and sliders
- Curve's background are darker and restricted to the curve diagram
- Diagonal and Flat curves has been converted to Gtk::Grid as well
- A special color is now used for unsensitive Threshold selector and
Sclaes widgets
- Gap around the main Window has been removed on windows to circumvent a
bug in Gtk3, but the window can now only be maximized (usual use case)
or resized vertically by the top border only.
- Buttons at the bottom of the Editor panel has now the same height
2016-11-01 20:39:41 +01:00
Hombre
e4e474ca8a
Merge branch 'gtk3' into gtk3-bugfix
2016-10-28 23:48:22 +02:00