https://github.com/markandre13/toad-macosx
C++ GUI Library for macOS™ & Fischland Vector Graphics Editor
https://github.com/markandre13/toad-macosx
Last synced: 8 months ago
JSON representation
C++ GUI Library for macOS™ & Fischland Vector Graphics Editor
- Host: GitHub
- URL: https://github.com/markandre13/toad-macosx
- Owner: markandre13
- License: gpl-2.0
- Archived: true
- Created: 2021-04-29T20:17:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-29T20:32:56.000Z (about 5 years ago)
- Last Synced: 2025-03-30T00:16:25.856Z (about 1 year ago)
- Language: C++
- Homepage:
- Size: 2.26 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
README
Please note: There's GNU GPL v3 stuff within some files.
This is an experimental port of the TOAD C++ GUI Library to Mac OS X's Cocoa
+: done
-: todo
o TWindow
+ create/destroy
+ parentless window
+ end application when last parentless window is closed
+ nest windows
+ background color
+ paint events
+ mouse events
+ getRootPos
- implement doModalLoop (required for modal dialogs)
o TMenuBar
+ place menubutton in popup
- resizing a menubar causes lots windows created and destroyed: stop this!
o TPen
+ draw line
+ draw string
o TFont
+ create/destroy
----------------
a "key window" is the one which currently receives keyboard events.
a "main window" is the one highlighted.
"key window" and "main window" are usually the same. exceptions are small
dialogs which affect the main window, ie. a save file dialog.
an example for a window which doesn't become a key window is NSPanel.
isKeyWindow
canBecomeKeyWindow
default is 'YES'
makeKeyWindow
becomeKeyWindow
resignKeyWindow
acceptsFirstMouse
acceptsFirstResponder
becomeFirstResponder
resignFirstResponder