search for: key_cod

Displaying 11 results from an estimated 11 matches for "key_cod".

Did you mean: key_col
2007 Feb 02
0
Branch 'interpreter' - 6 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_compiler.c libswfdec/swfdec_sprite.c test/swfdec-extract.c
...); - + guint length = swfdec_bits_get_u32 (bits); + SwfdecBits action_bits; + SwfdecBuffer *buffer = swfdec_bits_get_buffer (bits, length); + + if (buffer == NULL) + break; + swfdec_bits_init (&action_bits, buffer); if (event_flags & SWFDEC_EVENT_KEY_PRESS) key_code = swfdec_bits_get_u8 (bits); else @@ -413,14 +416,13 @@ swfdec_spriteseg_place_object_2 (SwfdecS } if (content->events == NULL) content->events = swfdec_event_list_new (SWFDEC_DECODER (s)->player); - swfdec_event_list_parse (content->events, &s->b, s-...
2007 Jun 18
0
Branch 'as' - 8 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_sprite_movie.h libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_swf_decoder.h
...ATUS_OK; - } - if (has_blend_mode) { - guint operator = swfdec_bits_get_u8 (bits); - content->operator = swfdec_sprite_convert_operator (operator); - SWFDEC_ERROR (" operator = %u", operator); - } - if (has_clip_actions) { - int reserved, clip_event_flags, event_flags, key_code; - char *script_name; - - g_assert (content->events == NULL); - content->events = swfdec_event_list_new (SWFDEC_DECODER (s)->player); - reserved = swfdec_bits_get_u16 (bits); - clip_event_flags = swfdec_get_clipeventflags (s, bits); - - if (content->name) - scrip...
2003 Dec 13
1
widget hierarchy - program variables
Hi! During developing my little program, I''ve noticed, that the objects have a hierarchy, but now I don''t know what to do, if a widget initiates an event which has an effect to the parent, grandfather/brother/other relatives. Is there a tutorial for this aspect? Gergo -- +-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+ |
2007 Jun 13
0
Branch 'as' - 2 commits - libswfdec/swfdec_sprite.c test/trace
...a/libswfdec/swfdec_sprite.c b/libswfdec/swfdec_sprite.c index eaee0db..de4c741 100644 --- a/libswfdec/swfdec_sprite.c +++ b/libswfdec/swfdec_sprite.c @@ -369,7 +369,7 @@ swfdec_spriteseg_do_place_object (Swfdec SWFDEC_INFO ("clip event with flags 0x%X, key code %d", event_flags, key_code); #define SWFDEC_IMPLEMENTED_EVENTS \ - (SWFDEC_EVENT_LOAD | SWFDEC_EVENT_UNLOAD | SWFDEC_EVENT_ENTER | \ + (SWFDEC_EVENT_LOAD | SWFDEC_EVENT_UNLOAD | SWFDEC_EVENT_ENTER | SWFDEC_EVENT_INITIALIZE | SWFDEC_EVENT_CONSTRUCT | \ SWFDEC_EVENT_MOUSE_DOWN | SWFDEC_EVENT_MOUSE_MOVE | SWFDEC_EVENT_M...
2007 Apr 29
0
[981] branches/wxruby2/wxwidgets_282/samples/caret/caret.rb: Don''t call PaintDC.new; just refresh() instead of duplicating paint code
...end </ins><span class="cx"> end </span><span class="cx"> </span><span class="cx"> if caret </span><span class="lines">@@ -204,21 +203,8 @@ </span><span class="cx"> ch = event.key_code </span><span class="cx"> if !event.alt_down and (ch >= K_SPACE) and (ch < K_DELETE) </span><span class="cx"> self[@x_caret, @y_caret] = ch.chr </span><del>- - caret = get_caret - if caret - caret.hid...
2007 Mar 28
0
3 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_sprite.c libswfdec/swfdec_tag.c
...wfdecBits action_bits; - SwfdecBuffer *buffer = swfdec_bits_get_buffer (bits, length); - if (buffer == NULL) - break; - swfdec_bits_init (&action_bits, buffer); + swfdec_bits_init_bits (&action_bits, bits, length); if (event_flags & SWFDEC_EVENT_KEY_PRESS) key_code = swfdec_bits_get_u8 (&action_bits); else @@ -445,7 +442,6 @@ swfdec_spriteseg_place_object_2 (SwfdecS SWFDEC_ERROR ("not all action data was parsed: %u bytes left", swfdec_bits_left (&action_bits)); } - swfdec_buffer_unref (buffer); } g_free...
2010 Jan 24
13
Where can I find a list of events for each widget?
I''ve searched the documentation like crazy but I can''t seem to find the events for each of the widgets. Any info on this would be greatly appreciated. -- Posted via http://www.ruby-forum.com/.
2007 Oct 25
0
6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_resource.c
...@@ swfdec_sprite_movie_perform_place (SwfdecSpriteMovie *movie, SwfdecBits *bits, g SwfdecBits action_bits; swfdec_bits_init_bits (&action_bits, bits, length); - if (event_flags & SWFDEC_EVENT_KEY_PRESS) + if (event_flags & (1<<SWFDEC_EVENT_KEY_PRESS)) key_code = swfdec_bits_get_u8 (&action_bits); else key_code = 0; SWFDEC_INFO ("clip event with flags 0x%X, key code %d", event_flags, key_code); #define SWFDEC_IMPLEMENTED_EVENTS \ - (SWFDEC_EVENT_LOAD | SWFDEC_EVENT_UNLOAD | SWFDEC_EVENT_ENTER | SWFDEC_EVENT_INITIALIZE |...
2007 Apr 13
0
5 commits - libswfdec/Makefile.am libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_font.c libswfdec/swfdec_loadertarget.c libswfdec/swfdec_movie.h libswfdec/swfdec_pattern.c libswfdec/swfdec_pattern.h libswfdec/swfdec_player.c
...ATUS_OK; + } + if (has_blend_mode) { + guint operator = swfdec_bits_get_u8 (bits); + content->operator = swfdec_sprite_convert_operator (operator); + SWFDEC_ERROR (" operator = %u", operator); + } if (has_clip_actions) { int reserved, clip_event_flags, event_flags, key_code; char *script_name; @@ -450,6 +482,18 @@ swfdec_spriteseg_place_object_2 (SwfdecS } int +swfdec_spriteseg_place_object_2 (SwfdecSwfDecoder * s) +{ + return swfdec_spriteseg_do_place_object (s, 2); +} + +int +swfdec_spriteseg_place_object_3 (SwfdecSwfDecoder * s) +{ + return swfdec_sprit...
2007 Jun 13
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_sprite.c
...content, GUINT_TO_POINTER (content->depth)); swfdec_content_free (content); swfdec_sprite_remove_last_action (s->parse_sprite, s->parse_sprite->parse_frame); @@ -443,10 +348,8 @@ swfdec_spriteseg_do_place_object (Swfdec int reserved, clip_event_flags, event_flags, key_code; char *script_name; - if (content->events) { - swfdec_event_list_free (content->events); - content->events = NULL; - } + g_assert (content->events == NULL); + content->events = swfdec_event_list_new (SWFDEC_DECODER (s)->player); reserved = swfdec...
2007 Nov 28
0
59 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_button.c libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_button_movie.h libswfdec/swfdec_event.c
...atic void diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c index a9f99a7..15d6af3 100644 --- a/libswfdec/swfdec_sprite_movie.c +++ b/libswfdec/swfdec_sprite_movie.c @@ -280,12 +280,10 @@ swfdec_sprite_movie_perform_place (SwfdecSpriteMovie *movie, SwfdecBits *bits, g key_code = 0; SWFDEC_INFO ("clip event with flags 0x%X, key code %d", event_flags, key_code); -#define SWFDEC_IMPLEMENTED_EVENTS \ - ((1<< SWFDEC_EVENT_LOAD) | (1<<SWFDEC_EVENT_UNLOAD) | (1<<SWFDEC_EVENT_ENTER) | \ - (1<< SWFDEC_EVENT_INITIALIZE) | (1<<SW...