~ubuntu-branches/ubuntu/wily/freerdp/wily-proposed

« back to all changes in this revision

Viewing changes to win/wfreerdp/wf_event.h

  • Committer: Package Import Robot
  • Author(s): Martin Pitt, Jeremy Bicha, Jean-Louis Dupond, Martin Pitt
  • Date: 2012-01-31 10:02:14 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120131100214-jaok3uwvni7sqxth
Tags: 1.0.0-0git1
Upload current Debian packaging git to get this rolling for precise.

[ Jeremy Bicha ]
* New upstream release. Closes: #647498.
* Updated symbols and bumped soname
* debian/control:
  - Added new build dependencies
  - Bump Standards-Version to 3.9.2
* debian/source/format: Set to 3.0 (quilt)
* debian/rules: Turn on strict symbols checking
* debian/watch: Watch github

[ Jean-Louis Dupond ]
* debian/control: Updated homepage
* debian/copyright: Reflect upstream switch to the Apache license

[ Martin Pitt ]
* debian/libfreerdp0.symbols: Fix version number, should
  be 1.0~beta5, not 1.0-beta5.
* debian/control: Add libavcodec-dev build dependency, upstream build system
  checks for that. Thanks Jean-Louis Dupond!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
   Copyright (c) 2009 Jay Sorg
3
 
   Copyright (c) 2010 Vic Lee
4
 
 
5
 
   Permission is hereby granted, free of charge, to any person obtaining a
6
 
   copy of this software and associated documentation files (the "Software"),
7
 
   to deal in the Software without restriction, including without limitation
8
 
   the rights to use, copy, modify, merge, publish, distribute, sublicense,
9
 
   and/or sell copies of the Software, and to permit persons to whom the
10
 
   Software is furnished to do so, subject to the following conditions:
11
 
 
12
 
   The above copyright notice and this permission notice shall be included
13
 
   in all copies or substantial portions of the Software.
14
 
 
15
 
   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
16
 
   OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
 
   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
 
   AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
 
   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20
 
   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21
 
   DEALINGS IN THE SOFTWARE.
22
 
*/
23
 
 
24
 
#ifndef __WF_EVENT_H
25
 
#define __WF_EVENT_H
26
 
 
27
 
#include <freerdp/freerdp.h>
28
 
 
29
 
#define SET_WFI(_inst, _wfi) (_inst)->param1 = _wfi
30
 
#define GET_WFI(_inst) ((wfInfo *) ((_inst)->param1))
31
 
 
32
 
struct wf_bitmap
33
 
{
34
 
        HDC hdc;
35
 
        HBITMAP bitmap;
36
 
        HBITMAP org_bitmap;
37
 
};
38
 
 
39
 
struct wf_info
40
 
{
41
 
        HWND hwnd;
42
 
        rdpInst * inst;
43
 
        struct wf_bitmap * backstore;
44
 
        struct wf_bitmap * drw;
45
 
        uint8 * colormap;
46
 
        RECT update_rect;
47
 
        int update_pending;
48
 
        HCURSOR cursor;
49
 
        HBRUSH brush;
50
 
        HBRUSH org_brush;
51
 
};
52
 
typedef struct wf_info wfInfo;
53
 
 
54
 
LRESULT CALLBACK
55
 
wf_event_proc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam);
56
 
 
57
 
#endif