~ubuntu-branches/ubuntu/trusty/guayadeque/trusty

« back to all changes in this revision

Viewing changes to src/.svn/text-base/CoverFrame.h.svn-base

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2011-02-09 13:39:39 UTC
  • mfrom: (3.1.2 maverick)
  • Revision ID: james.westby@ubuntu.com-20110209133939-w4i25g4hvsgw4yvw
Tags: 0.2.7-3
* Upload to unstable.
* Pass -Wl,--as-needed to the linker.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// -------------------------------------------------------------------------------- //
 
2
//      Copyright (C) 2008-2010 J.Rios
 
3
//      anonbeat@gmail.com
 
4
//
 
5
//    This Program is free software; you can redistribute it and/or modify
 
6
//    it under the terms of the GNU General Public License as published by
 
7
//    the Free Software Foundation; either version 2, or (at your option)
 
8
//    any later version.
 
9
//
 
10
//    This Program is distributed in the hope that it will be useful,
 
11
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 
13
//    GNU General Public License for more details.
 
14
//
 
15
//    You should have received a copy of the GNU General Public License
 
16
//    along with this program; see the file LICENSE.  If not, write to
 
17
//    the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 
18
//    http://www.gnu.org/copyleft/gpl.html
 
19
//
 
20
// -------------------------------------------------------------------------------- //
 
21
#ifndef COVERFRAME_H
 
22
#define COVERFRAME_H
 
23
 
 
24
#include <wx/wx.h>
 
25
#include "PlayerPanel.h"
 
26
 
 
27
// -------------------------------------------------------------------------------- //
 
28
class guCoverFrame : public wxFrame
 
29
{
 
30
  protected:
 
31
    wxStaticBitmap * m_CoverBitmap;
 
32
    bool             m_CapturedMouse;
 
33
    wxTimer *        m_AutoCloseTimer;
 
34
 
 
35
    void CoverFrameActivate( wxActivateEvent &event );
 
36
    void OnClick( wxMouseEvent &event );
 
37
    void OnCaptureLost( wxMouseCaptureLostEvent &event );
 
38
    void OnMouse( wxMouseEvent &event );
 
39
    void OnTimer( wxTimerEvent &event );
 
40
 
 
41
  public:
 
42
    guCoverFrame( wxWindow * parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 293, 258 ), long style = 0|wxTAB_TRAVERSAL );
 
43
    ~guCoverFrame();
 
44
    void SetBitmap( const guSongCoverType CoverType, const wxString &CoverPath = wxEmptyString );
 
45
 
 
46
};
 
47
 
 
48
#endif
 
49
// -------------------------------------------------------------------------------- //
 
50
 
 
51