/[rdesktop]/sourceforge.net/trunk/rdesktop/uiports/qtewin.cpp
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/uiports/qtewin.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 748 by jsorg71, Thu Aug 12 02:34:51 2004 UTC revision 776 by jsorg71, Sat Oct 2 01:30:33 2004 UTC
# Line 1  Line 1 
1  /*  /*
2     rdesktop: A Remote Desktop Protocol client.     rdesktop: A Remote Desktop Protocol client.
3     User interface services - X Window System     User interface services - X Window System
4     Copyright (C) Matthew Chapman 1999-2004     Copyright (C) Jay Sorg 2004
    qte.cpp by Jay Sorg  
5    
6     This program is free software; you can redistribute it and/or modify     This program is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by     it under the terms of the GNU General Public License as published by
# Line 21  Line 20 
20    
21  //#define SHARP  //#define SHARP
22    
 #include "../rdesktop.h"  
23  #ifdef SHARP  #ifdef SHARP
24  #include <qpe/qpeapplication.h>  #include <qpe/qpeapplication.h>
25  #else  #else
# Line 41  Line 39 
39  #include <qfile.h>  #include <qfile.h>
40  #include <qcheckbox.h>  #include <qcheckbox.h>
41  #include <qpopupmenu.h>  #include <qpopupmenu.h>
 #include "qtewin.h"  
42  #include <stdlib.h>  #include <stdlib.h>
43  #include <stdarg.h> // va_list va_start va_end  #include <stdarg.h> // va_list va_start va_end
44    
45    #include "../rdesktop.h"
46    #include "qtewin.h"
47    
48    /* types */
49    struct QColorMap
50    {
51      uint32 RGBColors[256];
52      int NumColors;
53    };
54    
55    struct bitmap
56    {
57      int w;
58      int h;
59      uint8* data;
60    };
61    
62  uint32 g_flags = 0;  uint32 g_flags = 0;
63  char g_server[64] = "";  char g_server[64] = "";
64  char g_domain[16] = "";  char g_domain[16] = "";
# Line 79  QPEApplication* g_App = 0; Line 93  QPEApplication* g_App = 0;
93  #else  #else
94  QApplication* g_App = 0;  QApplication* g_App = 0;
95  #endif  #endif
96  QMyMainWindow* g_MW = 0;  static QMyMainWindow *g_MW = 0;
97  QMyScrollView* g_SV = 0;  static QMyScrollView *g_SV = 0;
98  struct QColorMap  static struct QColorMap *g_CM = 0;
99  {  static uint8 *g_BS = 0;
100    uint32 RGBColors[256];  
101    int NumColors;  static int g_clipx = 0;
102  };  static int g_clipy = 0;
103  struct QColorMap* g_CM = 0;  static int g_clipcx = 0;
104  uint8* g_BS = 0;  static int g_clipcy = 0;
   
 int g_clipx = 0;  
 int g_clipy = 0;  
 int g_clipcx = 0;  
 int g_clipcy = 0;  
   
 struct bitmap  
 {  
   int w;  
   int h;  
   uint8* data;  
 };  
   
 int owncolmap = False;  
105    
106  //*****************************************************************************  //*****************************************************************************
107  void CleanString(QString* Item)  void CleanString(QString* Item)

Legend:
Removed from v.748  
changed lines
  Added in v.776

  ViewVC Help
Powered by ViewVC 1.1.26