mirror of
https://github.com/google/pebble.git
synced 2025-04-30 15:21:41 -04:00
spelling: initialize
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
4ec73561f9
commit
cf9a5cb367
7 changed files with 9 additions and 9 deletions
|
@ -71,7 +71,7 @@ typedef struct TextLayerLegacy2 {
|
||||||
//!
|
//!
|
||||||
//! The text layer is automatically marked dirty after this operation.
|
//! The text layer is automatically marked dirty after this operation.
|
||||||
//! @param text_layer The TextLayerLegacy2 to initialize
|
//! @param text_layer The TextLayerLegacy2 to initialize
|
||||||
//! @param frame The frame with which to initialze the TextLayerLegacy2
|
//! @param frame The frame with which to initialize the TextLayerLegacy2
|
||||||
void text_layer_legacy2_init(TextLayerLegacy2 *text_layer, const GRect *frame);
|
void text_layer_legacy2_init(TextLayerLegacy2 *text_layer, const GRect *frame);
|
||||||
|
|
||||||
//! Creates a new TextLayerLegacy2 on the heap and initializes it with the default values.
|
//! Creates a new TextLayerLegacy2 on the heap and initializes it with the default values.
|
||||||
|
@ -85,7 +85,7 @@ void text_layer_legacy2_init(TextLayerLegacy2 *text_layer, const GRect *frame);
|
||||||
//! * Caching: `false`
|
//! * Caching: `false`
|
||||||
//!
|
//!
|
||||||
//! The text layer is automatically marked dirty after this operation.
|
//! The text layer is automatically marked dirty after this operation.
|
||||||
//! @param frame The frame with which to initialze the TextLayerLegacy2
|
//! @param frame The frame with which to initialize the TextLayerLegacy2
|
||||||
//! @return A pointer to the TextLayerLegacy2. `NULL` if the TextLayerLegacy2 could not
|
//! @return A pointer to the TextLayerLegacy2. `NULL` if the TextLayerLegacy2 could not
|
||||||
//! be created
|
//! be created
|
||||||
TextLayerLegacy2* text_layer_legacy2_create(GRect frame);
|
TextLayerLegacy2* text_layer_legacy2_create(GRect frame);
|
||||||
|
|
|
@ -75,7 +75,7 @@ typedef struct BitmapLayer {
|
||||||
//!
|
//!
|
||||||
//! The bitmap layer is automatically marked dirty after this operation.
|
//! The bitmap layer is automatically marked dirty after this operation.
|
||||||
//! @param bitmap_layer The BitmapLayer to initialize
|
//! @param bitmap_layer The BitmapLayer to initialize
|
||||||
//! @param frame The frame with which to initialze the BitmapLayer
|
//! @param frame The frame with which to initialize the BitmapLayer
|
||||||
void bitmap_layer_init(BitmapLayer *bitmap_layer, const GRect *frame);
|
void bitmap_layer_init(BitmapLayer *bitmap_layer, const GRect *frame);
|
||||||
|
|
||||||
//! Creates a new bitmap layer on the heap and initalizes it the default values.
|
//! Creates a new bitmap layer on the heap and initalizes it the default values.
|
||||||
|
|
|
@ -435,7 +435,7 @@ typedef struct MenuLayer {
|
||||||
//! will be selected initially.
|
//! will be selected initially.
|
||||||
//! The layer is marked dirty automatically.
|
//! The layer is marked dirty automatically.
|
||||||
//! @param menu_layer The \ref MenuLayer to initialize
|
//! @param menu_layer The \ref MenuLayer to initialize
|
||||||
//! @param frame The frame with which to initialze the \ref MenuLayer
|
//! @param frame The frame with which to initialize the \ref MenuLayer
|
||||||
void menu_layer_init(MenuLayer *menu_layer, const GRect *frame);
|
void menu_layer_init(MenuLayer *menu_layer, const GRect *frame);
|
||||||
|
|
||||||
//! Creates a new \ref MenuLayer on the heap and initalizes it with the default values.
|
//! Creates a new \ref MenuLayer on the heap and initalizes it with the default values.
|
||||||
|
|
|
@ -156,7 +156,7 @@ _Static_assert(offsetof(struct ScrollPaging, flags) == offsetof(Layer, flags),
|
||||||
//! * Callback context: `NULL`
|
//! * Callback context: `NULL`
|
||||||
//! The layer is marked dirty automatically.
|
//! The layer is marked dirty automatically.
|
||||||
//! @param scroll_layer The ScrollLayer to initialize
|
//! @param scroll_layer The ScrollLayer to initialize
|
||||||
//! @param frame The frame with which to initialze the ScrollLayer
|
//! @param frame The frame with which to initialize the ScrollLayer
|
||||||
void scroll_layer_init(ScrollLayer *scroll_layer, const GRect *frame);
|
void scroll_layer_init(ScrollLayer *scroll_layer, const GRect *frame);
|
||||||
|
|
||||||
//! Creates a new ScrollLayer on the heap and initalizes it with the default values:
|
//! Creates a new ScrollLayer on the heap and initalizes it with the default values:
|
||||||
|
|
|
@ -71,7 +71,7 @@ typedef struct TextLayer {
|
||||||
//!
|
//!
|
||||||
//! The text layer is automatically marked dirty after this operation.
|
//! The text layer is automatically marked dirty after this operation.
|
||||||
//! @param text_layer The TextLayer to initialize
|
//! @param text_layer The TextLayer to initialize
|
||||||
//! @param frame The frame with which to initialze the TextLayer
|
//! @param frame The frame with which to initialize the TextLayer
|
||||||
void text_layer_init(TextLayer *text_layer, const GRect *frame);
|
void text_layer_init(TextLayer *text_layer, const GRect *frame);
|
||||||
|
|
||||||
//! Creates a new TextLayer on the heap and initializes it with the default values.
|
//! Creates a new TextLayer on the heap and initializes it with the default values.
|
||||||
|
@ -85,7 +85,7 @@ void text_layer_init(TextLayer *text_layer, const GRect *frame);
|
||||||
//! * Caching: `false`
|
//! * Caching: `false`
|
||||||
//!
|
//!
|
||||||
//! The text layer is automatically marked dirty after this operation.
|
//! The text layer is automatically marked dirty after this operation.
|
||||||
//! @param frame The frame with which to initialze the TextLayer
|
//! @param frame The frame with which to initialize the TextLayer
|
||||||
//! @return A pointer to the TextLayer. `NULL` if the TextLayer could not
|
//! @return A pointer to the TextLayer. `NULL` if the TextLayer could not
|
||||||
//! be created
|
//! be created
|
||||||
TextLayer* text_layer_create(GRect frame);
|
TextLayer* text_layer_create(GRect frame);
|
||||||
|
|
|
@ -89,7 +89,7 @@ static void prv_app_fetch_launch_app(AppFetchUIData *data) {
|
||||||
vibes_short_pulse();
|
vibes_short_pulse();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Allocate and inialize the data that would have been sent to the app originally before the
|
// Allocate and initialize the data that would have been sent to the app originally before the
|
||||||
// fetch request.
|
// fetch request.
|
||||||
PebbleLaunchAppEventExtended *ext = kernel_malloc_check(sizeof(PebbleLaunchAppEventExtended));
|
PebbleLaunchAppEventExtended *ext = kernel_malloc_check(sizeof(PebbleLaunchAppEventExtended));
|
||||||
*ext = (PebbleLaunchAppEventExtended) {
|
*ext = (PebbleLaunchAppEventExtended) {
|
||||||
|
|
|
@ -93,7 +93,7 @@ typedef struct AppMenuDataSource {
|
||||||
bool is_list_loaded;
|
bool is_list_loaded;
|
||||||
} AppMenuDataSource;
|
} AppMenuDataSource;
|
||||||
|
|
||||||
//! Initalize the AppMenuDataSource
|
//! Initialize the AppMenuDataSource
|
||||||
void app_menu_data_source_init(AppMenuDataSource *source,
|
void app_menu_data_source_init(AppMenuDataSource *source,
|
||||||
const AppMenuDataSourceCallbacks *handlers,
|
const AppMenuDataSourceCallbacks *handlers,
|
||||||
void *callback_context);
|
void *callback_context);
|
||||||
|
|
Loading…
Add table
Reference in a new issue