Free Electron
SurfaceDrawOp.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __optest_SurfaceDrawOp_h__
8 #define __optest_SurfaceDrawOp_h__
9 namespace fe
10 {
11 namespace ext
12 {
13 
14 /**************************************************************************//**
15  @brief Draw input surface to brush
16 
17  @ingroup optest
18 *//***************************************************************************/
19 class FE_DL_EXPORT SurfaceDrawOp:
20  public OperatorSurfaceCommon,
21  public Initialize<SurfaceDrawOp>
22 {
23  public:
24 
25  SurfaceDrawOp(void):
26  m_keepInput(FALSE) {}
27 virtual ~SurfaceDrawOp(void) {}
28 
29  void initialize(void);
30 
31  //* As HandlerI
32 virtual void handle(Record& a_rSignal);
33 
34  private:
35  WindowEvent m_event;
36 
37  BWORD m_keepInput;
38  sp<SurfaceI> m_spInput;
39  sp<DrawBufferI> m_spDrawBuffer;
40  sp<DrawMode> m_spDrawSolid;
41 };
42 
43 } /* namespace ext */
44 } /* namespace fe */
45 
46 #endif /* __optest_SurfaceDrawOp_h__ */
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Generalized windowing event.
Definition: WindowEvent.h:43
Draw input surface to brush.
Definition: SurfaceDrawOp.h:19
Partial Generic SurfaceI Implemention.
Definition: OperatorSurfaceCommon.h:20
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53