Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 107 users online: 9 members, 75 guests and 23 bots. Members: Ashbad, gbl08ma, HOMER-16, JamesV, Link, Piguy-3.14. Bots: Spinn3r (2), Magpie Crawler (3), Googlebot (17), MSN/Bing (1).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
|
| Author |
Message |
|
gbl08ma
Power User

Joined: 26 Nov 2011 Posts: 475 Location: Portugal
|
|
| Back to top |
|
|
AHelper

LONG LIVE COMICTECH

Joined: 30 Jan 2011 Posts: 1656 Location: Aufhelperstan, Utopian Republic
|
Posted: 06 Aug 2012 02:19:46 pm Post subject: |
|
|
Oh well... At least their inclusion of the RTC unit didn't go to waste
<edit>
I removed the Calendar and Clock buttons with a View menu. Here it is below:
Now, the calendar has a new view being added, the year view. Here's a WIP of the rendering of the small calendars.
I already fixed the letters 1 pixel too low. I will fix the box height being too short, add in a grid, and fix highlight issues. Now, some polling:- I want to let you know if an event is active for a day. Should I widen it a bit and display an icon in the cell, or shade the cell a color?
- I left out the overlap days (from previous and next month). Should I add them? I don't know if grey will look good.
- Should I shade the background for weekends? (Light grey, or name your color)
_________________ °ᴥ° Get Lucky
<BrandonW> "You don't even want to know what TI Connect does when it's just detecting your calculator...It ACTUALLY ERASES THE SWAP SECTOR on every communication attempt...EVERY SINGLE ATTEMPT...Yes, TI Connect will kill your calculator..What do I have to do to get your attention?!....Such a bloated protocol." |
|
| Back to top |
|
|
gbl08ma
Power User

