From e02cd968c26cc3466b93994e50210b65bae67ef6 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 12:35:12 -0500 Subject: [PATCH] spelling: alignment Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/fw/applib/graphics/text.h | 2 +- src/fw/applib/ui/bitmap_layer.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fw/applib/graphics/text.h b/src/fw/applib/graphics/text.h index 14f4ab92..5e563e71 100644 --- a/src/fw/applib/graphics/text.h +++ b/src/fw/applib/graphics/text.h @@ -53,7 +53,7 @@ typedef enum { GTextOverflowModeFill } GTextOverflowMode; -//! Text aligment controls the way the text is aligned inside the box the text is drawn into. +//! Text alignment controls the way the text is aligned inside the box the text is drawn into. //! @see graphics_draw_text //! @see text_layer_set_text_alignment typedef enum { diff --git a/src/fw/applib/ui/bitmap_layer.h b/src/fw/applib/ui/bitmap_layer.h index b50f2f9e..4c26e28a 100644 --- a/src/fw/applib/ui/bitmap_layer.h +++ b/src/fw/applib/ui/bitmap_layer.h @@ -120,13 +120,13 @@ const GBitmap* bitmap_layer_get_bitmap(BitmapLayer *bitmap_layer); void bitmap_layer_set_bitmap(BitmapLayer *bitmap_layer, const GBitmap *bitmap); //! Sets the alignment of the image to draw with in frame of the BitmapLayer. -//! The aligment parameter specifies which edges of the bitmap should overlap +//! The alignment parameter specifies which edges of the bitmap should overlap //! with the frame of the BitmapLayer. //! If the bitmap is smaller than the frame of the BitmapLayer, the background //! is filled with the background color. //! //! The bitmap layer is automatically marked dirty after this operation. -//! @param bitmap_layer The BitmapLayer for which to set the aligment +//! @param bitmap_layer The BitmapLayer for which to set the alignment //! @param alignment The new alignment for the image inside the BitmapLayer void bitmap_layer_set_alignment(BitmapLayer *bitmap_layer, GAlign alignment);