View Single Post
Old 06-16-2022, 04:18 PM   #1
imustafin
Member
imustafin knows how to set a laser printer to stun.imustafin knows how to set a laser printer to stun.imustafin knows how to set a laser printer to stun.imustafin knows how to set a laser printer to stun.imustafin knows how to set a laser printer to stun.imustafin knows how to set a laser printer to stun.imustafin knows how to set a laser printer to stun.imustafin knows how to set a laser printer to stun.imustafin knows how to set a laser printer to stun.imustafin knows how to set a laser printer to stun.imustafin knows how to set a laser printer to stun.
 
Posts: 13
Karma: 95478
Join Date: Mar 2022
Device: Pocketbook X (1040), Pocketbook 602 pro
Lightbulb 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.
imustafin is offline   Reply With Quote