mirror of
https://github.com/azure-rtos/guix.git
synced 2025-02-04 07:13:17 +08:00
37 lines
1.3 KiB
C
37 lines
1.3 KiB
C
|
/* This is a small demo of the high-performance GUIX graphics framework. */
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include "gx_api.h"
|
||
|
|
||
|
#include "demo_guix_industrial_resources.h"
|
||
|
#include "demo_guix_industrial_specifications.h"
|
||
|
|
||
|
#define ANIMATION_NONE 0
|
||
|
#define ANIMATION_ACTIVE 1
|
||
|
|
||
|
|
||
|
extern SEQUENCE_NUMBER_CONTROL_BLOCK sequence_number;
|
||
|
extern COMPLETE_WINDOW_CONTROL_BLOCK complete_window;
|
||
|
extern SEQUENCE_WINDOW_CONTROL_BLOCK sequence_window;
|
||
|
extern MAIN_SCREEN_CONTROL_BLOCK main_screen;
|
||
|
|
||
|
VOID *memory_allocate(ULONG size);
|
||
|
VOID memory_free(VOID *mem);
|
||
|
|
||
|
VOID button_indicator_attach(GX_PIXELMAP_BUTTON *button);
|
||
|
VOID screen_toggle_animation_start(GX_WINDOW *show, GX_WINDOW *hide);
|
||
|
VOID screen_toggle_animation_stop(USHORT animation_id);
|
||
|
VOID start_window_fade_animation_start(USHORT style);
|
||
|
VOID sequence_window_fade_animation_start(USHORT style);
|
||
|
VOID complete_window_fade_animation_start(USHORT style);
|
||
|
VOID start_to_sequence_animation_start();
|
||
|
VOID sequence_to_start_animation_start();
|
||
|
VOID sequence_to_complete_animation_start();
|
||
|
VOID complete_to_sequence_animation_start();
|
||
|
VOID complete_to_start_animation_start();
|
||
|
VOID green_corner_animation_start();
|
||
|
|
||
|
VOID sequence_animation_start();
|
||
|
VOID sequence_animation_update();
|
||
|
VOID sequence_animation_stop();
|
||
|
UINT string_length_get(GX_CONST GX_CHAR* input_string, UINT max_string_length);
|