General

2000-02-28 Thread Joseph Blough

Is it possible to add "Always on Top" to the options in linux?  The xteddy
code uses this to keep the window on top:
 
...
 
  XEvent report;

  /* Display window */
  XMapWindow(display,win);
 
  /* Get and process the events */
  while (1)
  {
XNextEvent(display, report);
switch(report.type)
{
case VisibilityNotify:
  /* Put xteddy on top of overlapping windows */
  if (float_up)
if ((report.xvisibility.state == VisibilityFullyObscured)
  || (report.xvisibility.state == VisibilityPartiallyObscured))
XRaiseWindow(display,win);
  break;
...
 
 }
  }
 
There's also a decent Xlib tutorial at
http://www.thelabs.com/X11Lab/XLib-Manual/
http://www.thelabs.com/X11Lab/XLib-Manual/ 
 
Also, how difficult would it be to add right button clicks to the themes?  I
think the default theme is great and usually run it in MediumView.  To get
to the options though, you must first go to MiniView and then back to
NormalView.  It would be nice to right-click on the view-changing button and
have it cycle backwards (MediumView to NormalView).  Unfortunately, there
doesn't seem to be any support for the right mouse button in the code.  Is
this mainly for cross-platform concerns where the computer might only have
one mouse button?
___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: General

2000-02-28 Thread Paul Warren

On Mon, 28 Feb 2000, Joseph Blough wrote:

 Is it possible to add "Always on Top" to the options in linux?  The xteddy
 code uses this to keep the window on top:
  
 ...
 case VisibilityNotify:
   /* Put xteddy on top of overlapping windows */
   if (float_up)
 if ((report.xvisibility.state == VisibilityFullyObscured)
   || (report.xvisibility.state == VisibilityPartiallyObscured))
 XRaiseWindow(display,win);
   break;

Ugh.  Please don't implement it like that.  Imagine two such apps
overlapping.

I have freeamp set to be always on top using "window matching" in
Sawmill.  Most WMs allow you to specify keep-on-top for selected
windows.  Some WMs also support window hints for this from the
application.

cheers,

Paul

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



RE: DiskOut Output Plugin v0.0.1

2000-02-28 Thread robert

On 26 Feb, Michael Rich wrote:
 In each PMO, there is a function called:

 void  HandleTimeInfoEvent(PMOTimeInfoEvent *pEvent);

 
 Hmm, it appears the function is still in the code left over from where i
 based it on the DirectSound plugin.  Maybe I've not updated the variables
 properly.  I'll do a check against the original code and see if I can patch
 it to work correctly.
 
 . . .
 
 This sounds fine, i'll see if I can modify the code to use this directory
 instead.

Let me know if you have trouble with any of these issues.


--ruaok Freezerburn! All else is only icing. -- Soul Coughing

Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev