Opera 12.15 Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

windowlistener.h 827B

12345678910111213141516171819202122232425262728293031323334353637
  1. /* -*- Mode: c++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4; c-file-style:"stroustrup" -*-
  2. **
  3. ** Copyright (C) 1995-2001 Opera Software AS. All rights reserved.
  4. **
  5. ** This file is part of the Opera web browser. It may not be distributed
  6. ** under any circumstances.
  7. **
  8. */
  9. #ifndef DOCHAND_WINDOWLISTENER_H
  10. #define DOCHAND_WINDOWLISTENER_H
  11. #include "modules/pi/OpWindow.h"
  12. class Window;
  13. class WindowListener
  14. : public OpWindowListener
  15. {
  16. private:
  17. Window *window;
  18. public:
  19. WindowListener(Window *window);
  20. void OnResize(UINT32 width, UINT32 height);
  21. void OnMove();
  22. void OnRenderingBufferSizeChanged(UINT32 width, UINT32 height);
  23. void OnActivate(BOOL active);
  24. #ifdef GADGET_SUPPORT
  25. void OnShow(BOOL show);
  26. #endif // GADGET_SUPPORT
  27. void OnVisibilityChanged(BOOL vis);
  28. };
  29. #endif // DOCHAND_WINDOWLISTENER_H