Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

audiowidget.cpp File Reference

#include "audiowidget.h"
#include "mediaplayerstate.h"
#include <qpe/qpeapplication.h>
#include <qpe/config.h>
#include <opie2/odebug.h>
#include <opie2/oresource.h>
#include <qdir.h>
#include <stdlib.h>
#include <stdio.h>

Include dependency graph for audiowidget.cpp:

Go to the source code of this file.

Functions

static void changeTextColor (QWidget *w)
QPixmap * combineImageWithBackground (QImage img, QPixmap bg, QPoint offset)
QPixmap * maskPixToMask (QPixmap pix, QBitmap mask)
static QString timeAsString (long length)

Variables

MediaPlayerStatemediaPlayerState
static const int xo = -2
static const int yo = 22
MediaButton audioButtons []
const char * skin_mask_file_names [10]
static const int numButtons = (sizeof(audioButtons)/sizeof(MediaButton))
static bool audioSliderBeingMoved = FALSE


Function Documentation

static void changeTextColor QWidget *  w  )  [static]
 

Definition at line 66 of file audiowidget.cpp.

References p.

Referenced by AudioWidget::AudioWidget().

QPixmap* combineImageWithBackground QImage  img,
QPixmap  bg,
QPoint  offset
 

Definition at line 197 of file audiowidget.cpp.

References p, and pix.

QPixmap* maskPixToMask QPixmap  pix,
QBitmap  mask
 

Definition at line 206 of file audiowidget.cpp.

Referenced by AudioWidget::resizeEvent().

static QString timeAsString long  length  )  [static]
 

Definition at line 300 of file audiowidget.cpp.

Referenced by AudioWidget::updateSlider().


Variable Documentation

MediaButton audioButtons[]
 

Initial value:

 {
   { TRUE,  FALSE, FALSE }, 
   { FALSE, FALSE, FALSE }, 
   { FALSE, FALSE, FALSE }, 
   { FALSE, FALSE, FALSE }, 
   { FALSE, FALSE, FALSE }, 
   { FALSE, FALSE, FALSE }, 
   { TRUE,  FALSE, FALSE }, 
   { FALSE, FALSE, FALSE }, 
   { FALSE, FALSE, FALSE }, 
   { FALSE, FALSE, FALSE }  
}

Definition at line 48 of file audiowidget.cpp.

bool audioSliderBeingMoved = FALSE [static]
 

Definition at line 246 of file audiowidget.cpp.

MediaPlayerState* mediaPlayerState
 

Definition at line 30 of file main.cpp.

const int numButtons = (sizeof(audioButtons)/sizeof(MediaButton)) [static]
 

Definition at line 73 of file audiowidget.cpp.

Referenced by TicTacGameBoard::computerMove(), AudioWidget::mouseMoveEvent(), and AudioWidget::paintEvent().

const char* skin_mask_file_names[10]
 

Initial value:

 {
   "play", "stop", "next", "prev", "up",
   "down", "loop", "playlist", "forward", "back"
}

Definition at line 61 of file audiowidget.cpp.

Referenced by AudioWidget::AudioWidget().

const int xo = -2 [static]
 

Definition at line 39 of file audiowidget.cpp.

Referenced by FlatStyle::drawScrollBarControls().

const int yo = 22 [static]
 

Definition at line 40 of file audiowidget.cpp.


Generated on Sat Nov 5 16:23:18 2005 for OPIE by  doxygen 1.4.2