diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-02-25 17:22:00 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-02-25 17:22:00 +0000 |
commit | bf0ab54638a5ef969749f6ceae30e864f9556ea8 (patch) | |
tree | 11690c2184e55d37bcd3c7fd13f3d0d9d20dbcb0 /c++/cursesapp.cc | |
parent | 72c3fc31f590566e93496732d6fa769cd353e270 (diff) | |
download | src-vendor/ncurses.tar.gz src-vendor/ncurses.zip |
Vendor import ncurses 6.2-20210220vendor/ncurses/6.2-20210220vendor/ncurses
Diffstat (limited to 'c++/cursesapp.cc')
-rw-r--r-- | c++/cursesapp.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/c++/cursesapp.cc b/c++/cursesapp.cc index 522c57065091..81f60983ab62 100644 --- a/c++/cursesapp.cc +++ b/c++/cursesapp.cc @@ -36,7 +36,7 @@ #include "internal.h" #include "cursesapp.h" -MODULE_ID("$Id: cursesapp.cc,v 1.17 2020/02/02 23:34:34 tom Exp $") +MODULE_ID("$Id: cursesapp.cc,v 1.18 2020/07/18 19:57:11 anonymous.maarten Exp $") void NCursesApplication::init(bool bColors) @@ -69,6 +69,11 @@ NCursesApplication* NCursesApplication::theApp = 0; NCursesWindow* NCursesApplication::titleWindow = 0; NCursesApplication::SLK_Link* NCursesApplication::slk_stack = 0; + +NCursesWindow *&NCursesApplication::getTitleWindow() { + return titleWindow; +} + NCursesApplication::~NCursesApplication() THROWS(NCursesException) { Soft_Label_Key_Set* S; @@ -87,6 +92,10 @@ NCursesApplication::~NCursesApplication() THROWS(NCursesException) ::endwin(); } +NCursesApplication* NCursesApplication::getApplication() { + return theApp; +} + int NCursesApplication::rinit(NCursesWindow& w) { titleWindow = &w; |