~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to aktion/aktionVm.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef AKTIONVM_H
 
2
#define AKTIONVM_H
 
3
 
 
4
#include "config.h"
 
5
 
 
6
#ifdef XF86_VM
 
7
 
 
8
#include <qwidget.h>
 
9
 
 
10
/**
 
11
* Class for VMode and DGA interaction
 
12
*
 
13
* @short Class for VMode and DGA interaction.
 
14
* @author Guillermo P. Marotte (g-marotte@usa.net)
 
15
* @version 0.1
 
16
*/
 
17
 
 
18
class aktionVm : public QWidget
 
19
{
 
20
private:
 
21
   int prevW;
 
22
   int prevH;
 
23
public:
 
24
   aktionVm(QWidget *);
 
25
   /**
 
26
   * This function tries to set the requested video mode
 
27
   * Parameters: width and height
 
28
   * Returns   : width and height of the closest video mode available
 
29
                 TRUE if the mode is available
 
30
                 FALSE if the mode is too big
 
31
   */
 
32
   bool setVideoMode(int*,int*);
 
33
   /**
 
34
   * Returns to the previous video mode.
 
35
   */
 
36
   void resetVideoMode();
 
37
};
 
38
 
 
39
#endif // XF86_VM
 
40
#endif // AKTIONVM_H
 
41