Moving windows without a titlebar

new topic     » topic index » view thread      » older message » newer message

Hey!
Ok, this one isn't actually a question :)
I've written a small include for moving and resizing windows which don't have
title bars or
borders for my skinning library. You simply call a function whenever the user
clicks in an
area which you want them to be able to drag the window from, a
pseudo-code example:

procedure onMouse()
 if event is LeftDown then
  if mouse is in dragable area then
     call movewindow
  elsif mouse is on border then
     call resizewindow
  end if
 end if
end proced

Is anyone interested in this? If anyone is then I'll package it up
with a readme.txt and some examples and submit it to the Euphoria
archives.

Thomas Parslow (PatRat) ICQ #:26359483
Rat Software
http://www.rat-software.com/
Please leave quoted text in place when replying

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu