mirror of
https://github.com/azure-rtos/guix.git
synced 2025-02-04 07:13:17 +08:00
80 lines
4.2 KiB
C
80 lines
4.2 KiB
C
/***************************************************************************
|
|
* Copyright (c) 2024 Microsoft Corporation
|
|
*
|
|
* This program and the accompanying materials are made available under the
|
|
* terms of the MIT License which is available at
|
|
* https://opensource.org/licenses/MIT.
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
**************************************************************************/
|
|
|
|
|
|
/**************************************************************************/
|
|
/**************************************************************************/
|
|
/** */
|
|
/** GUIX Component */
|
|
/** */
|
|
/** Rich Text View Management (Rich Text View) */
|
|
/** */
|
|
/**************************************************************************/
|
|
|
|
#define GX_SOURCE_CODE
|
|
|
|
|
|
/* Include necessary system files. */
|
|
|
|
#include "gx_api.h"
|
|
#include "gx_system.h"
|
|
#include "gx_rich_text_view.h"
|
|
|
|
/**************************************************************************/
|
|
/* */
|
|
/* COMPONENT DEFINITION RELEASE */
|
|
/* */
|
|
/* _gx_rich_text_view_context_pop PORTABLE C */
|
|
/* 6.1 */
|
|
/* AUTHOR */
|
|
/* */
|
|
/* Kenneth Maxwell, Microsoft Corporation */
|
|
/* */
|
|
/* DESCRIPTION */
|
|
/* */
|
|
/* This function deletes the top element at the rich text context */
|
|
/* stack. */
|
|
/* */
|
|
/* INPUT */
|
|
/* */
|
|
/* None */
|
|
/* */
|
|
/* OUTPUT */
|
|
/* */
|
|
/* status Completion status */
|
|
/* */
|
|
/* CALLS */
|
|
/* */
|
|
/* None */
|
|
/* */
|
|
/* CALLED BY */
|
|
/* */
|
|
/* GUIX Internal Code */
|
|
/* */
|
|
/* RELEASE HISTORY */
|
|
/* */
|
|
/* DATE NAME DESCRIPTION */
|
|
/* */
|
|
/* 09-30-2020 Kenneth Maxwell Initial Version 6.1 */
|
|
/* */
|
|
/**************************************************************************/
|
|
UINT _gx_rich_text_view_context_pop()
|
|
{
|
|
if (_gx_system_rich_text_context_stack.gx_rich_text_context_stack_top <= 0)
|
|
{
|
|
return GX_FAILURE;
|
|
}
|
|
|
|
_gx_system_rich_text_context_stack.gx_rich_text_context_stack_top--;
|
|
|
|
return GX_SUCCESS;
|
|
}
|
|
|