Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-21-2012, 02:50 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
It's way too small, write a hack that implements an image viewer into the Client-RC File Browser instead.
__________________
Quote:
Reply With Quote
  #2  
Old 03-21-2012, 03:42 AM
Tricxta Tricxta is offline
The Muffin Man
Tricxta's Avatar
Join Date: Oct 2010
Location: Australia
Posts: 563
Tricxta is just really niceTricxta is just really nice
Quote:
Originally Posted by fowlplay4 View Post
It's way too small, write a hack that implements an image viewer into the Client-RC File Browser instead.
but...that's a real challenge!!
Reply With Quote
  #3  
Old 03-21-2012, 09:44 AM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
Quote:
Originally Posted by Tricxta View Post
but...that's a real challenge!!
not really...

PHP Code:
//#CLIENTSIDE
function onCreated(){
  
this.filetypes = {"png""mng""gif"};
}

function 
FileBrowser_FilesList.onSelect(idtextrow){
  for(
temp.type this.filetypes){
    if(
text.pos(type) > -1){
       
FileBrowser_DebugText.addtext("" NL "<img src =\""@text.substring(0text.pos(type) + type.length())@"\">"true);
    }
  }

PS I was too lazy to create a new GUI object that drew where the mouse was when hovering over a file name but it's not really too far off of this

everyone always make things far harder than they need to be please stop doing that

Last edited by Mark Sir Link; 03-21-2012 at 09:55 AM..
Reply With Quote
  #4  
Old 03-21-2012, 11:45 AM
Tricxta Tricxta is offline
The Muffin Man
Tricxta's Avatar
Join Date: Oct 2010
Location: Australia
Posts: 563
Tricxta is just really niceTricxta is just really nice
well played
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:21 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.