Register

mylib v0.45

Discuss issues related to the fx-9860G Software Development Kit
Member
Posts: 43
Joined: Thu May 31, 2012 5:45 pm
Location: Greece
Calculators: Casio fx-9860G SD

Re: mylib v0.4

Postby hayzel » Tue Apr 23, 2013 5:13 pm

Can you try the app at:
http://koppermind.homelinux.org/files/MYLIBT.G1A

When you reachthe menu, press F1.
It should spit three values,(3 consecutive debug messages)
Can you give me those values?

Senior Member
User avatar
Posts: 113
Joined: Sun Dec 16, 2012 2:59 pm
Calculators: None

Re: mylib v0.4

Postby Casimo » Thu Apr 25, 2013 2:52 pm

After the second debug dialog, the sub menu opened and showed ijklmno, Ghi, Def, Abc until [Exit], then the third one appeared.

    Debug:
  • w2
  • w5
  • w4

    int:
  • 1
  • 4
  • 0

    db1
  • always 0.0000000
    hex:
  • 1
  • 4
  • 0

always C:\work\mylibt\mylib.c

    line:
  • 1003
  • 1008
  • 1014

I tried pressing F2, but it hung.

Edit: He, funny, I pressed [Exe] instead of [Exit] in the sub menu, and the program continued - everything after this was compatible :clap: !

Btw, do you plan to add a file browser to your lib? wudy made a great one.
Image

Member
Posts: 43
Joined: Thu May 31, 2012 5:45 pm
Location: Greece
Calculators: Casio fx-9860G SD

Re: mylib v0.4

Postby hayzel » Thu Apr 25, 2013 8:23 pm

Don't know seems to work.
Maybe the key system I made is too complicated:

1. Press one of the main menus F1-F6.
2. If the selection you made does not have a popup, Menu will exit with your selection.
3. If the selection you maid has a popup , it will be draw to the screen.
4. You can navigate with Up-Down arrows to the popup.
5. If you press [Exe] the current popup selection with return, and the menu will exit.
6. If you press [Esc] you will go to step 1.

ps. A file dialog is a good idea, even I don't need it in my projects. Thanks.

Senior Member
User avatar
Posts: 113
Joined: Sun Dec 16, 2012 2:59 pm
Calculators: None

Re: mylib v0.4

Postby Casimo » Fri Apr 26, 2013 3:30 pm

:wtf: :shock: :wtf:

EIFOK :wave:

I don't know what I did before; I tried your first versions again. Everything was correct. Ugly.
Sorry to bother you. The key system was good :lolno: .
Image

Member
Posts: 43
Joined: Thu May 31, 2012 5:45 pm
Location: Greece
Calculators: Casio fx-9860G SD

Re: mylib v0.4

Postby hayzel » Fri Apr 26, 2013 4:14 pm

don't bother to apologize. :D ;)

Member
Posts: 43
Joined: Thu May 31, 2012 5:45 pm
Location: Greece
Calculators: Casio fx-9860G SD

mylib v0.45

Postby hayzel » Fri May 17, 2013 2:22 pm

A new version update in downloads section.
The zip file contains a complete project for casio 9860 sdk, to test mylib abilities.
http://www.casiopeia.net/forum/downloads.php?view=detail&df_id=86

Changes in v0.45:
The changes made a dialog more dynamic than before. You can now write custom code in response to the dialog user input.
-added a new event callback function to the dialog menu. This event function can handle the dialog data in response to user input. The supported events are:
EVENT_BEFORE_REFRESH: trigger when the dialog is ready to be drawn.
EVENT_AFTER_REFRESH: trigger when the dialog is drawn.
EVENT_ITEM_CHANGED: trigger when the user changed the contents of a DialogItem or selection.
EVENT_ITEM_NEXT,EVENT_ITEM_PREV: trigger when the user moved to another DialogItem.
EVENT_KEY_PRESSED: trigger when the user pressed a key different from F1-F6,Arrows,Exe
-added visible flag on DialogItem*. Now you can make a DialogItem of a dialog hidden. You can use this flag even during the dialog execution with the help of the new event system.

Previous

Return to Casio fx-9860 SDK

Who is online

Users browsing this forum: No registered users and 18 guests