forked from cnjinhao/nana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
56 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/* | ||
* A Drawer Implementation | ||
* Nana C++ Library(https://nana.acemind.cn) | ||
* Copyright(C) 2003-2017 Jinhao([email protected]) | ||
* Copyright(C) 2003-2024 Jinhao([email protected]) | ||
* | ||
* Distributed under the Boost Software License, Version 1.0. | ||
* (See accompanying file LICENSE_1_0.txt or copy at | ||
|
@@ -152,14 +152,9 @@ namespace nana | |
void attached(widget&, drawer_trigger&); | ||
drawer_trigger* detached(); | ||
public: | ||
std::function<void(paint::graphics&)> drawing() const; | ||
void drawing(std::function<void(paint::graphics&)>&&); | ||
|
||
#ifndef NANA_DRAWING_REMOVED | ||
void clear(); | ||
void* draw(std::function<void(paint::graphics&)> &&, bool diehard); | ||
void erase(void* diehard); | ||
#endif | ||
drawing_handle drawing(std::function<void(paint::graphics&)>&&, bool diehard) noexcept; | ||
void erase(drawing_handle) noexcept; | ||
private: | ||
void _m_effect_bground_subsequent(); | ||
method_state& _m_mth_state(int pos); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/** | ||
* The fundamental widget class implementation | ||
* Nana C++ Library(https://nana.acemind.cn) | ||
* Copyright(C) 2003-2020 Jinhao([email protected]) | ||
* Copyright(C) 2003-2024 Jinhao([email protected]) | ||
* | ||
* Distributed under the Boost Software License, Version 1.0. | ||
* (See accompanying file LICENSE_1_0.txt or copy at | ||
|
@@ -128,8 +128,7 @@ namespace nana | |
operator dummy_bool_type() const; | ||
operator window() const; | ||
|
||
std::function<void(paint::graphics&)> drawing() const; | ||
void drawing(std::function<void(paint::graphics&)>); | ||
drawing_handle drawing(std::function<void(paint::graphics&)>); | ||
|
||
protected: | ||
std::unique_ptr<::nana::detail::widget_notifier_interface> _m_wdg_notifier(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters