topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday December 15, 2024, 2:56 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Make your monitor corners look round  (Read 17821 times)

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
IDEA: Make your monitor corners look round
« on: April 23, 2009, 08:59 AM »
Maybe kind of useless, but I really wonder what my pc looks like when the corners are overlay with a black image of an outer corner.

Like this.

So 4 times this image, and later on maybe multiple monitor support. Maybe with the ability to set the radius of the rounded corner?

raybeere

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 94
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Make your monitor corners look round
« Reply #1 on: April 23, 2009, 01:18 PM »
It sounds like a cool effect, although it might get annoying if it covered up the Close button on maximised windows.

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: IDEA: Make your monitor corners look round
« Reply #2 on: April 24, 2009, 04:32 PM »
It sounds like a cool effect, although it might get annoying if it covered up the Close button on maximised windows.
Well I think it wouldn't totally cover the close button.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: Make your monitor corners look round
« Reply #3 on: April 26, 2009, 03:49 PM »
 :) Try RoundedCorners, a quick script that shows four images in the corners of the screen.

Download the four images and save them as 1.gif, 2.gif, 3.gif and 4.gif in the same folder as the script.

Skrommel

;RoundedCorners.ahk
;Skrommel @ 2009

#NoEnv
#SingleInstance,Force
SetWorkingDir %A_ScriptDir%
SetWinDelay,0
SetBatchLines,-1

Gui,Color,FFFFFF
Gui,+AlwaysOnTop +TopMost -Caption +E0x20 +Border +ToolWindow
x=0
y=0
Gui,Add,Picture,x%x% y%y%,1.gif
x:=A_ScreenWidth-37
y=0
Gui,Add,Picture,x%x% y%y%,2.gif
x:=A_ScreenWidth-37
y:=A_ScreenHeight-37
Gui,Add,Picture,x%x% y%y%,3.gif
x=0
y:=A_ScreenHeight-37
Gui,Add,Picture,x%x% y%y%,4.gif
Gui,+LastFound
guiid:=WinExist()
Gui,Show,x0 y0 w%A_ScreenWidth% h%A_ScreenHeight% NoActivate
WinSet,TransColor,FFFFFF,ahk_id %guiid%
WinSet,AlwaysOnTop,On,ahk_id %guiid%
SetTimer,TOP,1000
Return


TOP:
WinSet,Top,,ahk_id %guiid%
Return
« Last Edit: April 26, 2009, 03:51 PM by skrommel »

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: IDEA: Make your monitor corners look round
« Reply #4 on: April 27, 2009, 10:35 AM »
:) Try RoundedCorners, a quick script that shows four images in the corners of the screen.

Download the four images and save them as 1.gif, 2.gif, 3.gif and 4.gif in the same folder as the script.

Skrommel

;RoundedCorners.ahk
;Skrommel @ 2009

#NoEnv
#SingleInstance,Force
SetWorkingDir %A_ScriptDir%
SetWinDelay,0
SetBatchLines,-1

Gui,Color,FFFFFF
Gui,+AlwaysOnTop +TopMost -Caption +E0x20 +Border +ToolWindow
x=0
y=0
Gui,Add,Picture,x%x% y%y%,1.gif
x:=A_ScreenWidth-37
y=0
Gui,Add,Picture,x%x% y%y%,2.gif
x:=A_ScreenWidth-37
y:=A_ScreenHeight-37
Gui,Add,Picture,x%x% y%y%,3.gif
x=0
y:=A_ScreenHeight-37
Gui,Add,Picture,x%x% y%y%,4.gif
Gui,+LastFound
guiid:=WinExist()
Gui,Show,x0 y0 w%A_ScreenWidth% h%A_ScreenHeight% NoActivate
WinSet,TransColor,FFFFFF,ahk_id %guiid%
WinSet,AlwaysOnTop,On,ahk_id %guiid%
SetTimer,TOP,1000
Return


TOP:
WinSet,Top,,ahk_id %guiid%
Return
Alright, that looks cool! Trying to mod it to work with png files and tinier corners... It shows white :(.
« Last Edit: April 27, 2009, 10:41 AM by Coeluh »

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: Make your monitor corners look round
« Reply #5 on: April 27, 2009, 06:16 PM »
 :) Try saving the png files with a white background, or change the lines
Gui,Color,FFFFFF
WinSet,TransColor,FFFFFF,ahk_id %guiid%
to something else.
I guess you've already changed the lines with gif in them to png.

Skrommel

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: IDEA: Make your monitor corners look round
« Reply #6 on: April 28, 2009, 03:00 AM »
:) Try saving the png files with a white background, or change the lines
Gui,Color,FFFFFF
WinSet,TransColor,FFFFFF,ahk_id %guiid%
to something else.
I guess you've already changed the lines with gif in them to png.

Skrommel
Thanks! ill check that out

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: IDEA: Make your monitor corners look round
« Reply #7 on: April 29, 2009, 04:15 AM »
Does not really work, but I learned a lot of this thing! (AHK coding regarding)

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: Make your monitor corners look round
« Reply #8 on: April 29, 2009, 07:14 PM »
 :) The code doesn't work with transparent or alpha blended images, it just turns white color transparent.

Skrommel

jdd

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 214
    • View Profile
    • Donate to Member
Re: IDEA: Make your monitor corners look round
« Reply #9 on: May 06, 2009, 07:53 AM »
This is pretty cool!  Would it be possible to edit the script so the .gif's can be embedded within the script, instead of the the folder?

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: IDEA: Make your monitor corners look round
« Reply #10 on: May 06, 2009, 08:12 AM »
They still look a bit white to me:(