News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
ascii art viewer
Author Message
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: ascii art viewer

No idea if this will work better. It's worse for me, but only because of my aforementioned wm limitations.

It's funny it doesn't work if I resize art to the window's position and size before going fullscreen, so I still have to use screen dimensions.

Code:
function tog_fs()
if fullscr==0 then
  list:hide()
  wx,wy,ww,wh=win:x(),win:y(),win:w(),win:h()
  win:fullscreen()
  art:resize(0,0,Fl:w(),Fl:h())
  fullscr=1
else
  list:show()
  win:fullscreen_off(wx,wy,ww,wh)
  art:resize(mw,0,ww-mw,wh)
  fullscr=0
end
win:redraw()
end

12-06-2010 01:44 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
ascii art viewer - mikshaw - 12-05-2010, 06:02 AM
RE: ascii art viewer - jpjacobs - 12-05-2010, 06:42 AM
RE: ascii art viewer - mikshaw - 12-05-2010, 08:20 AM
RE: ascii art viewer - mikshaw - 12-05-2010, 09:43 AM
RE: ascii art viewer - mikshaw - 12-05-2010, 02:30 PM
RE: ascii art viewer - jpjacobs - 12-05-2010, 11:30 PM
RE: ascii art viewer - mikshaw - 12-06-2010, 01:25 AM
RE: ascii art viewer - mikshaw - 12-06-2010 01:44 AM
RE: ascii art viewer - mikshaw - 12-08-2010, 03:53 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: