On 03.04.2013 22:54, Mike Werner wrote:
> I want to be able to left click in an OpenGL window and have the mouse
> coordinates in that window returned (i.e. relative to the upper left corner
> of the window). Seems like I should be able to do this using Fl::event_x.
> However it's turning out t
On 18.02.2013 12:17, Furqan wrote:
> ... File only accepted when drop over the Fl_Double_Window.
>
> Here is my code..
>
> MainWindow->begin(); // Fl_Double_Window
>
> DnDReceiver b(0,0,WINDOW_SIZE_W, WINDOW_SIZE_H); // Drag n Drop Box
>
> glutInitDisplayMode (GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH
On 13.02.2012 07:21, goodwood wrote:
> please see the following code, it simply puts two input widgets into a
> browser. But it's running, the caption of the input widget won't appear
> unless setting its align as "INSIDE" (compare input1 and input2). And the
> mouse cannot correctly position t
On 01.04.2011 22:18, Greg Ercolano wrote:
> Steve Maas wrote:
>> What are the 'offscreen rendering' functions. Are they available in 1.1.10?
>
> No, I /think/ its new functionality in 1.3.x only.
Offscreen rendering is pretty old in FLTK, but it can be slower in FLTK 1.1
(at least on Windows
On 15.03.2011 19:40, Greg Ercolano wrote:
> Greg Ercolano wrote:
...
> I updated the cheat page to show this newer technique
> for the 'Sphere' example that compiles and runs on both 1.1 and 1.3:
> http://seriss.com/people/erco/fltk/#OpenGLSphereWithLight
>
> Had to make some ch
On 15.03.2011 04:48, Greg Ercolano wrote:
> Greg Ercolano wrote:
>> Maybe show us your FLTK2 translated sphere.cxx file.
>
> I decided to take a shot at translating this example to FLTK2.
>
> I'm not sure if it's right because I get the same error you do,
> with or without the glut
On 13.03.2011 11:20, jseb wrote:
> I put a freeglut window in fltk gui.
>
> In my redraw function, i draw a sphere:
>
> glutWireSphere(0.7,10,10);
>
> I compile and link like this:
> g++ *.cxx -Wall -lfltk2 -lfltk2_gl -lfltk2_glut -lGL -lGLU -lglut
>
> And when executing:
> freeglut ERROR: Function
Ben Stott wrote:
> I think you might need to link against ws2_32.lib - note that linking
> order is important, so you'll have to link to ws2_32.lib before you link
> to any of fltk's openGL stuff.
Hmm? I think you're right, but the order should be the opposite, i.e.
ws2_32.lib last.
And additiona
Nikhil Navkar wrote:
> Could anyone please tell which version of FLTK should be used for
> installation as per the given configuration:
> Windows 7 (64-bit)
> Microsoft Visual Studio 2008
> x64 Platform, Release or Debug - Configuration
First of all: your question should be in fltk.general, ther
Paul Blythe wrote:
> If I try this code ...
>
> class CDrawThread : public CThread
> {
> public:
> VideoDisplayOpengl * vd;
>
> virtual DWORD Run( LPVOID /* arg */ )
> {
> for(;;)
> {
> Fl::lock();
> vd->red
Paul Blythe wrote:
> I have a window that contains a groupbox that I am drawing using a class
> derived from window.
You should specify the FLTK version, if you ask questions here.
From your words, I assume you're using FLTK 2.
> I have a seperate thread that calls redraw on the window.
Do yo
Hi Manolo,
thanks for your continuing efforts to improve FLTK !
Although this is clearly an OpenGL topic, I think that
we would better discuss this in fltk.development.
That said ...
> This new implentation has several advantages:
> - any UTF text can be drawn instead of a 256-character set
> w
Richard Lemieux wrote:
>
> At this point I find that I don't get in that problem if
> I fix the frame rate at around 60Hz instead of playing with it
> while the program is running (I dedicated a cursor to adjust
> the frame rate). Sorry about this.
>
> It is not clear to me whether calling redra
Livia Koch wrote:
> I have subclassed Fl_Gl_Window (class My_Window) and written an own
> handle-function. It works fine, but recently I have made a new
> subclass My_Window_2 to my first subclass. As a handle function,
> it is still calling My_Window::handle(int event).
Do you really mean "cal
14 matches
Mail list logo