PlaneShift
Development => PlaneShift Mods => Topic started by: Tontow on September 23, 2008, 01:02:17 pm
-
Any chance of enableing copy and past in the quest window?
-
Any chance of enableing copy and past in the quest window?
that would not be a gui mod so no way.
-
PT has a cross platform copy/paste plugin for CS and being open source I'd think it would be possible to use. Not a gui mod as caarrie said but definitely doable in other ways.
-
Can you give a link so I can take a look at it?
Edit: I know past can be down with a 3ed party program useing sendkeys in VB 6.0 .
-
PT has a cross platform copy/paste plugin for CS and being open source I'd think it would be possible to use. Not a gui mod as caarrie said but definitely doable in other ways.
PT uses CEGUI so I'm not too sure they wrote the copy and paste code themselves. Then again I'm looking through CEGUI's source code and I see the following in its editable text boxes:
/*************************************************************************
TODO:
Clipboard support
Undo support
*************************************************************************/
EDIT: OK so PT did write their own clipboard code, and they did it as a CS plugin so it should be reusable by any CS project GPL-compatible CS projects. What it does is allow you to store and retrieve textual data to and from the system clipboard regardless of platform since they implemented it four times. But you're still stuck with implementing text selection within the text box, and it seems CEGUI allows this but PAWS does not. Also, there is no undo support.
EDIT 2: I just realized their plugin is licensed under the GPL so it's not like they're gonna hand it over to Crystal Space or anything (which is LGPL) unless they relicense it. So in reality it can only be used by GPL-compatible projects and not necessarily projects that use Crystal Space. That still means PS can use it, but that makes my previous edit incorrect. Also I'd rather it be a part of CS, and not have to download PT code to compile PS.
-
Some excellent mods \\o//
-
I could make a Past utility that would past the contents of the clipboard in visual basic 6.0, but I have no clue how to program a copy. Is there any intrest in a Pasting program?
-
Tuxide: You might contact Rolenun. He wrote text highlighting for paws once and I had it working long ago. The PT clipboard plugin was started with the initial plan of being used in PS it just wasn't wanted at the time possibly because those changes to paws were too intrusive (unicode support for instance). PS could port over to CEGUI or implement the text highlighting and all in paws. Also you wouldn't need to download PT code to compile PS, you'd just need to host your own version of the plugin in your own repo's leaving the copyright stuff in the file headers. Its perfectly legal.
Regards,
Brant
-
Also you wouldn't need to download PT code to compile PS, you'd just need to host your own version of the plugin in your own repo's leaving the copyright stuff in the file headers.
What I'm saying is I would prefer if this plugin was LGPL and a part of Crystal Space but that's just me.
-
Actually res didn't want it in CS, hence why its in our tree.
-
Still, I would prefer it if the plugin was LGPL. I can be a license agreement nazi too if I wanted.
-
I don't see why it couldn't be considering what it is, I'll email Rolenun :)