Joined: 26 Nov 2011 Posts: 475 Location: Portugal
|
Posted: 07 Aug 2012 09:00:52 am Post subject: |
|
|
| AHelper wrote: | - I want to let you know if an event is active for a day. Should I widen it a bit and display an icon in the cell, or shade the cell a color?
|
Shade the cell with the "light" color for the category of the event for that day. For days with multiple events, either display the color for the first event/most used category for that day, or switch the color each second for each different category (may look ugly/flashy).
| AHelper wrote: |
- I left out the overlap days (from previous and next month). Should I add them? I don't know if grey will look good.
|
Try to use a very light grey and see if it looks nice. You could create a setting for hiding other months days', for people who don't like them anyway (you said you'll be using the Main Memory, so adding some keys to it for settings shouldn't be hard).
| AHelper wrote: |
- Should I shade the background for weekends? (Light grey, or name your color)
|
Do not shade (because that would get in conflict with days that have events), instead make the text color for weekends red or blue.
One more thing: do you plan on adding an "agenda" view, where we can see all events in a list for e.g. the next 30 days?
Now that I'm clearing abusing of your motivation for developing this add-in, let me add a few more crazy ideas:
- Multiple clocks/timezones
- Multiple stopwatches and countdowns
- Google Calendar and CalDAV sync (OK, I'm clearly dreaming now ) _________________ My blog, where I write about random things... | tiny URL shortener
View JPEG images on your Prizm | Utilities for the Casio Prizm - clock, stopwatch, calendar/agenda, add-in manager and more! |
|
| Back to top |
|
|
AHelper

LONG LIVE COMICTECH

Joined: 30 Jan 2011 Posts: 1656 Location: Aufhelperstan, Utopian Republic
|
|
| Back to top |
|
|
gbl08ma
Power User

Joined: 26 Nov 2011 Posts: 475 Location: Portugal
|
Posted: 08 Aug 2012 05:17:30 am Post subject: |
|
|
Every pixel seems in place now I like the way weekends are colored. By the way, do you plan on adding a setting for the day the week starts at (Monday or Sunday), or would this be too difficult with the current calendar implementation?
Suggestions for the file event layout:
I see you're identificating fields by their absolute position in the file (0x0010, 0x0016, etc.). What about using a control character like 0x1D (ascii 29) to separate fields within one event, and another control character like 0x1E (ascii 30) for delimiting one event (for files with multiple events)?
1st field would be the category, 2nd field the date range...
In my opinion, this approach would have the additional benefits:
- Virtually unlimited fields in terms of length. One field could have one byte or 3000 bytes, but you'd know that when character appears, that's the start of a new field.
- Backwards compatibility. You could have e.g. 10 fields in the first version of the add-in, and make it ingore any fields past the 10th one. Then on a second version of the add-in, imagine you need to add a 11th field. I think this would break compatibility with previous calendars if your file format was used!
This new version would have no problem parsing the old format with ten fields (it'll just find out there's no eleventh one and set it empty), and the old version will have no problem parsing the new format (it'll just ignore the 11th field).
And the following cons:
- Too much of an hassle for a simple event storage? I have no idea if it's very difficult to parse a file and look for special characters (I'd do it with some loops, but I never tried that TBH).
- Uses more space (one more byte per field, the same bytes per event as the pointer to the next event would not be needed).
Also, for multiple timezones with a clock for each, I don't think it's such an hard thing: just add an offset of X (or -X) hours to the "real" clock (RTC), which could be set to UTC (and then people would select their main timezone). Don't worry about this now though, as I think this is something I can hack into the add-in when it is finished  _________________ My blog, where I write about random things... | tiny URL shortener
View JPEG images on your Prizm | Utilities for the Casio Prizm - clock, stopwatch, calendar/agenda, add-in manager and more! |
|
| Back to top |
|
|
krazylegodrummer56

Power User

Joined: 20 Nov 2011 Posts: 404
|
Posted: 08 Aug 2012 09:24:42 am Post subject: |
|
|
Looks really good. Can't wait for this version to come out! _________________ Projects: Learn how to program in Prizm C
First C program!
Tic-Tac-Toe: Get it HERE!
 |
|
| Back to top |
|
|
helder7
Member

Joined: 23 Dec 2011 Posts: 136
|
Posted: 09 Aug 2012 07:20:18 pm Post subject: |
|
|
| gbl08ma wrote: |
That is consistent with the fact that I found some messages in the OS (for the PrintXY2 function) that seem to be related to clock settings. |
Maybe this is a ea-200 function, i shearched in OS and i found this modes is ea-200
[normal mode]
[clock mode]
[sound mode]
[realtime mode], and other...
i think, calculator can output sound to ea-200, i found also references to microphone related with ea-200
some ea-200 text strings are registed only in OS in english. _________________ SiO2 + CaCO3 ----------> CaSiO3 + CO2 |
|
| Back to top |
|
|
AHelper

LONG LIVE COMICTECH

Joined: 30 Jan 2011 Posts: 1656 Location: Aufhelperstan, Utopian Republic
|
Posted: 09 Aug 2012 07:23:43 pm Post subject: |
|
|
You are correct. If you look at the app on your calculator and try to set up the equipment, it lists all of the modes it supports.
It outputs sound in the form of a Y= waveform iirc _________________ °ᴥ° Get Lucky
<BrandonW> "You don't even want to know what TI Connect does when it's just detecting your calculator...It ACTUALLY ERASES THE SWAP SECTOR on every communication attempt...EVERY SINGLE ATTEMPT...Yes, TI Connect will kill your calculator..What do I have to do to get your attention?!....Such a bloated protocol." |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55732 Location: Earth, Sol, Milky Way
|
Posted: 09 Aug 2012 08:36:51 pm Post subject: |
|
|
If I may nitpick, the blue/green background/foreground combination makes me sad, but other than that it looks great. Keep up the good work! _________________
 |
|
| Back to top |
|
|
AHelper

LONG LIVE COMICTECH

Joined: 30 Jan 2011 Posts: 1656 Location: Aufhelperstan, Utopian Republic
|
Posted: 09 Aug 2012 08:46:02 pm Post subject: |
|
|
If you find a better color combo (16 bit fore- and background), you can post them here for others to pick I am fine with changing it _________________ °ᴥ° Get Lucky
<BrandonW> "You don't even want to know what TI Connect does when it's just detecting your calculator...It ACTUALLY ERASES THE SWAP SECTOR on every communication attempt...EVERY SINGLE ATTEMPT...Yes, TI Connect will kill your calculator..What do I have to do to get your attention?!....Such a bloated protocol." |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55732 Location: Earth, Sol, Milky Way
|
Posted: 09 Aug 2012 10:20:29 pm Post subject: |
|
|
| AHelper wrote: | If you find a better color combo (16 bit fore- and background), you can post them here for others to pick I am fine with changing it | I'd prefer a color plus a non-color: ie, a colored background with grayscale text, or a light gray background with blue text. _________________
 |
|
| Back to top |
|
|
AHelper

LONG LIVE COMICTECH

Joined: 30 Jan 2011 Posts: 1656 Location: Aufhelperstan, Utopian Republic
|
Posted: 09 Aug 2012 10:59:24 pm Post subject: |
|
|
Hmm... How about one of these two combos?
 _________________ °ᴥ° Get Lucky
<BrandonW> "You don't even want to know what TI Connect does when it's just detecting your calculator...It ACTUALLY ERASES THE SWAP SECTOR on every communication attempt...EVERY SINGLE ATTEMPT...Yes, TI Connect will kill your calculator..What do I have to do to get your attention?!....Such a bloated protocol." |
|
| Back to top |
|
|
gbl08ma
Power User

Joined: 26 Nov 2011 Posts: 475 Location: Portugal
|
Posted: 10 Aug 2012 04:47:44 am Post subject: |
|
|
| helder7 wrote: | | gbl08ma wrote: |
That is consistent with the fact that I found some messages in the OS (for the PrintXY2 function) that seem to be related to clock settings. |
Maybe this is a ea-200 function, i shearched in OS and i found this modes is ea-200
[normal mode]
[clock mode]
[sound mode]
[realtime mode], and other...
i think, calculator can output sound to ea-200, i found also references to microphone related with ea-200
some ea-200 text strings are registed only in OS in english. |
The "Time settings" string is translated in all languages, but that doesn't matter as I already found out where it appears: in the Spreadsheet mode (can't remember well exactly but I found that out yesterday).
It's unlikely Casio ever thought about adding a human-readable clock for daily use to the UI of the Prizm OS, but having settings for setting the RTC and then using it for something useful would only bring advantages (e.g. the files would get the correct creation and modification date, as opposed to some fixed date sometime in 2010).
About the color scheme: well, you have three options - either use the flashy 8-bit style used by Casio in most OS screens other than the Menu (which not many people like but goes in style with everything else in the OS), get a more subtle color sheme, or else go through the hassle of supporting custom colors with a settings screen (not something easy and not very useful).
About a more subtle color scheme: most calendar softwares I see today are very white-ish (perhaps because that's the color of the paper?) and then have the lines, text, etc. in color (usually light greys, black, dark blues, dark reds, dark greens...). Perhaps you could try to match that style? _________________ My blog, where I write about random things... | tiny URL shortener
View JPEG images on your Prizm | Utilities for the Casio Prizm - clock, stopwatch, calendar/agenda, add-in manager and more! |
|
| Back to top |
|
|
AHelper

LONG LIVE COMICTECH

Joined: 30 Jan 2011 Posts: 1656 Location: Aufhelperstan, Utopian Republic
|
Posted: 10 Aug 2012 05:41:12 pm Post subject: |
|
|
The Prizm does have syscalls for reading and making numeric dates from text strings, as well as getting and setting the RTC clock.
It isn't 8 bit, it is 3 bit (I like it and don't see problems with it). This add-in (as well as my other utility add-ins) is trying to fit in nicely with the OS. I do not want to break from that. Otherwise I would have made this add-in differently.
Initially my goal was, and still it, to use mostly 3 bit colors. The only non-3-bit color I use is COLOR_LIGHTGRAY/COLOR_LIGHTSLATEGRAY, the rest are 3-bit. I don't want to use non-colorful colors since, well, it is a Prizm and the OS tries to use colors to present data better.
The paper theme that you are describing sounds like how Windows made their calendars. I don't know what they are now. _________________ °ᴥ° Get Lucky
<BrandonW> "You don't even want to know what TI Connect does when it's just detecting your calculator...It ACTUALLY ERASES THE SWAP SECTOR on every communication attempt...EVERY SINGLE ATTEMPT...Yes, TI Connect will kill your calculator..What do I have to do to get your attention?!....Such a bloated protocol." |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55732 Location: Earth, Sol, Milky Way
|
Posted: 10 Aug 2012 09:42:26 pm Post subject: |
|
|
| AHelper wrote: | Hmm... How about one of these two combos?
 | Yes, perfect! Those are exactly the sort of color combinations that I love.  _________________
 |
