>       Right. One thing you can do is make your application
>       /borederless/, and then draw the entire window border 
> and buttons
>       and behavior yourself.
> 
>       It will then be up to you to handle making the 'close' 
> and 'iconify'
>       buttons as well as window dragging and resizing behavior.
> 
>       I don't have an example of this (other than my nixieclock app
>       which is entirely borderless, but allows you to drag the clock
>       around by clicking anywhere on it and dragging). It 
> would certainly
>       make for an interesting demo, and the demo would look and work
>       'consistently' across all platforms.

I did have, somewhere, a worked example of this - though in the end I
didn't use it much as the "scheme" I'd designed for it looked rubbish (I
lack the artistic skills necessary for designing themes, it seems!)

One thing I struggled with in particular was the co-ordinates origin.
Since fltk-1.x uses window origin rather than relative co-ords, I kept
having to correct for the height of the title bar, the width of the
border, and so forth, which you do not have to do for "regular" windows,
so it was not a drop-in replacement for a regular Fl_Window.

Cleverer coding might have resolved that, but I lost heart...

>       This might actually make an interesting generic FLTK window
>       widget actually.

I think so to, but not based on my code, which was rubbish!
-- 
Ian


SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to