1 /*************************************************************************** 2 * Copyright (c) 2024 Microsoft Corporation 3 * 4 * This program and the accompanying materials are made available under the 5 * terms of the MIT License which is available at 6 * https://opensource.org/licenses/MIT. 7 * 8 * SPDX-License-Identifier: MIT 9 **************************************************************************/ 10 11 12 /**************************************************************************/ 13 /**************************************************************************/ 14 /** */ 15 /** GUIX Component */ 16 /** */ 17 /** Prompt Management (pixelmap prompt) */ 18 /** */ 19 /**************************************************************************/ 20 /**************************************************************************/ 21 22 23 /**************************************************************************/ 24 /* */ 25 /* COMPONENT DEFINITION RELEASE */ 26 /* */ 27 /* gx_pixelmap_prompt.h PORTABLE C */ 28 /* 6.1 */ 29 /* AUTHOR */ 30 /* */ 31 /* Kenneth Maxwell, Microsoft Corporation */ 32 /* */ 33 /* DESCRIPTION */ 34 /* */ 35 /* This file defines the GUIX bitmap prompt management component, */ 36 /* including all data types and external references. It is assumed */ 37 /* that gx_api.h and gx_port.h have already been included. */ 38 /* */ 39 /* RELEASE HISTORY */ 40 /* */ 41 /* DATE NAME DESCRIPTION */ 42 /* */ 43 /* 05-19-2020 Kenneth Maxwell Initial Version 6.0 */ 44 /* 09-30-2020 Kenneth Maxwell Modified comment(s), */ 45 /* resulting in version 6.1 */ 46 /* */ 47 /**************************************************************************/ 48 49 #ifndef GX_PIXELMAP_PROMPT_H 50 #define GX_PIXELMAP_PROMPT_H 51 52 /* Define prompt management function prototypes. */ 53 54 VOID _gx_pixelmap_prompt_background_draw(GX_PIXELMAP_PROMPT *prompt); 55 UINT _gx_pixelmap_prompt_create(GX_PIXELMAP_PROMPT *prompt, GX_CONST GX_CHAR *name, GX_WIDGET *parent, 56 GX_RESOURCE_ID text_id, GX_RESOURCE_ID fill_id, 57 ULONG style, USHORT pixelmap_prompt_id, 58 GX_CONST GX_RECTANGLE *size); 59 VOID _gx_pixelmap_prompt_draw(GX_PIXELMAP_PROMPT *prompt); 60 UINT _gx_pixelmap_prompt_pixelmap_set(GX_PIXELMAP_PROMPT *prompt, 61 GX_RESOURCE_ID normal_left_id, 62 GX_RESOURCE_ID normal_fill_id, 63 GX_RESOURCE_ID normal_right_id, 64 GX_RESOURCE_ID selected_left_id, 65 GX_RESOURCE_ID selected_fill_id, 66 GX_RESOURCE_ID selected_right_id); 67 68 69 UINT _gxe_pixelmap_prompt_create(GX_PIXELMAP_PROMPT *prompt, GX_CONST GX_CHAR *name, GX_WIDGET *parent, 70 GX_RESOURCE_ID text_id, GX_RESOURCE_ID fill_id, 71 ULONG style, USHORT pixelmap_prompt_id, 72 GX_CONST GX_RECTANGLE *size, UINT pixelmap_prompt_control_block_size); 73 UINT _gxe_pixelmap_prompt_pixelmap_set(GX_PIXELMAP_PROMPT *prompt, 74 GX_RESOURCE_ID normal_left_id, 75 GX_RESOURCE_ID normal_fill_id, 76 GX_RESOURCE_ID normal_right_id, 77 GX_RESOURCE_ID selected_left_id, 78 GX_RESOURCE_ID selected_fill_id, 79 GX_RESOURCE_ID selected_right_id); 80 #endif 81 82