/[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 1016 by jsorg71, Tue Apr 5 03:22:15 2005 UTC revision 1017 by jsorg71, Thu Sep 22 00:52:14 2005 UTC
# Line 60  int g_use_rdp5 = 1; Line 60  int g_use_rdp5 = 1;
60  int g_desktop_save = 1;  int g_desktop_save = 1;
61  int g_bitmap_compression = 1;  int g_bitmap_compression = 1;
62  int g_polygon_ellipse_orders = 0;  int g_polygon_ellipse_orders = 0;
63  int g_rdp5_performanceflags = 0;  int g_rdp5_performanceflags =
64      RDP5_NO_WALLPAPER | RDP5_NO_FULLWINDOWDRAG | RDP5_NO_MENUANIMATIONS;
65  int g_console_session = 0;  int g_console_session = 0;
66  int g_keylayout = 0x409; /* Defaults to US keyboard layout */  int g_keylayout = 0x409; /* Defaults to US keyboard layout */
67    int g_keyboard_type = 0x4; /* Defaults to US keyboard layout */
68    int g_keyboard_subtype = 0x0; /* Defaults to US keyboard layout */
69    int g_keyboard_functionkeys = 0xc; /* Defaults to US keyboard layout */
70  int g_width = 640;  int g_width = 640;
71  int g_height = 480;  int g_height = 480;
72  int g_server_bpp = 8;  int g_server_bpp = 8;
# Line 118  static int g_clipy = 0; Line 122  static int g_clipy = 0;
122  static int g_clipcx = 0;  static int g_clipcx = 0;
123  static int g_clipcy = 0;  static int g_clipcy = 0;
124    
125    /* Session Directory redirection */
126    BOOL g_redirect = False;
127    char g_redirect_server[64];
128    char g_redirect_domain[16];
129    char g_redirect_password[64];
130    char g_redirect_username[64];
131    char g_redirect_cookie[128];
132    uint32 g_redirect_flags = 0;
133    
134  #define BPP ((g_server_bpp + 7) / 8)  #define BPP ((g_server_bpp + 7) / 8)
135  #define GETPIXEL8(d, x, y, w) (*(((uint8*)d) + ((y) * (w) + (x))))  #define GETPIXEL8(d, x, y, w) (*(((uint8*)d) + ((y) * (w) + (x))))
136  #define GETPIXEL16(d, x, y, w) (*(((uint16*)d) + ((y) * (w) + (x))))  #define GETPIXEL16(d, x, y, w) (*(((uint16*)d) + ((y) * (w) + (x))))
# Line 2154  void xfree(void * in_val) Line 2167  void xfree(void * in_val)
2167  }  }
2168    
2169  /*****************************************************************************/  /*****************************************************************************/
2170    char * xstrdup(const char * s)
2171    {
2172      char * mem = strdup(s);
2173      if (mem == NULL)
2174      {
2175        perror("strdup");
2176        exit(1);
2177      }
2178      return mem;
2179    }
2180    
2181    /*****************************************************************************/
2182  void warning(char * format, ...)  void warning(char * format, ...)
2183  {  {
2184    va_list ap;    va_list ap;

Legend:
Removed from v.1016  
changed lines
  Added in v.1017

  ViewVC Help
Powered by ViewVC 1.1.26