Re: Text Mode UI Library

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi

Several years ago I adopted and adapted dialogs.e for use with my database - it now is the basis for the entire system. I have modded it quite heavily, it's still very simple to use, is cross platform, and on the number of machines I have tested it on does not seem to have cursor key anomalies (see the wait_key_nn and get_key_nn fuctions - uses a key buffer queue recognition), and I also had a problem with background highlighting wich was fixed by DP, but which I used a slightly different method of fixing - just didn't allow them on those consoles that couldn't display highlighted backgrounds.

The lines on linux consoles are difficult to display from different console to different console, so I opted for simple text characters - the lines work fine on Windows xp consoles.

The mouse is a different kettle of fish - On Linux you would use calls to gpm to find the mouse position, but as this would require polling of gpm, it kind of defeats the simplicity of the library. Similarly on dos / windows dos consoles a custom mouse poller would be needed, which would distract from the text mode entry method.

The includes use the pre 4.0 system, and require 3.1 includes in place - this works for me, and I have no reason to change it at the moment, however this works fine under eu 4, and I even use 4 std/includes in other parts of the program. There are other sections which predate eu 4 that I could have updated - eg testing whether on Linux or Windows.

Anyway, here is my contribution to this thread
Fdialogs.ex http://openeuphoria.org/pastey/91.wc
demo.exu http://openeuphoria.org/pastey/92.wc
MFTest.exu (Mixed form testing) http://openeuphoria.org/pastey/93.wc

Chris

Ah, i see there's a limit on Pastey - go here for Fdialogs http://www.box.net/shared/ga9lntsa0zj9gzudgybc

Chris

There doesn't seem to be facility to delete those pasteys - any chance anyone can tidy up and delete them (91 and 94)?

Chris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu