06-16-2022, 05:18 PM | #1 |
Member
Posts: 13
Karma: 95478
Join Date: Mar 2022
Device: Pocketbook X (1040), Pocketbook 602 pro
|
Programming in Eiffel
Hello everyone!
Previously we could write programs in C and C++ which is quite straightforward with the published SDKs. Less known are the Python (Pyinkview) and Go wrappers of libinkview. And now I want to present you a new wrapper/SDK for the Eiffel programming language. It works with EiffelStudio 19.05. The SDK (if we can call it so) consists of two parts: 1. The so called platform which configures EiffelStudio to use the official C/C++ PocketBook compilers. Available at https://github.com/imustafin/estudio...-linux-gnueabi. 2. The wrap_inkview Eiffel library which should provide a nice OOP-like interface for libinkview. Available at https://github.com/imustafin/wrap_inkview Part 1 works, needs testing. Part 2 needs a lot of work to design and develop a good interface. For now it just provides direct access to C functions. I am using this in pb-patience which is a patience/solitaire game collection for touchscreen PBs. I expect to extract the good inkview patterns to wrap_inkview. All of this is tested on PB X. Questions 1. What existing UI library/approach might be suitable for use in eInk devices in general and PB + inkview specifically? 2. Do PBs support libpthread? It compiles without any errors but crashes on the device. I wonder if I should try to fix it or is it even possible. |
06-16-2022, 08:03 PM | #2 |
Wizard
Posts: 3,015
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
I know that they used to support pthreads for sure. I used it previously for some applications that had multiple threads (although that was about ten years ago). So, I expect that you could still use pthreads on the latest devices.
Note that I left the inkview event handling in the main thread, and spawned new threads for handling events I sent from the main thread. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Qt Programming on Kobo | the_real_mcarn | Kobo Developer's Corner | 14 | 09-07-2020 04:55 PM |
Programming prs-t2 | raikoug | Sony Reader Dev Corner | 2 | 05-05-2013 04:21 AM |
BASIC programming | Zeke | Deals and Resources (No Self-Promotion or Affiliate Links) | 7 | 03-30-2012 05:19 PM |
Bargain (Kindle) - Murder on the Eiffel Tower | koland | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 09-15-2011 02:17 PM |
PRS-500 500 Programming | MarzKrishna | Sony Reader Dev Corner | 1 | 12-17-2009 09:43 PM |