I've been working on this for a week or so, picking up stuff about C++ along the way. The code's pretty dirty at the moment (I'd like to think it's at least designed half well, but I won't make that claim yet.
![Smile](http://www.dcemu.co.uk/images/smilies/smile.png)
). I wanted to just release this early version so that it would be out there for anyone interested.
You can find some Bible texts here:
http://www.o-bible.com/dlb.html
The format is like this:
bookname chapter:verse text
each on its own line. That's all that the reader parses at the moment.
I wanted to be able to get around quickly, so what it does is build an "index" file of a sort. The first time you open a Bible text it will take a little while (there's a little loading text). Both the KJV and BBE versions I linked should work. Hopefully any with similar structure should work as well. Anyways, the first time it will build the index file which should have a .bfo extension. It records the position of the beginning of each chapter in the text file, so getting to any verse involves looking up the file position for the chapter and searching for the verse.
Apparently the BBE version is not working 100%. The file seems to be parsed ok, and it worked the first time (when the index was created), but upon loading it the second time it can't find the text or something. I'll figure it out sometime this weekend probably.
Nick
Features
Indexed browsing
Crappy interface (can only move by verse, chapter, and book, one at a time)
No searching
Doesn't support multiple formats (doesn't even [fully] support the one format it's supposed to
![Wink](http://www.dcemu.co.uk/images/smilies/wink.png)
)
Links
Bibles:
http://www.o-bible.com/dlb.html
Plugin:
http://nick.spacek.googlepages.com/dsoBib.dsp
Things to do
New icon (doh, meant to do that!)
Get rid of unnecessary buttons
Loading animation
Thanks DragonMinded for the suggestions!