mirror of
https://github.com/google/pebble.git
synced 2025-04-30 15:21:41 -04:00
spelling: structured
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
06296179d9
commit
f7e65496ba
1 changed files with 4 additions and 4 deletions
|
@ -72,7 +72,7 @@ typedef struct GenericGlanceIconBitmapProcessor {
|
||||||
GColor desired_tint_color;
|
GColor desired_tint_color;
|
||||||
} GenericGlanceIconBitmapProcessor;
|
} GenericGlanceIconBitmapProcessor;
|
||||||
|
|
||||||
static void prv_strucutred_glance_icon_bitmap_processor_pre_func(
|
static void prv_structured_glance_icon_bitmap_processor_pre_func(
|
||||||
GBitmapProcessor *processor, GContext *ctx, UNUSED const GBitmap **bitmap_to_use,
|
GBitmapProcessor *processor, GContext *ctx, UNUSED const GBitmap **bitmap_to_use,
|
||||||
UNUSED GRect *global_grect_to_use) {
|
UNUSED GRect *global_grect_to_use) {
|
||||||
GenericGlanceIconBitmapProcessor *processor_with_data =
|
GenericGlanceIconBitmapProcessor *processor_with_data =
|
||||||
|
@ -108,7 +108,7 @@ void launcher_app_glance_structured_draw_icon(LauncherAppGlanceStructured *struc
|
||||||
|
|
||||||
GenericGlanceIconBitmapProcessor structured_glance_icon_bitmap_processor = {
|
GenericGlanceIconBitmapProcessor structured_glance_icon_bitmap_processor = {
|
||||||
.bitmap_processor = {
|
.bitmap_processor = {
|
||||||
.pre = prv_strucutred_glance_icon_bitmap_processor_pre_func,
|
.pre = prv_structured_glance_icon_bitmap_processor_pre_func,
|
||||||
.post = prv_structured_glance_icon_bitmap_processor_post_func,
|
.post = prv_structured_glance_icon_bitmap_processor_post_func,
|
||||||
},
|
},
|
||||||
.desired_tint_color = desired_tint_color,
|
.desired_tint_color = desired_tint_color,
|
||||||
|
@ -117,7 +117,7 @@ void launcher_app_glance_structured_draw_icon(LauncherAppGlanceStructured *struc
|
||||||
GColor8 luminance_tint_lookup_table[GCOLOR8_COMPONENT_NUM_VALUES] = {};
|
GColor8 luminance_tint_lookup_table[GCOLOR8_COMPONENT_NUM_VALUES] = {};
|
||||||
gcolor_tint_luminance_lookup_table_init(desired_tint_color, luminance_tint_lookup_table);
|
gcolor_tint_luminance_lookup_table_init(desired_tint_color, luminance_tint_lookup_table);
|
||||||
|
|
||||||
GenericGlanceIconDrawCommandProcessor strucutred_glance_icon_draw_command_processor = {
|
GenericGlanceIconDrawCommandProcessor structured_glance_icon_draw_command_processor = {
|
||||||
.draw_command_processor.command =
|
.draw_command_processor.command =
|
||||||
prv_structured_glance_icon_draw_command_processor_process_command,
|
prv_structured_glance_icon_draw_command_processor_process_command,
|
||||||
.luminance_tint_lookup_table = luminance_tint_lookup_table,
|
.luminance_tint_lookup_table = luminance_tint_lookup_table,
|
||||||
|
@ -126,7 +126,7 @@ void launcher_app_glance_structured_draw_icon(LauncherAppGlanceStructured *struc
|
||||||
KinoReelProcessor structured_glance_icon_processor = {
|
KinoReelProcessor structured_glance_icon_processor = {
|
||||||
.bitmap_processor = &structured_glance_icon_bitmap_processor.bitmap_processor,
|
.bitmap_processor = &structured_glance_icon_bitmap_processor.bitmap_processor,
|
||||||
.draw_command_processor =
|
.draw_command_processor =
|
||||||
&strucutred_glance_icon_draw_command_processor.draw_command_processor,
|
&structured_glance_icon_draw_command_processor.draw_command_processor,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Draw the glance's icon, luminance tinting its colors according to the glance's highlight
|
// Draw the glance's icon, luminance tinting its colors according to the glance's highlight
|
||||||
|
|
Loading…
Add table
Reference in a new issue