|
| Back to top |
|
|
gbl08ma
Power User

Joined: 26 Nov 2011 Posts: 475 Location: Portugal
|
Posted: 11 Aug 2012 02:42:16 pm Post subject: |
|
|
I'm OK with the 3-bit colors, as the purpose is to fit in with the OS. If I am OK with the OS color scheme, I'm not - an example: the red looks a bit like pink on my Prizm, and I'd like to have some more saturated red instead.
| AHelper wrote: | | The paper theme that you are describing sounds like how Windows made their calendars. I don't know what they are now. |
I don't know either since I don't use Windows for ages... Google Calendar, Thunderbird-Sunbird and Evolution are white, though (the last two ones with customizable color schemes, most likely)  _________________ My blog, where I write about random things... | tiny URL shortener
View JPEG images on your Prizm | Utilities for the Casio Prizm - clock, stopwatch, calendar/agenda, add-in manager and more! |
|
| Back to top |
|
|
gbl08ma
Power User

Joined: 26 Nov 2011 Posts: 475 Location: Portugal
|
Posted: 14 Aug 2012 01:23:51 pm Post subject: |
|
|
When you have time, could you please post the source code for the work you've done so far? I'd like to have the calendar ready before mid-September, but I understand people have more things to do than code for me, so I'd like to have a try at finishing the calendar events part.
Also, I suppose you are using your fork of libfxcg with more syscalls than the original one, and that it may be somewhere on GitHub. If not, could you please post it too? _________________ My blog, where I write about random things... | tiny URL shortener
View JPEG images on your Prizm | Utilities for the Casio Prizm - clock, stopwatch, calendar/agenda, add-in manager and more! |
|
| Back to top |
|
|
AHelper

