more code for layout

This commit is contained in:
Vincent Wei
2019-03-22 12:33:53 +08:00
parent 4fba705082
commit 452edfa831
8 changed files with 113 additions and 41 deletions
+1
View File
@@ -2060,6 +2060,7 @@ int init_minigui_printf (int (*output_char) (int ch),
TCS_PURPLE (stderr); \
fprintf (stderr, "%s: ", __FUNCTION__); \
fprintf (stderr, fmt, ##__VA_ARGS__); \
fprintf (stderr, "\n"); \
TCS_NONE (stderr); \
} while (0)
+1 -1
View File
@@ -12745,7 +12745,7 @@ typedef BOOL (*CB_GLYPH_LAID_OUT) (GHANDLE ctxt,
* Layout the next line of a paragraph according to the layout information.
*/
MG_EXPORT LAYOUTLINE* GUIAPI LayoutNextLine(LAYOUTINFO* layout_info,
LAYOUTLINE* prev_Line,
LAYOUTLINE* prev_line,
int x, int y, int max_extent, BOOL last_line, SIZE* line_size,
CB_GLYPH_LAID_OUT cb_laid_out, GHANDLE ctxt);