Mercurial > dwindows
comparison gtk4/dw.c @ 2356:6f4f7882363c
GTK4: Fix compilation after last commit.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 08 Mar 2021 20:13:03 +0000 |
parents | fad0821cb953 |
children | 4367da529f5a |
comparison
equal
deleted
inserted
replaced
2355:fad0821cb953 | 2356:6f4f7882363c |
---|---|
6388 /* | 6388 /* |
6389 * Invalidate the render widget triggering an expose event. | 6389 * Invalidate the render widget triggering an expose event. |
6390 * Parameters: | 6390 * Parameters: |
6391 * handle: A handle to a render widget to be redrawn. | 6391 * handle: A handle to a render widget to be redrawn. |
6392 */ | 6392 */ |
6393 void API dw_render_redraw(HWND handle) | |
6394 DW_FUNCTION_DEFINITION(dw_render_redraw, void, HWND handle) | 6393 DW_FUNCTION_DEFINITION(dw_render_redraw, void, HWND handle) |
6395 DW_FUNCTION_ADD_PARAM1(handle) | 6394 DW_FUNCTION_ADD_PARAM1(handle) |
6396 DW_FUNCTION_NO_RETURN(dw_render_redraw) | 6395 DW_FUNCTION_NO_RETURN(dw_render_redraw) |
6397 DW_FUNCTION_RESTORE_PARAM1(handle, HWND) | 6396 DW_FUNCTION_RESTORE_PARAM1(handle, HWND) |
6398 { | 6397 { |
6399 if(handle && GTK_IS_WIDGET(handle)) | 6398 if(handle && GTK_IS_WIDGET(handle)) |
6400 gtk_widget_queue_draw(handle); | 6399 gtk_widget_queue_draw(handle); |
6400 DW_FUNCTION_RETURN_NOTHING; | |
6401 } | 6401 } |
6402 | 6402 |
6403 /* Returns a GdkRGBA from a DW color */ | 6403 /* Returns a GdkRGBA from a DW color */ |
6404 static GdkRGBA _dw_internal_color(unsigned long value) | 6404 static GdkRGBA _dw_internal_color(unsigned long value) |
6405 { | 6405 { |