Flipclock V1.0
Posted: Mon Nov 07, 2011 11:16 am
The Cross-Platform Multimedia Application Layer
https://hollywood-mal.com/forums/
It will come, maybe with autodetection!REALY nice but as stated on Os4Depot while you dont add the compositing support I cat use it... I hate the fake transparent method...sorry
Why dont put it simply enabling it with ToolTypes?
Thats rather a bug then a bad implemented multiple instances detection. I removed it completely in V1.1 and will write a new one!And now one bug:
I noticed that flipclock makes a semaphore or something like that in "T:", a "fc" file containing the icon of the whether was placed and if you close flipclock and reopen it it wont open since it complain about no multiple instances can be launched...but the "fc" file wasnt deleted on flipclock exit so you cant launch it again while you dont delete the file manually...
And now some whishes:
- plz make some sort of flipclock thems with various sizes... its really too big for me (and I use 1680x1050 screen)
No, it´s not the intention of Flipclock to be more than a Weather-Flipclock.- add some sort of organizer I use it quite often in LimpidCock...
Hi Tuxedo, Jack will be getting some sort of Organiser in the not too distant future.. so watch this space.- add some sort of organizer I use it quite often in LimpidCock...
Yup I do see your point. I hope you like Jack 2.4 which is now on OS4Depot as it allows some of the interface to be 'rolled-up' to reduce screen space taken up by Jack.Tuxedo wrote:@djrikki
nice tool but I prefer the gfx theme of LimpidClock or Flipclock...
yours many windows wasnt so nice for my taste..
For sure a really nice and complete tool but not to be shown constantly over the wb imho...
Code: Select all
Global flipwidth ; the width of the flipclock window
Global flipheight ; the height of the flipclock window
Global userlocation ; take this from tooltypes the usual way
Function p_WindowPosition(X,Y)
Local screenwidth = GetAttribute(#DISPLAY,0,#ATTRHOSTWIDTH)
Local screenheight = GetAttribute(#DISPLAY,0,#ATTRHOSTHEIGHT)
Local padding = 20 ; this could even be set by the user through the tooltypes
If userlocation = "TR" ; top right
x = screenwidth-padding-flipwidth
y = padding+12
ElseIf userlocation = "TL" ; top left
x = padding
y = padding+12
ElseIf userlocation = "BL" ; bottom right
x = padding
y = screenheight-padding-flipheight-12
ElseIf userlocation = "BR" ; bottom right
x = screenwidth-padding-flipwidth
y = screenheight-padding-flipheight-12
EndIf
Return (x,y)
EndFunction
Local x,y = p_WindowPosition()
ExitOnError(False)
CreateDisplay (0, { title = "title", fixed = true, X = x, Y = y, width = flipwidth, height = flipheight} )
OpenDisplay(0)
If GetLastError() > 0
SystemRequest("error","padding too large, can't open window off the screen","Doh",#REQICON_WARNING)
End()
EndIf
ExitOnError(True)
; the rest of your program
Um, display transparency is already possible... check out the AlphaApple/WBApple example that comes with Hollywood. It shows you how to create really slick alpha transparent displays. There is really no need to use the hacky GrabDesktop() trick.djrikki wrote:FAO Andreas,
Hey, is there any chance of adding support for creating transparent displays/windows? I tried to do the same thing as Fingus sometime ago, using the GrabDesktop() trick - doesn't really work very well - users did need to move windows right!