Canvas widgets: Difference between revisions

Jump to navigation Jump to search
Line 180: Line 180:
{{Progressbar|60}}
{{Progressbar|60}}
Needs to be individually implemented for each supported window manager environment (Windows, OSX, X11):
Needs to be individually implemented for each supported window manager environment (Windows, OSX, X11):
* X11: https://gitorious.org/~tomprogs/fg/toms-flightgear/blobs/0a9d3e8cf0792164055ebedcf34acb37fbc635d4/src/Scripting/ClipboardX11.cxx
* X11: https://gitorious.org/~tomprogs/fg/toms-flightgear/blobs/clipboard/src/Scripting/ClipboardX11.cxx {{Pending}}
* Windows: https://gitorious.org/~tomprogs/fg/toms-flightgear/blobs/0a9d3e8cf0792164055ebedcf34acb37fbc635d4/src/Scripting/ClipboardWindows.cxx
* Windows: https://gitorious.org/~tomprogs/fg/toms-flightgear/blobs/clipboard/src/Scripting/ClipboardWindows.cxx {{Done}}
* OSX: Base on following file: https://gitorious.org/~tomprogs/fg/toms-flightgear/blobs/0a9d3e8cf0792164055ebedcf34acb37fbc635d4/src/Scripting/ClipboardFallback.cxx
* OSX: Base on following file: https://gitorious.org/~tomprogs/fg/toms-flightgear/blobs/clipboard/src/Scripting/ClipboardFallback.cxx {{Not done}}


A basic implementation is available which is not complete and needs some testing: https://gitorious.org/~tomprogs/fg/toms-flightgear/commit/0a9d3e8cf0792164055ebedcf34acb37fbc635d4
A basic implementation is available which is not complete and needs some testing: https://gitorious.org/fg/toms-flightgear/commits/clipboard


* '''Hooray''': "Also, copy/paste usually involves getting a bounding box for the area and retrieving the text in that area (drawing a rectangle and inverting the font color)"
* '''Hooray''': "Also, copy/paste usually involves getting a bounding box for the area and retrieving the text in that area (drawing a rectangle and inverting the font color)"
166

edits

Navigation menu