Top

FullScreen


mIRC Code
+ 1 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Nov 23, 2008
Last Updated  Nov 23, 2008
Tags  bluethen  etc  fullscreen  picwin  screensaver 

Introduction

FullScreen is a basic mIRC add-on that gives you the ability to take any picwin animation and expand it.

Syntax:/fullscreen -cmr @ [refresh rate in milliseconds]
The -c switch doesn't expand the picwin, but puts it in the center of a blank window.
The -m switch changes the stretch mode quality when the picture is resized.
The -r switch means you stated a refresh rate of the fullscreen window.

If window isn't stated, a popup will come up asking for the window.

http://www.stickam.com/member/viewMedia.do?mId=181760886

Grab the Code

/*
FullScreen
Made by BlueThen on November 22, 2008.
To install, paste this script into your remotes (Alt + R)
Then use the syntax:
/fullscreen -cmr @ [refresh rate in milliseconds]
The -c switch doesn't expand the picwin, but puts it in the center of a blank window.
The -m switch changes the stretch mode quality when the picture is resized.
The -r switch means you stated a refresh rate of the fullscreen window. 
If window isn't stated, a popup will come up asking for the window.
*\
alias fullscreen {
  if ($left($1, 1) == -) {
    if (c isin $1) set %full.c y
    if (m isin $1) set %full.m y
    if ((r isin $1) && ($3 isnum)) set %full.r $3
    set %full.win $2
  }
  else {
    if (!$1) set %full.win $$?="Window? (@ included)"
    else set %full.win $1
  }
  if (($left(%full.win,1) != @) || (!$window(%full.win))) echo -a 4Invalid window.
  window -paozCdk0 +dn @FullScreen -1 -1 $window(-1).w $window(-1).h
  fullscreen.frame
}
alias -l fullscreen.frame {
  if ($window(@fullscreen)) {
    drawcopy $iif(%full.m == y, -m, $null) %full.win 0 0 $window(%full.win).w $window(%full.win).h @FullScreen $iif(%full.c == y, $calc(($window(-1).w / 2) - ($window(%full.win).w / 2)), 0) $iif(%full.c == y, $calc(($window(-1).h / 2) - ($window(%full.win).h / 2)), 0) $iif(%full.c == y, $window(%full.win).w, $window(-1).w) $iif(%full.c == y, $window(%full.win).h, $window(-1).h)
    .timer -m 1 $iif(%full.r, $v1, 0) fullscreen.frame
  }
}
on *:keydown:@fullscreen:27: {
  window -c @fullscreen
  unset %full.*
}

Comments

  (4)  RSS
burford
Comments: 10
 
mIRC Snippet:  FullScreen
Posted on Nov 24, 2008 8:29 pm
No comments?? Hmmm, I am depressed
Hawkee
Comments: 1,039
 
mIRC Snippet:  FullScreen
Posted on Nov 24, 2008 8:54 pm
Seems like a good concept. Maybe a before and after screenshot showing what it can do?
inti-garcia
Comments: 6
 
mIRC Snippet:  FullScreen
Posted on Nov 29, 2008 6:54 pm
I dont get it
Typo
Comments: 224
 
mIRC Snippet:  FullScreen
Posted on Dec 3, 2008 4:38 am
I love the idea but it doesnt quite perform right.

In some cases the picture didn't fill the fullscreen window and the fullscreen window itself isnt actually fullscreen.

It doesnt maintain the aspect ratio either which makes some pictures look very odd when switched to fullscreen.

I also suggest you make any single key press close the fullscreen window since your not giving it a proper frame with an x like a nrmal window.

I know that this script is a toughie because I had to tackle the same thing when adding the ability to view pictures in fullscreen mode to my ViewPic script. The aspect ratio part alone took me some time to nail and figuring out the proper window paramaters to get the window right was a pain too.

Its a good start but honestly needs work. I love the concept tho.

Good luck.

p.s. If you would like to try out Typos ViewPic to test the fullscreen mode it's posted here on hawkee at http://www.hawkee.com/snippet/4955/ .

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom