3f66f6a5b3
This keyword is not expanded by Git which means it's not replaced with the correct revision value in the releases made using git-based scripts and it's confusing to have lines with unexpanded "$Id$" in the released files. As expanding them with Git is not that simple (it could be done with git archive and export-subst attribute) and there are not many benefits in having them in the first place, just remove all these lines. If nothing else, this will make an eventual transition to Git simpler. Closes #14487. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
82 lines
3.2 KiB
Objective-C
82 lines
3.2 KiB
Objective-C
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: dcscreen.h
|
|
// Purpose: interface of wxScreenDC
|
|
// Author: wxWidgets team
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
/**
|
|
@class wxScreenDC
|
|
|
|
A wxScreenDC can be used to paint on the screen. This should normally be
|
|
constructed as a temporary stack object; don't store a wxScreenDC object.
|
|
|
|
@library{wxcore}
|
|
@category{dc}
|
|
|
|
@see wxDC, wxMemoryDC, wxPaintDC, wxClientDC, wxWindowDC
|
|
*/
|
|
class wxScreenDC : public wxDC
|
|
{
|
|
public:
|
|
/**
|
|
Constructor.
|
|
*/
|
|
wxScreenDC();
|
|
|
|
/**
|
|
Use this in conjunction with StartDrawingOnTop().
|
|
|
|
This function destroys the temporary window created to implement on-top
|
|
drawing (X only).
|
|
*/
|
|
static bool EndDrawingOnTop();
|
|
|
|
/**
|
|
Use this in conjunction with EndDrawingOnTop() to ensure that drawing
|
|
to the screen occurs on top of existing windows. Without this, some
|
|
window systems (such as X) only allow drawing to take place underneath
|
|
other windows.
|
|
|
|
This version of StartDrawingOnTop() is used to specify that the area
|
|
that will be drawn on coincides with the given window. It is
|
|
recommended that an area of the screen is specified with
|
|
StartDrawingOnTop(wxRect*) because with large regions, flickering
|
|
effects are noticeable when destroying the temporary transparent window
|
|
used to implement this feature.
|
|
|
|
You might use this function when implementing a drag feature, for
|
|
example as in the wxSplitterWindow implementation.
|
|
|
|
@remarks This function is probably obsolete since the X implementations
|
|
allow drawing directly on the screen now. However, the fact
|
|
that this function allows the screen to be refreshed
|
|
afterwards, may be useful to some applications.
|
|
*/
|
|
static bool StartDrawingOnTop(wxWindow* window);
|
|
/**
|
|
Use this in conjunction with EndDrawingOnTop() to ensure that drawing
|
|
to the screen occurs on top of existing windows. Without this, some
|
|
window systems (such as X) only allow drawing to take place underneath
|
|
other windows.
|
|
|
|
This version of StartDrawingOnTop() is used to specify an area of the
|
|
screen which is to be drawn on. If @NULL is passed, the whole screen is
|
|
available. It is recommended that an area of the screen is specified
|
|
with this function rather than with StartDrawingOnTop(wxWindow*),
|
|
because with large regions, flickering effects are noticeable when
|
|
destroying the temporary transparent window used to implement this
|
|
feature.
|
|
|
|
You might use this function when implementing a drag feature, for
|
|
example as in the wxSplitterWindow implementation.
|
|
|
|
@remarks This function is probably obsolete since the X implementations
|
|
allow drawing directly on the screen now. However, the fact
|
|
that this function allows the screen to be refreshed
|
|
afterwards, may be useful to some applications.
|
|
*/
|
|
static bool StartDrawingOnTop(wxRect* rect = NULL);
|
|
};
|
|
|