![]() |
#1 | |
Pac-Man caught my iLiad.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
|
RPN and algebraic scientific calculator calcoo
[04/25/2008] v.0.2.1 is out. It's v0.2 + pixbuf-loaders installation, which solves the app loading problems as discussed below.
Calcoo is a RPN and algebraic scientific calculator. ![]() Features are as listed on official Calcoo homepage: # both RPN and algebraic modes # bitmapped button labels and display glyths # undo/redo # copy/paste interaction with the X clipboard # two memory registers with displays # displays for Y, Z, and T registers Calcoo opens as a window on iLiad's screen. So you can scribble in pdf & calculate at the same time. You can move Calcoo's window with stylus on screen. I tweaked the files b_main.c, b_settings.c & b_info.c to get Calcoo in it's own window. This is discussed below. "Settings" (!) & "Info" (?) dialog open a 2nd window. Have a look at the screenshot. You can find the src on my projects page. official Calcoo homepage: with versions for Linux, Windows & Mac. [2007/10/12]: There is a problem. Calcoo doesn't start anymore. I will work on it. [2007/11/03]: Sorry for the delay. A new version calcoo.iLiad.0.2 is out. Now with an installer. I tested it on CF/main memory. Quote:
2nd screenshot: recent version, showing Callcoo with Info-Dialog ["?"-Button] Last edited by yokos; 04-25-2008 at 09:51 AM. Reason: v0.2.1 |
|
![]() |
![]() |
![]() |
#2 |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Cool.
![]() It might solve your problem if you made the window manager think it was a dialog box instead of a regular application. That should give you a close button and clean up all that white space. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Code:
gtk_window_set_type_hint (body->main_window, GDK_WINDOW_TYPE_HINT_DIALOG); ![]() ![]() |
![]() |
![]() |
![]() |
#4 | |
Pac-Man caught my iLiad.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
|
Quote:
Cool, that's so easy. ![]() |
|
![]() |
![]() |
![]() |
#5 |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Interesting that the old "main window as a dialog box" also works on Linux. It's a standard "trick" that we use in Windows programming, too, that gives you a lot of functionality "for free".
|
![]() |
![]() |
![]() |
#7 | |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Quote:
What do you gain by doing that in Windows? |
|
![]() |
![]() |
![]() |
#8 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Two main things:
1. You can design your dialog box with the very nice "drag and drop" editors that development environments like Microsoft's Visual Studio provide. On a "main" window you have to position everything with code, which is a lot more work. (For the purists, that's not strictly true, but it'll do as a first approximation) 2. At runtime, you get "for free" a standard keyboard interface, with "Tab" moving you from control to control, and "hotkeys" to jump directly to specified controls. For non-dialog windows, you have to do all that yourself. Those are the main benefits. |
![]() |
![]() |
![]() |
#9 |
Pac-Man caught my iLiad.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
|
Ok, Calcoo is now working like it should do.
![]() I have attached the new binary in post #1. |
![]() |
![]() |
![]() |
#10 |
Pac-Man caught my iLiad.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
|
I'm sorry, I wanted to edit post #1 but got a reply.
![]() |
![]() |
![]() |
![]() |
#11 |
Old Yeller
![]() Posts: 180
Karma: 67
Join Date: May 2006
Device: Iliad & Kindle - The Best of Both Worlds
|
Will this need to be installed on a card or can it be run directly from the Iliad?
|
![]() |
![]() |
![]() |
#12 | |
Pac-Man caught my iLiad.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
|
Quote:
![]() Last edited by yokos; 08-27-2007 at 07:03 AM. |
|
![]() |
![]() |
![]() |
#13 |
Old Yeller
![]() Posts: 180
Karma: 67
Join Date: May 2006
Device: Iliad & Kindle - The Best of Both Worlds
|
Hmmm ... in that case, I can't get it to work. The Calcoo window pops up briefly, then disappears again. Gnuchess runs fine from the same directory on the Iliad. Dang it ....
|
![]() |
![]() |
![]() |
#14 |
Connoisseur
![]() Posts: 86
Karma: 10
Join Date: Dec 2006
Device: Iliad
|
Same here, i am not able to run it, it seems to pop up very fast, but then its gone.
|
![]() |
![]() |
![]() |
#15 |
Pac-Man caught my iLiad.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Original games, calculator and clock | Patarch21 | PocketBook | 3 | 03-31-2010 11:03 AM |
x48 calculator for iLiad | scotty1024 | iRex | 48 | 12-15-2009 05:05 PM |
Lead time for Kindle book release ahead of print release date - experiences? | Buran | Amazon Kindle | 6 | 05-04-2009 02:29 PM |
iLiad TI Calculator Emulator Port for iLiad | scotty1024 | iRex Developer's Corner | 16 | 11-23-2006 03:09 PM |
Google Checksum CH calculator | cyberax | Lounge | 2 | 08-17-2004 09:37 PM |