I tried to send this once before, but I think I wasn't properly 
subscribed to the mailing list (hit an error when using the web link to 
confirm).

I'm using DirectFB 1.3.0 on an ARM device with a 320x240 LCD.  My end 
goal is to get the "directvnc" program to work the way I want (this is 
an old program created for DFB 0.9ish - a FB-based VNC viewer).  I've 
successfully hacked the program itself to work with DFB 1.3.0, but now 
I've run into a new problem: the device's screen is 320x240, but the 
framebuffer is defined such that the screen is actually 240x320, and is 
rotated 90 degrees.

I tried to use layer rotation (new in 1.3.0) to correct for this, but it 
has no effect.  I call SetCooperativeLevel with DFSCL_EXCLUSIVE to make 
sure I'm in exclusive mode.  Then I call SetRotation on the layer with 
90 as the rotation angle.  It does nothing; the program behaves exactly 
as before.  Is there more I have to do to get this to work?  I obviously 
didn't touch any of the rest of the DFB calls (other than the bare 
minimum to bring it from 0.9 to 1.3).  I was just counting on the 
rotation feature to do the lifting for me.

I also tried DirectFBSetOption("layer-rotate", "90") which also did 
nothing.

Any assistance would be most welcome.


Thanks,
Jeremy
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to