The Winamp Remote Control suite
a remote control client and plugin for Winamp 2.x, 5.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
AboutF.h
Go to the documentation of this file.
1 
2 #ifndef AboutFH
3 #define AboutFH
4 
5 #include <Forms.hpp>
6 #include <StdCtrls.hpp>
7 #include <Controls.hpp>
8 #include <Classes.hpp>
9 #include <ExtCtrls.hpp>
10 #include <Menus.hpp>
11 #include <ComCtrls.hpp>
12 
13 #include "AboutGLDisplay.h"
14 
15 class TfrmAbout : public TForm
16 {
17 __published: // IDE-managed Components
18  TPanel *TheControl;
19  TTimer *tmrMain;
20  void __fastcall FormCreate(TObject *Sender);
21  void __fastcall FormDestroy(TObject *Sender);
22  void __fastcall FormMouseDown(TObject *Sender, TMouseButton Button,
23  TShiftState Shift, int X, int Y);
24  void __fastcall FormMouseMove(TObject *Sender, TShiftState Shift,
25  int X, int Y);
26  void __fastcall FormMouseUp(TObject *Sender, TMouseButton Button,
27  TShiftState Shift, int X, int Y);
28  void __fastcall FormPaint(TObject *Sender);
29  void __fastcall FormResize(TObject *Sender);
30  void __fastcall FormKeyPress(TObject *Sender, char &Key);
31  void __fastcall FormKeyDown(TObject *Sender, WORD &Key,
32  TShiftState Shift);
33 
34  void __fastcall IdleHandler(TObject *Sender);
35  void __fastcall FormShow(TObject *Sender);
36 private: // User declarations
37 
38  HDC hDC;
39  HPALETTE hPalette;
40 
41  void resize();
42  void redraw();
43 
44  AboutGLDisplay* m_aboutDisplay;
45 
46 protected:
47  void __fastcall WMPaletteChanged(TMessage& Msg);
48  void __fastcall WMQueryNewPalette(TMessage& Msg);
49 
50 public: // User declarations
51  __fastcall TfrmAbout(TComponent* Owner);
52 
53 BEGIN_MESSAGE_MAP
54 MESSAGE_HANDLER(WM_PALETTECHANGED,TMessage,WMPaletteChanged)
55 MESSAGE_HANDLER(WM_QUERYNEWPALETTE,TMessage,WMQueryNewPalette)
56 END_MESSAGE_MAP(TForm)
57 
58 };
59 
60 extern PACKAGE TfrmAbout *frmAbout;
61 
62 
63 
64 #endif