~ubuntu-branches/ubuntu/raring/ultrastar-ng/raring

« back to all changes in this revision

Viewing changes to include/screen_practice.h

  • Committer: Bazaar Package Importer
  • Author(s): Miriam Ruiz, Miriam Ruiz, Mario Bonino, Jon Dowland, Ansgar Burchardt
  • Date: 2008-06-07 16:43:18 UTC
  • mfrom: (4.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080607164318-4cnzizck1tp8mrwp
Tags: 0.2.1-1
[ Miriam Ruiz ]
* New Upstream Release (Closes: #453132)
* Removed unneeded patches
* Added packages to build deps:
  + libtool
  + portaudio19-dev | portaudio-dev
  + libboost-dev, libboost-thread-dev, libboost-serialization-dev
  + libboost-program-options-dev, libboost-regex-dev
* Moved shared objects to private directory: /usr/lib/ultraster-ng
* Added rpath to binaries to search for shared objects in the private dir
* Uses ultrastar-ng-gstreamer as default, instead of ultrastar-ng-xine,
  since there are significantly less issues with GStreamer.
* Added patch to fix upstream desktop file
* Added -Wl,-as-needed to LDFLAGS
* Replaced fftw3-dev by libfftw3-dev in build dependencies.
* Standards-Version upgraded to 3.7.3

[ Mario Bonino ]
* Fixed data/Makefile.am to install .desktop file and icon

[ Jon Dowland ]
* add Homepage: control field to source stanza
* fix a bashism in debian/rules (Closes: #478634)

[ Ansgar Burchardt ]
* debian/control: Change XS-Vcs-* to Vcs-*
* Remove Homepage semi-field from description

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
#include <theme.h>
9
9
 
10
10
class CScreenPractice : public CScreen {
11
 
        public:
12
 
        CScreenPractice( char * name );
 
11
  public:
 
12
        CScreenPractice(std::string const& name, unsigned int width, unsigned int height, Analyzer const& analyzer);
13
13
        ~CScreenPractice();
14
 
        void enter(void);
15
 
        void exit(void);
 
14
        void enter();
 
15
        void exit();
16
16
        void manageEvent( SDL_Event event );
17
 
        void draw(void);
18
 
        private:
19
 
        CThemePractice *theme;
20
 
        CairoSVG * cairo_svg_note;
21
 
        CairoSVG * cairo_svg_sharp;
22
 
        unsigned int texture_note;
23
 
        unsigned int texture_sharp;
24
 
        unsigned int bg_texture;
 
17
        void draw();
 
18
  private:
 
19
        Analyzer const& m_analyzer;
 
20
        CThemePractice *theme;
 
21
        CairoSVG* cairo_svg_note;
 
22
        CairoSVG* cairo_svg_sharp;
 
23
        CairoSVG* cairo_svg_peak;
 
24
        unsigned int texture_note;
 
25
        unsigned int texture_sharp;
 
26
        unsigned int bg_texture;
25
27
};
26
28
 
27
29
#endif