Monday, January 10, 2011

Press The Hard Button

"That was hard!"
Why am I talking about buttons? Well, I spent the entirety of today's CS class working on buttons! Yes, buttons. What for? Well, since my fellow group members Hannah and Randi have already revealed what our final project is on their blogs, I might as well unveil the secret here too.

We are making a bibliography creatorRefrencite©! It will be very useful, as users will be able to create bibliographies with no hassle. 

We are progressing on our schedule quite nicely, as we plan to finish the first coding section involving the menu where the user chooses the format of their bibliography—APA, MLA, or CMS. That's why I had to find out how to create buttons.

There are two main types of buttons that can be created on Turing: text buttons and picture buttons. I was experimenting with both of these during class, and have figured out basically how they work. Unfortunately, for the picture buttons, I do not know how to create a picture button from a saved picture file.

Anyways, the main thing about buttons on Turing is that they are all actually predefined subprograms in a Graphical User Interface (GUI) module, so all one has to do is use the procedure (e.g.  GUI.CreatePictureButton) and provide the necessary parameters.

The cool thing is that with these procedures, we can also specify keyboard shortcuts for the user! So instead of pressing "add" a million times, the user can just hodl the 'A' button down. Awesome, right?

No?

Eh. So. That's what I did today... oh, and I also got my exam schedule, as I missed most of last period on Friday. I have one exam on the 25th, and two on the 26th. I didn't forget one, because the music exam is a drop in quick playing test! Which will be arranged later. ;)

Well, I've got to lots to do, so I must hop away!
The Hopping Grass

P.S. I forgot to mention that I was browsing through the formal proposals for all of the grade 9 CS classes, and Zelin & Alin's page is amazing. It's so professionally done, with a table of contents and everything! Also, their flow charts are colourful. How about that? Really well done, guys. (Now you're making everybody look bad! I need to go enhance our page. -.-")

1 comment: