NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 81 82 83 84 85 … 93 Next »
OnScreen Keyboard

 
  • 0 Vote(s) - 0 Average
OnScreen Keyboard
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#1
2004-12-13, 04:19 AM
i was wondering what would be the best way to do a onscreen keyboard, and i came to this conclusion. implement it the same way you use a dialogbox. it returns a result, the main program/plugin has no control and it just waits for the dialogbox to finish. by doing it this way the onscreen keyboard would easily be used over and over again, and only require a few lines of code to be implemented (perhaps even one). so something like
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">string text = onscreenkeyboard.showdialog()[/QUOTE]
which returns the entered text. null if cancel was clicked or something. now my question, is this possible using gbpvr's api ?

and bigger question, anyone else what to write it ? Tongue

also this onscreen keyboard could be skinned in one place and used frequently.

thoughts, comments, see a major fault in my reasoning?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,735
Threads: 767
Joined: Nov 2003
#2
2004-12-13, 05:10 AM
[b Wrote:Quote[/b] ]now my question, is this possible using gbpvr's api ?
No, you'd need more lines of code. GB-PVR has no way to now about you dialog, so wont give it any chance to render itself. You need to call render() on the dialog class when you plugin's render() method is called.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#3
2004-12-13, 07:09 AM
i was thinking of like a plugin over a plugin. so the keyboard plugin only paints over itself, leaving the original plugins last paint surrounding it. since the onscreen keyboard wont take up the entire screen, and could easily just repaint over itself without the worry about leaving things onscreen just paint over em.
so it wont paint a background, just a foreground.

im just fiddling over making a easy and reusable onscreen keyboard, that requires a plugin to use bugger all code and can easily get a string back.
jasonf
Offline

Member

Posts: 121
Threads: 7
Joined: Oct 2004
#4
2004-12-13, 12:55 PM
Jorm has written an onscreen keyboard. Are you duplicating efforts?

And I know that right now it's vaporware, but I actually have a decent start on the Widget Library. The design goals of the controls part of the library include reusability and consistency. I had hoped to have had a public version available by now, but no luck fitting a lot of developing-for-fun into my 4th Quarter work schedule.

If you (or others) are interested in helping, or at least seeing the source code as it exists today, drop me a PM.
JasonF
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#5
2004-12-13, 03:04 PM
My code and the example plugin that it is used in is available on the wiki site under Fast Find.

You are more than welcome to modify it. I have not had the time yet, I am sorry to add it to the widget library.

The only development besides work that I have had the opportunity to work on in the last few weeks is the zap2it database. I still need to build the dll interface for plugin users and expand my existing plugins along with KingArgles recording tool (add recording based on description in file) to use the new data.

Anyways try out fast find and let me know what you think of its onscreen keyboard.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#6
2004-12-14, 01:07 AM
yeah i was thinking of that, but just trying to make it easier to implement. lastest idea (this mightnt be possible, never tried something like this) but maybe i could extend an dialog box, and override the paint method, or a similar control. and paint it directly into the window and not a new popup box. thus it would be seen on the pvr350/xcard etc, and also it would have complete focus, and wouldnt have to worry about the original plugin.

otherwise i have to do tests in the onkeypress, mouseclick, and other places etc, which could get messy and annoying.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  How to handle the NMT keyboard mvallevand 3 2,029 2010-01-22, 12:39 AM
Last Post: mvallevand
  ShowSearch Request (OnScreen Keyboard) mugun 3 1,823 2007-02-22, 05:42 AM
Last Post: JavaWiz
  render only called for mouse and keyboard event rshaw 24 6,587 2006-09-20, 10:45 AM
Last Post: 23skidoo
  Fast Find - Keyboard Design Question Dubya 10 3,397 2005-03-14, 08:48 PM
Last Post: Jeff
  On Screen Keyboard borgs5 3 2,148 2004-12-06, 07:38 PM
Last Post: reven
  Virtual keyboard Dai 7 3,918 2004-04-22, 06:00 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode