]> git.sesse.net Git - vlc/blob - modules/gui/win32/messages.h
* Fixed the "RichEdit line insertion error" bug (closes #246)
[vlc] / modules / gui / win32 / messages.h
1 /*****************************************************************************\r
2  * messages.h: log window\r
3  *****************************************************************************\r
4  * Copyright (C) 2002 VideoLAN\r
5  *\r
6  * Authors: Olivier Teuliere <ipkiss@via.ecp.fr>\r
7  *\r
8  * This program is free software; you can redistribute it and/or modify\r
9  * it under the terms of the GNU General Public License as published by\r
10  * the Free Software Foundation; either version 2 of the License, or\r
11  * (at your option) any later version.\r
12  * \r
13  * This program is distributed in the hope that it will be useful,\r
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
16  * GNU General Public License for more details.\r
17  *\r
18  * You should have received a copy of the GNU General Public License\r
19  * along with this program; if not, write to the Free Software\r
20  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.\r
21  *****************************************************************************/\r
22 \r
23 #ifndef messagesH\r
24 #define messagesH\r
25 //---------------------------------------------------------------------------\r
26 #include <Classes.hpp>\r
27 #include <Controls.hpp>\r
28 #include <StdCtrls.hpp>\r
29 #include <Forms.hpp>\r
30 #include <ComCtrls.hpp>\r
31 #include <Menus.hpp>\r
32 //---------------------------------------------------------------------------\r
33 class TMessagesDlg : public TForm\r
34 {\r
35 __published:    // IDE-managed Components\r
36     TRichEdit *RichEditMessages;\r
37     TButton *ButtonOK;\r
38     TPopupMenu *PopupMenu1;\r
39     TMenuItem *PopupCopyText;\r
40     void __fastcall ButtonOKClick( TObject *Sender );\r
41     void __fastcall FormHide( TObject *Sender );\r
42     void __fastcall FormShow( TObject *Sender );\r
43     void __fastcall PopupCopyTextClick( TObject *Sender );\r
44 private:        // User declarations\r
45     intf_thread_t *p_intf;\r
46 public:         // User declarations\r
47     __fastcall TMessagesDlg( TComponent* Owner, intf_thread_t *_p_intf );\r
48     void __fastcall UpdateLog();\r
49 };\r
50 //---------------------------------------------------------------------------\r
51 #endif\r