From a9412b41bb7f1012402400e56d8dd71f93709f6f Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 21 Mar 2022 11:41:40 +0100 Subject: Issue #359 RFE: access the MacOS windowid . --- src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/drivers/Cocoa') diff --git a/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H b/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H index 3003e3904..60569ff3f 100644 --- a/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H +++ b/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H @@ -2,7 +2,7 @@ // Definition of Apple Cocoa window driver // for the Fast Light Tool Kit (FLTK). // -// Copyright 2010-2018 by Bill Spitzak and others. +// Copyright 2010-2022 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -162,6 +162,8 @@ public: //icons virtual void icons(const Fl_RGB_Image *icons[], int count); NSImage *icon_image; + + virtual fl_uintptr_t os_id(); }; class Fl_Cocoa_Plugin : public Fl_Plugin { -- cgit v1.2.3