* infopanels.hpp: Information panels (statistics, general info, ...)
*****************************************************************************
* Copyright (C) 1999-2005 the VideoLAN team
- * $Id: iteminfo.hpp 13905 2006-01-12 23:10:04Z dionoea $
+ * $Id$
*
- * Authors: Clément Stenac <zorglub@videolan.org>
+ * Authors: Clément Stenac <zorglub@videolan.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
namespace wxvlc
{
-class ItemInfoPanel: public wxPanel
+class MetaDataPanel: public wxPanel
{
public:
/* Constructor */
- ItemInfoPanel( intf_thread_t *p_intf, wxWindow *p_parent, bool );
- virtual ~ItemInfoPanel();
+ MetaDataPanel( intf_thread_t *p_intf, wxWindow *p_parent, bool );
+ virtual ~MetaDataPanel();
void Update( input_item_t *);
void Clear();
+ char* GetURI();
+ char* GetName();
+
+ void OnOk();
+ void OnCancel();
+
+private:
+ DECLARE_EVENT_TABLE();
+
+ intf_thread_t *p_intf;
+ input_item_t *p_item;
+ wxWindow *p_parent;
+
+ wxTextCtrl *uri_text;
+ wxTextCtrl *name_text;
+ wxStaticText *uri_label;
+ wxStaticText *name_label;
+
+ wxStaticText *artist_text;
+ wxStaticText *genre_text;
+ wxStaticText *copyright_text;
+ wxStaticText *collection_text;
+ wxStaticText *seqnum_text;
+ wxStaticText *description_text;
+ wxStaticText *rating_text;
+ wxStaticText *date_text;
+ wxStaticText *setting_text;
+ wxStaticText *language_text;
+ wxStaticText *nowplaying_text;
+ wxStaticText *publisher_text;
+
+ bool b_modifiable;
+};
+
+
+class AdvancedInfoPanel: public wxPanel
+{
+public:
+ /* Constructor */
+ AdvancedInfoPanel( intf_thread_t *p_intf, wxWindow *p_parent );
+ virtual ~AdvancedInfoPanel();
+
+ void Update( input_item_t *);
+ void Clear();
+
+
+ char* GetURI();
+ char* GetName();
+
void OnOk();
void OnCancel();
input_item_t *p_item;
wxWindow *p_parent;
+ wxBoxSizer *panel_sizer;
+ wxFlexGridSizer *sizer;
+
+ wxFlexGridSizer *input_sizer;
+ wxStaticBoxSizer *input_bsizer;
wxStaticText *read_bytes_text;
wxStaticText *input_bitrate_text;
wxStaticText *demux_bytes_text;
wxStaticText *demux_bitrate_text;
+ wxFlexGridSizer *video_sizer;
+ wxStaticBoxSizer *video_bsizer;
wxStaticText *video_decoded_text;
wxStaticText *displayed_text;
wxStaticText *lost_frames_text;
+
+ wxFlexGridSizer *sout_sizer;
+ wxStaticBoxSizer *sout_bsizer;
+ wxStaticText *sout_sent_packets_text;
+ wxStaticText *sout_sent_bytes_text;
+ wxStaticText *sout_send_bitrate_text;
+
+ wxFlexGridSizer *audio_sizer;
+ wxStaticBoxSizer *audio_bsizer;
+ wxStaticText *audio_decoded_text;
+ wxStaticText *played_abuffers_text;
+ wxStaticText *lost_abuffers_text;
};
};
#endif