Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 50 lines (44 sloc) 1.666 kB
45cf7d8 @lylejohnson initial checkin of r2610 from trunk
lylejohnson authored
1 /***********************************************************************
2 * FXRuby -- the Ruby language bindings for the FOX GUI toolkit.
b8219ec @lylejohnson Updated copyright notice for all SWIG interface files
lylejohnson authored
3 * Copyright (c) 2001-2009 by Lyle Johnson. All Rights Reserved.
45cf7d8 @lylejohnson initial checkin of r2610 from trunk
lylejohnson authored
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 * For further information please contact the author by e-mail
a934547 @lylejohnson Replaced e-mail address "lyle@users.sourceforge.net" with
lylejohnson authored
20 * at "lyle@lylejohnson.name".
45cf7d8 @lylejohnson initial checkin of r2610 from trunk
lylejohnson authored
21 ***********************************************************************/
22
23
24 /// CUR Cursor class
25 class FXCURCursor : public FXCursor {
26 protected:
27 FXCURCursor(){}
28 public:
29 %extend {
30 static VALUE fileExt() {
31 return rb_str_new2(FXCURCursor::fileExt);
32 }
33 }
34 public:
35 %extend {
36 /// Construct CUR cursor from memory stream in Microsoft CUR format
37 FXCURCursor(FXApp* a,const void* pix){
38 return new FXRbCURCursor(a,pix);
39 }
40 }
41
42 /// Destructor
43 virtual ~FXCURCursor();
44 };
45
46
47 DECLARE_FXOBJECT_VIRTUALS(FXCURCursor)
48 DECLARE_FXID_VIRTUALS(FXCURCursor)
49 DECLARE_FXCURSOR_VIRTUALS(FXCURCursor)
Something went wrong with that request. Please try again.