search for: has_color

Displaying 8 results from an estimated 8 matches for "has_color".

Did you mean: has_colors
2013 Aug 12
3
[LLVMdev] creating new llvm project?
...Release+Asserts executable exe (without symbols) llvm/Release+Asserts/lib/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)': Process.cpp:(.text+0x525): undefined reference to `setupterm' Process.cpp:(.text+0x52e): undefined reference to `has_colors' It appears that the sample project doesn't contain a library dependency on vterm. In comparing the autoconf in sample with the one at the parent of LLVM, the sample one doesn't contain references to vterm. Is this intentional? 3. I decided to go the "simple" route of ju...
2009 Mar 02
0
[PATCH 5 of 13] exploiting the new interface in vnc.c
...ixel_t *)last_bg_; @@ -24,7 +24,7 @@ int bg_count = 0; int fg_count = 0; int flags = 0; - uint8_t data[(vs->pix_bpp + 2) * 16 * 16]; + uint8_t data[(vs->clientds.pf.bytes_per_pixel + 2) * 16 * 16]; int n_data = 0; int n_subtiles = 0; @@ -132,7 +132,7 @@ has_color = 0; #ifdef GENERIC vnc_convert_pixel(vs, data + n_data, color); - n_data += vs->pix_bpp; + n_data += vs->clientds.pf.bytes_per_pixel; #else memcpy(data + n_data, &color, sizeof(color)); n_data += siz...
2017 Sep 17
0
FW: CRAN check errors: drake 4.1.0 on r-devel-linux-x86_64-debian-clang
...;> URL: https://github.com/r-lib/crayon#readme >> BugReports: https://github.com/r-lib/crayon/issues >> Collate: 'ansi-256.r' 'combine.r' 'string.r' 'utils.r' >>????????? 'crayon-package.r' 'disposable.r' 'has_ansi.r' 'has_color.r' >>????????? 'styles.r' 'machinery.r' 'parts.r' 'print.r' 'style-var.r' >>????????? 'show.r' 'string_operations.r' >> Imports: grDevices, methods, utils >> Suggests: mockery, rstudioapi, testthat, withr >> R...
2007 Jun 15
0
Branch 'as' - 5 commits - libswfdec/swfdec_as_native_function.c libswfdec/swfdec_edittext.c libswfdec/swfdec_edittext.h libswfdec/swfdec_font.c libswfdec/swfdec_font.h libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_morphshape.h
...atic int -define_text (SwfdecSwfDecoder * s, int rgba) +int +tag_func_define_text (SwfdecSwfDecoder * s, guint tag) { SwfdecBits *bits = &s->b; int id; @@ -150,10 +150,10 @@ define_text (SwfdecSwfDecoder * s, int r //printf(" font = %d\n",font); } if (has_color) { - if (rgba) { - glyph.color = swfdec_bits_get_rgba (bits); - } else { + if (tag == SWFDEC_TAG_DEFINETEXT) { glyph.color = swfdec_bits_get_color (bits); + } else { + glyph.color = swfdec_bits_get_rgba (bits); } //printf(&q...
2007 Mar 29
0
libswfdec-gtk/swfdec_playback_alsa.c libswfdec/swfdec_audio_event.h libswfdec/swfdec_audio_flv.h libswfdec/swfdec_audio_stream.h libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h libswfdec/swfdec_cache.c
...fdec_edittext.c index 37727eb..151feb2 100644 --- a/libswfdec/swfdec_edittext.c +++ b/libswfdec/swfdec_edittext.c @@ -97,7 +97,7 @@ int tag_func_define_edit_text (SwfdecSwfDecoder * s) { SwfdecEditText *text; - unsigned int id; + guint id; int reserved, use_outlines; gboolean has_font, has_color, has_max_length, has_layout, has_text; SwfdecBits *b = &s->b; @@ -154,7 +154,7 @@ tag_func_define_edit_text (SwfdecSwfDeco text->max_length = swfdec_bits_get_u16 (b); } if (has_layout) { - unsigned int align = swfdec_bits_get_u8 (b); + guint align = swfdec_bits_get_u8...
2007 Mar 29
0
Branch 'as' - 9 commits - libswfdec-gtk/swfdec_playback_alsa.c libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c
...fdec_edittext.c index 37727eb..151feb2 100644 --- a/libswfdec/swfdec_edittext.c +++ b/libswfdec/swfdec_edittext.c @@ -97,7 +97,7 @@ int tag_func_define_edit_text (SwfdecSwfDecoder * s) { SwfdecEditText *text; - unsigned int id; + guint id; int reserved, use_outlines; gboolean has_font, has_color, has_max_length, has_layout, has_text; SwfdecBits *b = &s->b; @@ -154,7 +154,7 @@ tag_func_define_edit_text (SwfdecSwfDeco text->max_length = swfdec_bits_get_u16 (b); } if (has_layout) { - unsigned int align = swfdec_bits_get_u8 (b); + guint align = swfdec_bits_get_u8...
2007 Oct 22
0
12 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
...tag_func_define_edit_text (SwfdecSwfDecoder * s, guint tag) text->word_wrap = swfdec_bits_getbit (b); text->multiline = swfdec_bits_getbit (b); text->password = swfdec_bits_getbit (b); - text->input = !swfdec_bits_getbit (b); + text->editable = !swfdec_bits_getbit (b); has_color = swfdec_bits_getbit (b); has_max_length = swfdec_bits_getbit (b); has_font = swfdec_bits_getbit (b); diff --git a/libswfdec/swfdec_text_field.h b/libswfdec/swfdec_text_field.h index cdbe1ec..0ecf9bf 100644 --- a/libswfdec/swfdec_text_field.h +++ b/libswfdec/swfdec_text_field.h @@ -52,7 +52,7...
2007 Oct 29
0
20 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h
...embed fonts in TextField is not supported"); + if (has_font) { SwfdecCharacter *font; @@ -142,6 +145,7 @@ tag_func_define_edit_text (SwfdecSwfDecoder * s, guint tag) text->size = swfdec_bits_get_u16 (b); SWFDEC_LOG (" size = %u", text->size); } + if (has_color) { text->color = swfdec_bits_get_rgba (b); SWFDEC_LOG (" color = %u", text->color); @@ -149,11 +153,13 @@ tag_func_define_edit_text (SwfdecSwfDecoder * s, guint tag) SWFDEC_WARNING ("FIXME: figure out default color"); text->color = SWFDEC_COLOR_COMB...