home *** CD-ROM | disk | FTP | other *** search
/ Amiga Magazin: Amiga-CD 2000 April & May / AMIGA_2000_04.iso / patches / mesa3.1 / mesa-glut.lha / src-glut.aos / glutVideo.c < prev    next >
Encoding:
C/C++ Source or Header  |  1999-07-02  |  1.7 KB  |  66 lines

  1. /*
  2.  * Amiga GLUT graphics library toolkit
  3.  * Version:  1.1
  4.  * Copyright (C) 1998 Jarno van der Linden
  5.  *
  6.  * This library is free software; you can redistribute it and/or
  7.  * modify it under the terms of the GNU Library General Public
  8.  * License as published by the Free Software Foundation; either
  9.  * version 2 of the License, or (at your option) any later version.
  10.  *
  11.  * This library is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  14.  * Library General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU Library General Public
  17.  * License along with this library; if not, write to the Free
  18.  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  */
  20.  
  21. /*
  22.  * glutVideo.c
  23.  *
  24.  * Version 1.0  27 Jun 1998
  25.  * by Jarno van der Linden
  26.  * jarno@kcbbs.gen.nz
  27.  *
  28.  */
  29.  
  30. #include <inline/dos.h>
  31.  
  32. #include "glutstuff.h"
  33.  
  34. int glutVideoResizeGet(GLenum param) {
  35.  
  36.   switch (param) {
  37.     case GLUT_VIDEO_RESIZE_POSSIBLE:
  38.     case GLUT_VIDEO_RESIZE_IN_USE:
  39.       return 0;
  40.     case GLUT_VIDEO_RESIZE_X_DELTA:
  41.     case GLUT_VIDEO_RESIZE_Y_DELTA:
  42.     case GLUT_VIDEO_RESIZE_WIDTH_DELTA:
  43.     case GLUT_VIDEO_RESIZE_HEIGHT_DELTA:
  44.     case GLUT_VIDEO_RESIZE_X:
  45.     case GLUT_VIDEO_RESIZE_Y:
  46.     case GLUT_VIDEO_RESIZE_WIDTH:
  47.     case GLUT_VIDEO_RESIZE_HEIGHT:
  48.       return -1;
  49.     default:
  50.       Printf("invalid glutVideoResizeGet parameter: %ld", param);
  51.       return -1;
  52.   }
  53. }
  54.  
  55. void glutSetupVideoResizing(void) {
  56. }
  57.  
  58. void glutStopVideoResizing(void) {
  59. }
  60.  
  61. void glutVideoResize(int x, int y, int width, int height) {
  62. }
  63.  
  64. void glutVideoPan(int x, int y, int width, int height) {
  65. }
  66.