libufo-devel Mailing List for UFO: Universal Form Objects (Page 4)
Status: Beta
Brought to you by:
schmidtjf
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(5) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
|
Feb
(1) |
Mar
(3) |
Apr
|
May
(2) |
Jun
|
Jul
(2) |
Aug
(2) |
Sep
|
Oct
|
Nov
(1) |
Dec
(2) |
2003 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
(4) |
Aug
|
Sep
(4) |
Oct
(4) |
Nov
(25) |
Dec
(13) |
2004 |
Jan
(10) |
Feb
|
Mar
(3) |
Apr
(11) |
May
(1) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
(15) |
Oct
(12) |
Nov
(12) |
Dec
(3) |
2005 |
Jan
(6) |
Feb
(3) |
Mar
(12) |
Apr
(14) |
May
(16) |
Jun
(19) |
Jul
(46) |
Aug
(18) |
Sep
(10) |
Oct
(6) |
Nov
(6) |
Dec
(21) |
2006 |
Jan
|
Feb
|
Mar
(13) |
Apr
(21) |
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
(5) |
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(11) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2016 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: <joe...@op...> - 2005-12-01 03:48:20
|
Firstly, excellent work on the libUFO library! I'm working on a project which displays digital TV on an Epia box using the mpeg acceleration (through XvMC). I previously used fltk as its OSD interface, but I'd like to use libUFO to allow me to get 3D objects overlayed on TV. I previously had a GLX program which had 3D objects over TV (which I still have working), but my efforts today with libUFO have hit a bit of a dead end. I have used the UXGLXDriver and taken the Window and Display * from it and fed them to the XvMC startup program, but it doesn't seem to work ; 1. In windowed mode it thinks its putting each of the surfaces, but nothing is displayed (but audio is coming out fine). 2. In full screen mode it hangs on the first put surface. (the previous GLX demo I made was only windowed). Am I missing something obvious ? Does this sound like it is doable ? (in fullscreen ?) Any help or ideas would be much appreciated. Bye - Joel. |
From: Andreas B. <b_...@gm...> - 2005-12-01 03:32:21
|
Hi the attached patch implements "stretch" areas for UBoxLayout and makes widgets use remaining space. It implements pretty much most things that I most desperately need in a box layout. It has been in boson cvs for quite some time without ever being committed to official libufo cvs, so here comes a final try with submitting a patch. After that I am going to move this file into our "ufoext" library and make a "don't use UBoxLayout - use this instead" policy in BoUfo. Note that this is untested with the current libufo version, I am still reintegrating all of our patches in the new copy. However I don't expect any problems with this class. CU Andi |
From: Andreas B. <b_...@gm...> - 2005-12-01 03:32:09
|
Hi are signals/slots still supposed to work with the receiver object not being a ufo::UObject? I get the following error: ../../../ufo/include/ufo/signals/uobjectslot.hpp: In constructor 'ufo::UObjectSlotNode::UObjectSlotNode(void (*)(void*), Obj*, void (ufo::UObject::*)()) [with Obj = BoUfoWidget]': ../../../ufo/include/ufo/signals/uobjectslot.hpp:177: instantiated from 'ufo::USlot1<P1> ufo::slot(Obj&, void (Obj::*)(P1)) [with P1 = ufo::UMouseEvent*, Obj = BoUfoWidget]' ../../../boson/boufo/boufowidget.cpp:448: instantiated from here ../../../ufo/include/ufo/signals/uobjectslot.hpp:90: error: invalid static_cast from type 'BoUfoWidget*' to type 'ufo::UObject*' ../../../boson/boufo/boufowidget.cpp: At global scope: Changing the static_cast into a dynamic_cast makes the compile time error go away .. whether a runtime error is left behind is still to be tested. CU Andi |
From: Andreas B. <b_...@gm...> - 2005-11-30 23:37:42
|
The e->unreference() in ufo::UWidget::dispatchEvent() should of course be AFTER the #endif, not before. CU Andi |
From: Andreas B. <b_...@gm...> - 2005-11-30 23:00:55
|
Hi attached is a patch that I have sent before, I believe (or at least mentioned). It implements layered pane compatible event handling. Umm, well, this patch has been used in Boson for quite some time, here the comment in my README about this patch: - Patch to uabstractcontext.hpp, uabstractcontext.cpp and uwidget.cpp to improve events for our needs: Instead of delivering a mouse event to root->getVisibleWidgetAt(), we implement a getVisibleWidgetsDFS() function, that starts at the root and finds all currently visible widgets (at the relevant point) using a depth first search and returns them in a stack. We then dispatch it to every widget on the stack until one widget consumes the event (in that case we stop then). This especially fixes layered panes: previously an event was delivered to the topmost layer only and to the layered pane itself, if the widget was not interested in that event. Now the event is first delivered to the topmost layer, then to the layers below it, then to the layered pane. This patch makes pretty much the difference between "libufo is usable" and "libufo is unusable" for us: it is extremely important that a click on a button is dispatched to the button and clicks on everything else is delivered to the stuff below that. (yeah, that was the simple version) I have been maintaining this patch for 2 or 3 libufo updates already and it starts to go on my nerves. I know that my (non-trivial) patches are not very liked here, so is there any chance this every makes it to official cvs? If not I'll investigate whether it is possible to subclass ufo::UAbstractContext instead and achieve the same in our extension library, so that I don't have to re-apply the patches every time (well - at least not all of them. The ufo::UWidget::dispatchEvent() part cannot be done outside of libufo). CU Andi |
From: Johannes S. <sch...@us...> - 2005-11-04 18:18:47
|
On Friday 04 November 2005 17:50, Mobius wrote: > On 04/11/2005 at 16.44 Johannes Schmidt wrote: > >The new style uses every now and then gradients for backgrounds. > >Looking at the gl graphics object, it seems that the shade model is > >overwritten without any warning. > >If you need smooth shading, be sure to set it explicitely before your own > >drawing code (and please write if that worked). > > Ok, maybe I found my problem... :) > Do you use "glEnableClientState" function without "glDisableClientState"? > If I use the instruction "glDisableClientState(GL_COLOR_ARRAY);" before > my rendering code, the program seems to work... Ahh, many thanks. I do not use client states directly, but via a call to glInterleavedArrays. Probably I'll use glPush,PopClientAttrib to avoid pitfalls like this. Kindest regards, Johannes |
From: Mobius <mo...@li...> - 2005-11-04 16:50:56
|
On 04/11/2005 at 16.44 Johannes Schmidt wrote: >The new style uses every now and then gradients for backgrounds. >Looking at the gl graphics object, it seems that the shade model is >overwritten without any warning. >If you need smooth shading, be sure to set it explicitely before your own >drawing code (and please write if that worked). Ok, maybe I found my problem... :) Do you use "glEnableClientState" function without "glDisableClientState"? If I use the instruction "glDisableClientState(GL_COLOR_ARRAY);" before my rendering code, the program seems to work... |
From: Johannes S. <sch...@us...> - 2005-11-04 15:43:42
|
On Friday 04 November 2005 13:06, Mobius wrote: > I'd like to convert my project from LibUFO 0.8.0 to LibUFO 0.8.4, > but I have some problems... I have a strange glitch... O_o > > Screenshots... normal: > http://www.flammataetra.com/Image5.jpg > > When I move the cursor over a menu item (any menu item, this > is only an example): > http://www.flammataetra.com/Image6.jpg The new style uses every now and then gradients for backgrounds. Looking at the gl graphics object, it seems that the shade model is overwritten without any warning. If you need smooth shading, be sure to set it explicitely before your own drawing code (and please write if that worked). Regards, Johannes |
From: Mobius <mo...@li...> - 2005-11-04 12:07:04
|
Hi, I'd like to convert my project from LibUFO 0.8.0 to LibUFO 0.8.4, but I have some problems... I have a strange glitch... O_o Screenshots... normal: http://www.flammataetra.com/Image5.jpg When I move the cursor over a menu item (any menu item, this is only an example): http://www.flammataetra.com/Image6.jpg Any ideas how to solve this problem? Maybe there is a bug in my code, but it's strange... O_o PS: With LibUFO 0.8.0, my program works well! |
From: Johannes S. <sch...@us...> - 2005-10-29 15:59:49
|
The newest version of libUFO, version 0.8.4 has been released! http://libufo.sourceforge.net This release has been tested with GNU/Linux/x86 using g++-4.0 and with WinXP using MS VC++ 6. Here are the major changes for this release: * Major improvements to the style (see screenshots). * Added tab widget (see test/morewidgets.cpp). * Made code relocatable (thanks to autopackage.org) * Added UFileArchive::isDirectory, UFileArchive::dirName * Removed UFileArchive::createFileStream, destroyFileStream * Fixed alpha value for colors returned by UColor::brighter,darker * Fixed clean-up on destruction of glx driver * Changed UWidget::removeImpl(iterator) to UWidget::removeImpl(int index) * Made UWidget::testState,setState(s),getState public * Fixed bug with unreferencing UVolatileData in UAbstractDisplay * Changed UVolatileData to auto-registering at UDisplay. * Fixed colored vertex arrays (in UGL_Graphics and UVertexArray). * Fixed UBoxLayout::getPreferredSize for implicitely hidden widgets. * Fixed clean-up of ugl_driver in dummy video driver. * Implemented XUL elements: groupbox, deck, stack and tabbox * Allow non-radio buttons in button groups to be deselected. * Fixed texture sharing for WGL target. Please download and send feedback! Johannes |
From: Carlo L. <cla...@dy...> - 2005-10-17 08:46:37
|
Hi Johannes, Great step forward! The new tab widget is highly appreciated, tanks for your effort. Hope to see even more in the near future ;-) Regards, Carlo |
From: Johannes S. <sch...@us...> - 2005-10-16 13:06:25
|
Hi, the new UFO release, version 0.8.4 is on the way. The release will be a big step towards fancier GUIs. Furthermore it features a new tab box widget. A screen shot is here: http://libufo.sourceforge.net/shot22.png Next week I will commit it to CVS and I hope that I can package it next weekend. Unfortunately, there is an issue with pixel perfect rasterization on ATI cards (using the vendor driver. It doesn't happen with Nvidia or xlibmesa supported cards). Checkbox and radio button indicators (the icon on the left side) may look a little bit contorted. Any docs about pixel perfect rasterization are appreciated. Nevertheless, I hope that this can be handled by the planned (vector based) graphics engine (though it may take quite a while before it is released). Regards, Johannes |
From: Johannes S. <sch...@us...> - 2005-10-12 10:27:32
|
The newest version of libUFO, version 0.8.3 has been released! http://libufo.sourceforge.net This release has been tested with GNU/Linux/x86 using g++-4.0 and with WinXP using MS VC++ 6. Here are the major changes for this release: * Fixed UStyleHints::transcribe * Some style changes to radio button indicators and sliders. * Added UGraphics::{set,get}LineWidth. * Replaced internal calls to setOpacity with CSS class ids. * Changed GL graphics to have an 0.5f offset for lines rasterization (removed general 3/8 pixel offset). Please download and send feedback! Johannes |
From: Johannes S. <sch...@us...> - 2005-10-03 10:32:51
|
On Monday 03 October 2005 12:06, Mobius wrote: > Can I write into UTextEdit using different colors? > For example: > > 111222333444... > > 111 -> blue > 222 -> red > 333 -> white > ... > > I made some tests but they fail... :( Sorry, not yet. I've made already some design considerations, but I haven't had the time yet to implement it. Regards, Johannes |
From: Mobius <mo...@li...> - 2005-10-03 10:10:34
|
Can I write into UTextEdit using different colors? For example: 111222333444... 111 -> blue 222 -> red 333 -> white ... I made some tests but they fail... :( Thanx! |
From: Johannes S. <sch...@us...> - 2005-09-30 14:24:07
|
The newest version of libUFO, version 0.8.2 has been released! http://libufo.sourceforge.net This is mostly a bug fix release. This release has been tested with GNU/Linux/x86 using g++-4.0, g++-2.95 and with WinXP using MS VC++ 6. Here are the major changes for this release: * Fixed compilation on gcc <= 3.2 * Mollified MinGW compiler about dllimport linkage * Readded check for _MSC_VER in ufo_config.hpp for WIN32 target (might break DevCpp?) * Fixed several warnings Please download and send feedback! Johannes |
From: Johannes S. <sch...@us...> - 2005-09-30 14:19:02
|
On Friday 30 September 2005 14:41, Carlo Lanzotti wrote: > Hi, > > Is there a plan to include a Tree Widget in the near future? In near future probably not. At the moment I am trying to implement a tab widget. A tree widget is on my ToDO list but I really don't know when I have the time. Regards, Johannes |
From: Carlo L. <cla...@dy...> - 2005-09-30 14:05:44
|
Hi, Is there a plan to include a Tree Widget in the near future? Regards, Carlo Lanzotti |
From: Johannes S. <sch...@us...> - 2005-09-22 14:39:41
|
The newest version of libUFO, version 0.8.1 has been released! http://libufo.sourceforge.net This release has been tested with GNU/Linux/x86 using g++-4.0, with GUN/Linux/Amd64 using g++-3.4 and with WinXP using MS VC++ 6. Here are the major changes for this release: * Fixed clip bounds (by fixing URectangle::intersect). * Added automatic disconnection from signals if the object of an object slot is destroyed (only if object is derived from UObject). * Added label constructor with buddy argument. * Added action map to UXul to automatically connect slots to sigActivated signals. * Fixed setting size via XUL and CSS commands. * Implemented accesskey attribute of XUL elements. * Changed UXDisplay to send KeyTyped events only if no Alt or Ctrl modifier is pressed. * Added support for keyboard events to UListBox. * New default layout manager for any new widget is now UBoxLayout. Due to the change of the UObject class (to allow automatic disconnection on destruction), this release is again not binary compatible to the previous one. Please download and send feedback! Johannes p.s.: Sorry for the late announcement on the mailing list. |
From: Johannes S. <sch...@us...> - 2005-09-16 08:39:54
|
Hi, I'd like to make UBoxLayout the default layout manager for widgets. This shouldn't have too much impact on applications as most set their layout manager. But it eases getting started with the library. Only if you do not want to use a layout manager, you're now forced to make a widget->setLayout(NULL); Regards, Johannes |
From: Mobius <mo...@li...> - 2005-09-13 20:57:47
|
On 13/09/2005 at 10.24 Johannes Schmidt wrote: >Try this: >button_prev->setHorizontalAlignment(AlignCenter); Ahhhhh!! Thanx! :) |
From: Johannes S. <sch...@us...> - 2005-09-13 08:24:56
|
On Monday 12 September 2005 22:25, Mobius wrote: [...] > button_prev = new UButton("Prev"); > button_prev->setPreferredSize(UDimension(button_size, 28)); > load_window->getContentPane()->add(button_prev); > > button_next = new UButton("Next"); > button_next->setPreferredSize(UDimension(button_size, 28)); > load_window->getContentPane()->add(button_next); [...] > Is there a function that automatically centers the text in a button? Try this: button_prev->setHorizontalAlignment(AlignCenter); Regards, Johannes |
From: Mobius <mo...@li...> - 2005-09-12 20:26:35
|
Hi, I have a question about buttons... :) Code: [...] button_size = (w - 42) / 4; button_prev = new UButton("Prev"); button_prev->setPreferredSize(UDimension(button_size, 28)); load_window->getContentPane()->add(button_prev); button_next = new UButton("Next"); button_next->setPreferredSize(UDimension(button_size, 28)); load_window->getContentPane()->add(button_next); [...] Screenshot: http://www.flammataetra.com/buttons.gif Is there a function that automatically centers the text in a button? Thanx! |
From: Johannes S. <sch...@us...> - 2005-09-03 17:56:43
|
The newest version of libUFO, version 0.8.0 has been released! http://libufo.sourceforge.net This release has been tested with GNU/Linux/x86 using g++-3.3, with GUN/Linux/Amd64 using g++-3.4 and with WinXP using MS VC++ 6. The most interesting changes can be seen in test/xul.cpp. Here are the major changes for this release: * Added support to load XUL (XML User interface Language by Mozilla) GUI files (see test/xul.cpp). * Added support to load CSS themes (see test/css.cpp). * Replaced UI classes and look and feel classes with a single style class * Added style hints for themable widgets. * Removed some deprecated methods. * Added models which encapsulate all intrinsic widget data (generally you shouldn't access models directly but via controller methods provided by the widgets). * Implemented keyboard control for menus, buttons and combo boxes * Added local TinyXML copy. * Added UProgressBar, USpinBox, UTextWidget (static text field) * Removed left vs. right distinction of keyboard modifiers, renamed some mouse button modifiers (prefixed with Mouse) * Events are now propageted to the parent if they haven't been consumed * Added flex attribute which is used by UBoxLayout to automatically grow widgets with a specified rate. This also allows spacer widgets. * Added new shortcut API * Fixed accelerator and mnemonic support for buttons and menus. * Changed UFont to be used as static object (created on the stack). * Added lazy creation to GL images. Improved refreshing. * Added lazy loading support to (GL) texture font renderer. * Implemented enabled-property for several widgets. * Many important bug fixes (see ChangeLog), thanks to all contributors! There are still some known issues, especially with sizes of UListBox, but this is really an overdue release. Please download and send feedback! Johannes |
From: Andreas B. <b_...@gm...> - 2005-09-03 01:54:43
|
Hi I thought I drop you a short note: a few hours ago we have released Boson 0.11, the first version that uses libufo. We provide our own (patched) copy of libufo, but most features are comparable to the official version. See http://boson.eu.org/announces/boson-0.11.php for a full announcement. CU Andi |