summaryrefslogtreecommitdiffstats
path: root/vncviewer/Viewport.h
Commit message (Collapse)AuthorAgeFilesLines
* Raise FLTK requirement to 1.3.3Pierre Ossman2015-01-271-3/+0
| | | | This means that we can remove a lot of conditionals and fallback code.
* Update FLTK patches based on feeback from upstreamPierre Ossman2014-09-111-1/+1
|
* Add xhandler hookPierre Ossman2014-08-221-0/+2
| | | | | Boiler plate code to intercept system events from FLTK so that we can generate proper keyboard messages.
* Remove simple keyboard modelPierre Ossman2014-08-221-2/+6
| | | | | Remove the FLTK simple keyboard system and reorganise things in preparation for a more direct approach.
* Use PixelBuffer objects as the interface for encoders and decodersPierre Ossman2014-07-141-19/+5
| | | | | | | This avoid a lot of unnecessary middle men. This also pushes the responsibility for pixel format conversion into the encoders and decoders. The new bufferFromBuffer() is used for direct conversion, rather than PixelTransformer/TransImageGetter.
* Provide a better R/W base PixelBuffer classPierre Ossman2014-07-071-2/+3
| | | | | Clearly separates the read API from the write API and also from actual implementation.
* Create a proper interface base class for the viewport's framebufferPierre Ossman2014-07-071-0/+2
| | | | | This allows us to gracefully fall back to the FLTK code in case the platform specific code cannot be used.
* Remove full support for colour mapsPierre Ossman2014-07-071-9/+0
| | | | | | | | | Gets rid of a loooot of code and complexity. Colour map clients are still supported through an automatically generated map, but we lose the ability to develop a client or server that uses colour maps internally.
* Remove some premature optimisationPierre Ossman2014-07-071-54/+12
| | | | Reduces header dependencies.
* Be more consistent in referring to pixel byte streams as buffersPierre Ossman2014-07-071-2/+2
|
* Remove unused method prototypePierre Ossman2014-07-071-1/+0
|
* Clean up header dependencies in the vncviewer directoryPierre Ossman2014-07-071-5/+3
|
* If the client and server are using identical pixel formats, then perform ↵DRC2011-11-031-6/+10
| | | | | | Tight decoding directly into the viewer's back buffer, rather than going through the slow fillRect/imageRect routines. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4757 3789f03b-4d11-0410-bbf8-ca57d06f2519
* - Changes behaviour of context menu to be reinitializeHenrik Andersson2011-09-141-0/+3
| | | | | | | | | | | | before display with intial states. - Fixes for fullscreen contextmenu item to show the current fullscreen state as it was done in the old viewer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4670 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The new viewer stores the framebuffer in a native format, instead ofPierre Ossman2011-07-151-3/+10
| | | | | | | | | converting it on each render like the old one. That means we have to change how we deal with colour maps and make sure it is updated before any changes to the framebuffer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4589 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement optimised drawing operations for OS X. Didn't see any reduction inPierre Ossman2011-06-171-1/+6
| | | | | | | | CPU usage unfortunately, but at least we're now using the native pixel format of our server which avoids a conversion on the server side. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4504 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Flushing screen updates after 100 ms turned out to be too aggressive andPierre Ossman2011-06-131-1/+1
| | | | | | | | | just gave an annoying window blinds effect that made things difficult to read. Reduce things to 500 ms, which should be sufficient to tell that the session isn't completely frozen. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4495 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Optimised drawing routines for Win32, based on the old Windows viewer.Pierre Ossman2011-06-131-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4494 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Optimised drawing routines for X11, roughly based on how the old Unix viewerPierre Ossman2011-06-131-1/+1
| | | | | | | did things. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4493 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Basic framework for more optimised, platform specific, drawing routines.Pierre Ossman2011-06-131-1/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4492 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add support for cursors to the new viewer.Pierre Ossman2011-06-081-0/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4472 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Allow resize of the viewport widget.Pierre Ossman2011-06-011-0/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4459 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Handling a full range of keys for the menu key is not as trivial in FLTK asPierre Ossman2011-05-241-0/+5
| | | | | | | | with raw X11, so do what the Windows client did and restrict the available keys to just the function keys. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4444 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Better handling of the numpad by looking at FLTK's "original key code".Pierre Ossman2011-05-201-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4434 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement support for sending the local clipboard to the server.Pierre Ossman2011-05-191-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4432 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Initial support for context menu, based on Unix vncviewer code.Pierre Ossman2011-04-291-0/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4390 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Split out the graphics and input handling to a separate widget in preparationPierre Ossman2011-04-151-0/+118
for things like scroll bars. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4371 3789f03b-4d11-0410-bbf8-ca57d06f2519