/**************************************************************************/ /* */ /* Copyright (c) Microsoft Corporation. All rights reserved. */ /* */ /* This software is licensed under the Microsoft Software License */ /* Terms for Microsoft Azure RTOS. Full text of the license can be */ /* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ /* and in the root directory of this software. */ /* */ /**************************************************************************/ /**************************************************************************/ /**************************************************************************/ /** */ /** GUIX Component */ /** */ /** Circular Gauge Management (Circular Gauge) */ /** */ /**************************************************************************/ #define GX_SOURCE_CODE /* Include necessary system files. */ #include "gx_api.h" #include "gx_widget.h" #include "gx_circular_gauge.h" /**************************************************************************/ /* */ /* FUNCTION RELEASE */ /* */ /* _gx_circular_gauge_draw PORTABLE C */ /* 6.1 */ /* AUTHOR */ /* */ /* Kenneth Maxwell, Microsoft Corporation */ /* */ /* DESCRIPTION */ /* */ /* This function draws the specified circular gauge. */ /* */ /* INPUT */ /* */ /* gauge Pointer to circular gauge */ /* control block */ /* */ /* OUTPUT */ /* */ /* None */ /* */ /* CALLS */ /* */ /* _gx_circular_gauge_background_draw Draw gauge background */ /* _gx_widget_children_draw Draw children widgets */ /* */ /* CALLED BY */ /* */ /* GUIX Internal Code */ /* */ /* RELEASE HISTORY */ /* */ /* DATE NAME DESCRIPTION */ /* */ /* 05-19-2020 Kenneth Maxwell Initial Version 6.0 */ /* 09-30-2020 Kenneth Maxwell Modified comment(s), */ /* resulting in version 6.1 */ /* */ /**************************************************************************/ VOID _gx_circular_gauge_draw(GX_CIRCULAR_GAUGE *gauge) { /* Draw circular gauge background. */ _gx_circular_gauge_background_draw(gauge); /* Draw children widgets of icon widget. */ _gx_widget_children_draw((GX_WIDGET *)gauge); }