Zaha Mihai
35dadaeab6
Fix tabbar drawing not updated when tab is erased
...
When a tab is deleted using `tabbar::erase`, `trigger::erase` is called. This function does not call `API::refresh_window` if the tab was erased successfully (unlike `trigger::tab_color`, `trigger::tab_image`, etc.), thus the tab is still visible until an interaction is made (like mouse click on `tabbar`).
2019-09-15 23:32:58 +03:00
Jinhao
8a0475c98c
refactor text_renderer
2019-06-20 04:35:29 +08:00
Jinhao
f274ff4c4c
Merge branch 'develop' of https://github.com/beru/nana into beru-develop
2019-04-16 23:39:40 +08:00
beru
a596c7f64e
fix typos
2019-04-14 14:49:01 +09:00
Jinhao
d931ebb61c
filter out the middle and right button for item selection( #413 )
2019-04-10 00:41:04 +08:00
besh81
f20ef2dfb6
Added tab_click event to tabbar control
...
tab_click event is processed when a tab is clicked
2018-11-28 16:57:56 +01:00
besh81
bde0d16243
Added tabbar adding event
...
Fired when the add button of the tabbar is pressed.
Changing the value of arg.add to false the action can be vetoed.
The value arg.where indicates the position of the new item.
2018-10-26 17:12:22 +02:00
Jinhao
81d667dbd7
using C++17 emplace return type
2018-08-27 06:51:20 +08:00
Jinhao
fc7743cbe2
std::string_view
2018-06-09 01:21:10 +08:00
Jinhao
5f77c73aaa
no throw()
2017-12-19 03:30:38 +08:00
Jinhao
4e9646cf64
unify semantics of the blend methods
2017-04-15 11:30:16 +08:00
dankan1890
236ba4356e
Removed some useless static_cast.
2016-08-15 00:07:55 +02:00
Jinhao
9b28c96e9b
code refine
2016-08-11 02:26:47 +08:00
Jinhao
2f716cb83f
Merge branch 'hotfix-1.3' into develop
2016-07-19 23:50:11 +08:00
Jinhao
e73fc679f4
improve tabbar::attach
2016-07-07 07:57:48 +08:00
Jinhao
116787072f
Merge branch 'hotfix-1.3' into develop
2016-04-18 15:16:03 +08:00
Jinhao
42990b8670
move lazy_refresh() from namespace API to API::dev
2016-04-17 17:46:19 +08:00
Jinhao
07b5b19545
improve stability of event
2016-04-10 15:23:44 +08:00
Jinhao
6b6b527007
eliminate -Wextra and -pedantic warnings
2016-03-15 15:46:28 +08:00
Jinhao
a2a7d1fc37
remove deprecated components
2016-01-03 17:50:10 +08:00
Jinhao
48254b6555
use UTF-8 for string representation
2015-12-29 01:26:19 +08:00
Jinhao
7cc173022a
use UTF-8 for string representation
2015-12-28 01:30:26 +08:00
Jinhao
871ddd25af
fix issues of tabbar::relate and tabbar::append
2015-12-08 22:54:27 +08:00
Jinhao
8a243ad0d7
add detection of clang
2015-12-07 02:52:30 +08:00
Jinhao
faa33817e2
add insert/append/erase methods to template class tabbar
2015-12-04 00:20:29 +08:00
Jinhao
67752172a0
fix tabbar flying-close issue
2015-11-02 23:39:32 +08:00
Jinhao
573a5bee86
code review
2015-10-07 18:01:46 +08:00
Jinhao
2f47e89af1
use lambda instead of std::bind
2015-09-27 05:31:42 +08:00
Jinhao
ccb334a907
fix an crash that caused by accessing an non-existing tabbar
2015-09-22 21:05:50 +08:00
Jinhao
8dcd730715
improve dockpane caption
2015-09-21 23:43:00 +08:00
Jinhao
460490040e
improve dockable place
...
add a new API::at_safe_place()
2015-09-20 23:21:44 +08:00
Jinhao
ebd8da13f0
adjust dockpanes when a dockpane is floating/docking
2015-09-01 03:49:38 +08:00
Jinhao
42443dcafd
remove paint::gadget
2015-08-20 01:09:29 +08:00
Jinhao
4323977908
change the implementation of pat::cloneable
2015-08-17 01:37:56 +08:00
Jinhao
42dd27b68f
add a new tabbar_lite widget
2015-08-14 01:38:23 +08:00
Jinhao
28413b7f25
explicit conversion from point/size to rectangle
2015-06-22 11:30:14 +08:00
cnjinhao
0597d895b4
gadget::arrow_16_pixels is replaced with element arrow
2015-01-19 17:44:18 +08:00
cnjinhao
aa12254844
Added listbox color scheme
2014-12-30 06:28:23 +08:00
cnjinhao
ad7c36be3f
Renamed expr_color to color
2014-12-24 02:07:39 +08:00
cnjinhao
e64b6ec2b2
Breaking changes for expr_color
...
Removed the typedef-name nana::color_t
2014-12-18 13:08:44 +08:00
cnjinhao
42788db077
Breaking changes for expr_color
...
expr_color is a temporary class name for new color type experiment.
2014-12-17 11:20:47 +08:00
cnjinhao
d0a317bd45
first init of 0.9
2014-12-11 03:32:35 +08:00