summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Thadeu Lima de Souza Cascardo [Fri, 15 Aug 2008 21:08:44 +0000 (18:08 -0300)]
Change scale to four, since the new picture requires it
Thadeu Lima de Souza Cascardo [Thu, 14 Aug 2008 19:30:48 +0000 (16:30 -0300)]
Do not exit loop if a key is pressed
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 21:18:31 +0000 (18:18 -0300)]
Ignore executable and input file
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 21:11:19 +0000 (18:11 -0300)]
Use 2 seconds for a face and 100 FPS: they seem to be more reasonable
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 20:26:51 +0000 (17:26 -0300)]
Instead of a timer, use delay
Instead of using a timer, which may run on another thread, just simply
delay the number of milliseconds needed to keep up with the requested
frame rate.
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 20:09:45 +0000 (17:09 -0300)]
Shows the name related to the face when stoping
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 19:48:19 +0000 (16:48 -0300)]
Read the names of people from the file
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 19:20:21 +0000 (16:20 -0300)]
Stop for some seconds on every face
Stops for five seconds on every face. It also changes the number of
frames per second to 4. It seems the CPU can't do all the work for
30FPS, and that's why the keyboard never seemed to work. The queue got
filled up with "drawing" events very fast.
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 18:29:42 +0000 (15:29 -0300)]
Initializes the video with the chosen resolution
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 18:22:20 +0000 (15:22 -0300)]
Prints some subtitles
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 11:09:44 +0000 (08:09 -0300)]
Use cairo to scale picture
Cairo is now used to scale the picture. For now, it simply scales for
twice the real size. This will be used later for a feature of zooming in
and out of the picture.
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 09:02:37 +0000 (06:02 -0300)]
Implement a new function to get a new image based on the original
This function will make it easier to simply overload it with a function
that scales the slices.
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 08:10:15 +0000 (05:10 -0300)]
Return the center of the image instead of the top-left corner
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 07:53:22 +0000 (04:53 -0300)]
Do not use fullscreen in the development version.
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 07:48:34 +0000 (04:48 -0300)]
Read the points from a file.
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 07:01:18 +0000 (04:01 -0300)]
Use Bresenham to draw the line between faces
This solves the problem of the slope and direction when drawing lines.
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 05:28:03 +0000 (02:28 -0300)]
Moves through a list of points
Given a list of points, it will loop over them and show each point
centered on the screen, moving in a straight line between them. However,
it only works with lines with a slope of one.
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 04:59:06 +0000 (01:59 -0300)]
Shows a moving image
It shows 30 frames per second of a piece of a image moving from its
top-left corner to its bottom-right corner.
Thadeu Lima de Souza Cascardo [Tue, 12 Aug 2008 03:36:06 +0000 (00:36 -0300)]
Shows an image
This simply shows an image from my home, without resizing it, until the
user presses a key.