LONG LIVE COMICTECH

Joined: 30 Jan 2011 Posts: 1656 Location: Aufhelperstan, Utopian Republic
|
Posted: 14 Aug 2012 01:27:32 pm Post subject: |
|
|
I don't have code in for events, so there's nothing to post for that.
Here's the github url: https://github.com/AHelper/libfxcg/tree/new-syscalls _________________ °ᴥ° Get Lucky
<BrandonW> "You don't even want to know what TI Connect does when it's just detecting your calculator...It ACTUALLY ERASES THE SWAP SECTOR on every communication attempt...EVERY SINGLE ATTEMPT...Yes, TI Connect will kill your calculator..What do I have to do to get your attention?!....Such a bloated protocol." |
|
| Back to top |
|
|
Spenceboy98

Super-Expert

Joined: 06 Jan 2012 Posts: 819 Location: In the TARDIS
|
Posted: 14 Aug 2012 03:36:05 pm Post subject: |
|
|
If only you could make it put the clock at the top at all times(See the Red on top):
I used one of your images for reference. |
|
| Back to top |
|
|
gbl08ma
Power User

Joined: 26 Nov 2011 Posts: 475 Location: Portugal
|
|
| Back to top |
|
|
|
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
» Go to Registration page
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.044759 seconds.
|