Displaying 7 results from an estimated 7 matches for "listbase".
2015 Oct 08
5
ilist/iplist are broken (maybe I'll fix them?)
...ers that seem to care about ADT and/or UB.
"Normal" intrusive lists
========================
First, here's a simple ("normal") intrusive doubly-linked list:
struct ListNodeBase {
ListNodeBase *next = nullptr;
ListNodeBase *prev = nullptr;
};
struct ListBase {
struct iterator {
ListNodeBase *I = nullptr;
iterator &operator++() { I = I->next; return *this; }
iterator &operator--() { I = I->prev; return *this; }
ListNodeBase &operator*() const { return *I; }
};
ListNodeBase L;
Lis...
2006 Mar 28
3
ListItem patches
Hi
Attached, patches to implement ListItem. This class, in wxruby 0.6.0, allows styling of individual items in a ListCtrl, via a particularly clunky API. In disambiguating the overloaded ListCtrl#set_item method it introduces one non backwards-compatible change. I''ve followed the WxPython convention as described in the Wx class ref, renaming set_item(index, col, string, imageid) to
2005 Aug 21
2
Latest tarball doesn''t compile
...'t
have the gtk or mac headers to compare against. I''ve removed the
wxBitmap.h %import and added a commented out %import for wGDIImage.h
(which we don''t have a header file for and don''t know if we''ll need later)
See patched Icon.i
3) ListItemAttr needs listbase.h to compile.
See patched ListItemAttr.i
<crossing fingers that the patches worked>
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2004 Aug 04
4
ERROR: compilation failed for package 'rgl'
...ed as a type, but is not defined
as a type.
glgui.h:28: error: 'GLuint' is used as a type, but is not defined
as a type.
glgui.h:29: error: 'GLuint' is used as a type, but is not defined
as a type.
glgui.h: In member function `void GLBitmapFont::enable()':
glgui.h:22: error: `listBase' undeclared (first use this
function)
glgui.h:22: error: (Each undeclared identifier is reported only
once for each
function it appears in.)
glgui.h:22: error: `glListBase' undeclared (first use this
function)
In file included from x11lib.cpp:13:
x11gui.h:13:20: GL/glx.h: No such file...
2007 May 04
0
[1002] trunk/wxruby2/swig/RubyConstants.i: Add VERSION constants from wxWidgets
...17:37:05 UTC (rev 1001)
+++ trunk/wxruby2/swig/RubyConstants.i        2007-05-04 17:56:08 UTC (rev 1002)
</span><span class="lines">@@ -21,6 +21,7 @@
</span><span class="cx"> #include <wx/listbase.h>
</span><span class="cx"> //#include <wx/dcbuffer.h>
</span><span class="cx">
</span><ins>+
</ins><span class="cx"> // All of these exist on only one platform, so in those
</span><span class="cx&...
2004 Jul 20
1
Installing rgl on linux
...used as a type, but is not defined as a
type.
glgui.h:28: error: 'GLuint' is used as a type, but is not defined as a
type.
glgui.h:29: error: 'GLuint' is used as a type, but is not defined as a
type.
glgui.h: In member function `void GLBitmapFont::enable()':
glgui.h:22: error: `listBase' undeclared (first use this function)
glgui.h:22: error: (Each undeclared identifier is reported only once for
each
function it appears in.)
glgui.h:22: error: `glListBase' undeclared (first use this function)
In file included from x11lib.cpp:13:
x11gui.h:12:22: X11/Xlib.h: No such file...
2006 Nov 13
0
[735] trunk/wxruby2: Got the ''get_item_sample'' sample working had to add some missing ListCtrl constants.
...quot;>@@ -18,6 +18,7 @@
</span><span class="cx"> #include <wx/imagbmp.h>
</span><span class="cx"> #include <wx/sashwin.h>
</span><span class="cx"> #include <wx/prntbase.h>
</span><ins>+#include <wx/listbase.h>
</ins><span class="cx"> //#include <wx/dcbuffer.h>
</span><span class="cx">
</span><span class="cx"> // All of these exist on only one platform, so in those
</span><span class="lines">@@ -1487,6 +14...