summaryrefslogtreecommitdiffstats
path: root/gst/games/gstpuzzle.c
AgeCommit message (Collapse)AuthorFilesLines
2005-01-08gst/games/gstpuzzle.c: - handle nav events differently: forward every event ↵Benjamin Otte1-28/+49
no matter if it was handled or not. Original commit message from CVS: * gst/games/gstpuzzle.c: (nav_event_handler): - handle nav events differently: forward every event no matter if it was handled or not. - translate events You can now cheat by using navigationtest ! puzzle and moving the mouse close to the edge of a tile. ;)
2005-01-06gst/games/gstpuzzle.c: don't draw a puzzle if either width or height of ↵Benjamin Otte1-0/+6
tiles would be 0. Original commit message from CVS: * gst/games/gstpuzzle.c: (draw_puzzle): don't draw a puzzle if either width or height of tiles would be 0.
2005-01-06gst/games/gstpuzzle.c: no memleaks, please change initialization code around ↵Benjamin Otte1-12/+44
so we don't reshuffle on resize fix anot... Original commit message from CVS: * gst/games/gstpuzzle.c: (gst_puzzle_get_type), (gst_puzzle_class_init), (gst_puzzle_finalize): no memleaks, please (gst_puzzle_create), (gst_puzzle_init), (gst_puzzle_set_property), (gst_puzzle_setup): change initialization code around so we don't reshuffle on resize (draw_puzzle): fix another stupid typo
2005-01-06gst/games/gstpuzzle.c: fix edges when image sizes aren't multiples of tile sizesBenjamin Otte1-10/+14
Original commit message from CVS: * gst/games/gstpuzzle.c: (draw_puzzle): fix edges when image sizes aren't multiples of tile sizes
2005-01-06gst/games/gstpuzzle.c: make RGB endianness work correctly refactor and fix ↵Benjamin Otte1-9/+61
race with initial shuffling allow using th... Original commit message from CVS: * gst/games/gstpuzzle.c: (gst_puzzle_base_init): make RGB endianness work correctly (gst_puzzle_show), (gst_puzzle_swap), (gst_puzzle_move): refactor and fix race with initial shuffling (nav_event_handler): allow using the mouse to puzzle (draw_puzzle): insist on tiles having width and height as multiples of 4 to get clean YUV image handling * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new), (gst_xvimagesink_handle_xevents), (gst_xvimagesink_buffer_alloc): s/DEBUG/LOG/ for common messages (gst_xvimagesink_navigation_send_event): fix mouse event translation to not include screen PAR * sys/ximage/ximagesink.c: (gst_ximagesink_navigation_send_event): fix mouse event translation to actually work
2005-01-06add a puzzle game with...Benjamin Otte1-0/+458
Original commit message from CVS: * configure.ac: * gst/games/Makefile.am: * gst/games/gstpuzzle.c: add a puzzle game with... * gst/games/gstvideoimage.c: * gst/games/gstvideoimage.h: ... full colorspace support (that includes YUV9 and RGB16)) stolen from videotestsrc and made into something that would be a nice library for a lot of other plugins.