summaryrefslogtreecommitdiff
path: root/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-09-01 11:55:41 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-09-01 11:55:41 +0200
commitb75d7526fde03a9a831fd21afa38efeaa5d55a24 (patch)
treea944512f05dacf3cccb07ab38c48d2fb085e2b38 /src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx
parentb4686f0e5bc4cd871eab50e5e474a8c55ad61845 (diff)
Simplify Fl_Window_Driver::screen_num() member functions.
Diffstat (limited to 'src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx')
-rw-r--r--src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx
index 5f8c40d8d..45e5cb39e 100644
--- a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx
+++ b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx
@@ -55,20 +55,9 @@ Fl_WinAPI_Window_Driver::~Fl_WinAPI_Window_Driver()
delete icon_;
}
-int Fl_WinAPI_Window_Driver::screen_num() {
- if (pWindow->parent()) {
- screen_num_ = Fl_Window_Driver::driver(pWindow->top_window())->screen_num();
- }
- return screen_num_ >= 0 ? screen_num_ : 0;
-}
//FILE*LOG=fopen("log.log","w");
-void Fl_WinAPI_Window_Driver::screen_num(int n) {
-//fprintf(LOG, "screen_num setter old=%d new=%d\n",screen_num_, n);fflush(LOG);
- screen_num_ = n;
-}
-
RECT // frame of the decorated window in screen coordinates
Fl_WinAPI_Window_Driver::border_width_title_bar_height(