-
Notifications
You must be signed in to change notification settings - Fork 163
fixed MISRA rule violation. #170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -662,7 +662,7 @@ typedef struct GX_STRING_STRUCT | |
| #define GX_TYPE_RICH_TEXT_VIEW 144 | ||
| #define GX_TYPE_GENERIC_SCROLL_WHEEL 145 | ||
|
|
||
| /* A pseudo-type, used by Studio code generator */ | ||
| /* A pseudo-type, used by Studio code generator */ | ||
| #define GX_TYPE_TEMPLATE 200 | ||
|
|
||
| /* Applications can define their own window types */ | ||
|
|
@@ -1027,7 +1027,7 @@ typedef GX_UBYTE GX_CHAR_CODE; | |
| #if !defined(GX_MOUSE_MAX_RESOLUTION) | ||
| #define GX_MOUSE_MAX_RESOLUTION 32 | ||
| #endif | ||
| #endif | ||
| #endif | ||
|
|
||
| #if defined(GX_DYNAMIC_BIDI_TEXT_SUPPORT) | ||
| #define GX_PROMPT_BIDI_RESOLVED_TEXT_INFO GX_BIDI_RESOLVED_TEXT_INFO *gx_prompt_bidi_resolved_text_info; | ||
|
|
@@ -1099,7 +1099,7 @@ typedef struct GX_VIEW_STRUCT | |
| GX_UBYTE gx_glyph_advance; /* Glyph advance */ \ | ||
| GX_BYTE gx_glyph_leading; /* Pen x-pre-advance */ \ | ||
| GX_UBYTE gx_glyph_width; \ | ||
| GX_UBYTE gx_glyph_height; | ||
| GX_UBYTE gx_glyph_height; | ||
|
|
||
| /* Define the Glyph type. */ | ||
| typedef struct GX_GLYPH_STRUCT | ||
|
|
@@ -1111,15 +1111,15 @@ typedef struct GX_GLYPH_STRUCT | |
| /* Define the Kerning Glyph type. */ | ||
| typedef struct GX_KERNING_GLYPH_STRUCT | ||
| { | ||
| GX_GLYPH_MEMBERS_DECLARE | ||
| GX_CONST GX_UBYTE *gx_kerning_table; /* Kerning table */ | ||
| GX_GLYPH_MEMBERS_DECLARE | ||
| GX_CONST GX_UBYTE *gx_kerning_table; /* Kerning table */ | ||
| } GX_KERNING_GLYPH; | ||
| #endif | ||
|
|
||
| /* Define the Compressed Glyph type. */ | ||
| typedef struct GX_COMPRESSED_GLYPH_STRUCT | ||
| { | ||
| GX_GLYPH_MEMBERS_DECLARE | ||
| GX_GLYPH_MEMBERS_DECLARE | ||
| USHORT gx_glyph_map_size; /* Glyph size */ | ||
| } GX_COMPRESSED_GLYPH; | ||
|
|
||
|
|
@@ -1249,7 +1249,7 @@ typedef struct GX_EVENT_STRUCT | |
| USHORT gx_event_sender; /* ID of the event sender */ | ||
| union | ||
| { | ||
| UINT gx_event_timer_id; | ||
| UINT gx_event_timer_id; | ||
| GX_POINT gx_event_pointdata; | ||
| GX_UBYTE gx_event_uchardata[4]; | ||
| USHORT gx_event_ushortdata[2]; | ||
|
|
@@ -1356,7 +1356,7 @@ typedef struct GX_RADIAL_PROGRESS_BAR_INFO_STRUCT | |
| GX_VALUE gx_radial_progress_bar_info_selected_brush_width; /* width of upper track. */ | ||
| GX_RESOURCE_ID gx_radial_progress_bar_info_normal_brush_color; /* resource ID of color for lower track. */ | ||
| GX_RESOURCE_ID gx_radial_progress_bar_info_selected_brush_color; /* resource ID of color for upper track. */ | ||
|
|
||
| } GX_RADIAL_PROGRESS_BAR_INFO; | ||
|
|
||
| /* Define radial slider information structure, this structure is used to | ||
|
|
@@ -3308,7 +3308,7 @@ typedef struct GX_FIXED_POINT_STRUCT | |
| #define gx_single_line_text_input_left_arrow(a) _gx_single_line_text_input_left_arrow((GX_SINGLE_LINE_TEXT_INPUT *)a) | ||
| #define gx_single_line_text_input_position_get(a, b) _gx_single_line_text_input_position_get(a, b) | ||
| #define gx_single_line_text_input_right_arrow(a) _gx_single_line_text_input_right_arrow((GX_SINGLE_LINE_TEXT_INPUT *)a) | ||
| #define gx_single_line_text_input_style_add(a, b) _gx_single_line_text_input_style_add((GX_SINGLE_LINE_TEXT_INPUT *)a, b); | ||
| #define gx_single_line_text_input_style_add(a, b) _gx_single_line_text_input_style_add((GX_SINGLE_LINE_TEXT_INPUT *)a, b) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| #define gx_single_line_text_input_style_remove(a, b) _gx_single_line_text_input_style_remove((GX_SINGLE_LINE_TEXT_INPUT *)a, b) | ||
| #define gx_single_line_text_input_style_set(a, b) _gx_single_line_text_input_style_set((GX_SINGLE_LINE_TEXT_INPUT *)a, b) | ||
| #define gx_single_line_text_input_text_color_set(a, b, c, d, e) _gx_single_line_text_input_text_color_set((GX_SINGLE_LINE_TEXT_INPUT *)a, b, c, d, e) | ||
|
|
@@ -3361,7 +3361,7 @@ typedef struct GX_FIXED_POINT_STRUCT | |
| #endif | ||
|
|
||
| #define gx_system_canvas_refresh _gx_system_canvas_refresh | ||
| #define gx_system_dirty_mark(a) _gx_system_dirty_mark((GX_WIDGET *)a); | ||
| #define gx_system_dirty_mark(a) _gx_system_dirty_mark((GX_WIDGET *)a) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| #define gx_system_dirty_partial_add(a, b) _gx_system_dirty_partial_add((GX_WIDGET *)a, b) | ||
| #define gx_system_draw_context_get _gx_system_draw_context_get | ||
| #define gx_system_event_fold _gx_system_event_fold | ||
|
|
@@ -4690,7 +4690,7 @@ UINT _gx_window_wallpaper_set(GX_WINDOW *window, GX_RESOURCE_ID wallpaper_id, GX | |
| #define gx_progress_bar_draw _gx_progress_bar_draw | ||
| #define gx_progress_bar_event_process _gxe_progress_bar_event_process | ||
| #define gx_progress_bar_font_set _gxe_progress_bar_font_set | ||
| #define gx_progress_bar_info_set(a, b) _gxe_progress_bar_info_set((GX_PROGRESS_BAR *)a, b); | ||
| #define gx_progress_bar_info_set(a, b) _gxe_progress_bar_info_set((GX_PROGRESS_BAR *)a, b) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| #define gx_progress_bar_pixelmap_set _gxe_progress_bar_pixelmap_set | ||
| #define gx_progress_bar_range_set _gxe_progress_bar_range_set | ||
| #if defined(GUIX_5_4_0_COMPATIBILITY) | ||
|
|
@@ -4844,7 +4844,7 @@ UINT _gx_window_wallpaper_set(GX_WINDOW *window, GX_RESOURCE_ID wallpaper_id, GX | |
| #endif | ||
|
|
||
| #define gx_system_canvas_refresh _gxe_system_canvas_refresh | ||
| #define gx_system_dirty_mark(a) _gxe_system_dirty_mark((GX_WIDGET *)a); | ||
| #define gx_system_dirty_mark(a) _gxe_system_dirty_mark((GX_WIDGET *)a) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| #define gx_system_dirty_partial_add(a, b) _gxe_system_dirty_partial_add((GX_WIDGET *)a, b) | ||
| #define gx_system_draw_context_get _gxe_system_draw_context_get | ||
| #define gx_system_event_fold _gxe_system_event_fold | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.