diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-08-18 05:30:59 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-08-18 05:30:59 +0000 |
commit | 36ca4967e0ced08ab8d262ba046189e6dfbe71da (patch) | |
tree | 4b441f67ac8f99af82f208a930de7f797d4bf712 /apps/gui/skin_engine/wps_debug.c | |
parent | fed07312edff7c69f03946bf90f57f7b57f9be39 (diff) | |
download | rockbox-36ca4967e0ced08ab8d262ba046189e6dfbe71da.tar.gz rockbox-36ca4967e0ced08ab8d262ba046189e6dfbe71da.zip |
move viewports into the skin buffer, no more viewport limit on the skin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22403 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/wps_debug.c')
-rw-r--r-- | apps/gui/skin_engine/wps_debug.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/gui/skin_engine/wps_debug.c b/apps/gui/skin_engine/wps_debug.c index c4a73a7cfb..e3e6e960e6 100644 --- a/apps/gui/skin_engine/wps_debug.c +++ b/apps/gui/skin_engine/wps_debug.c | |||
@@ -495,12 +495,13 @@ static void dump_wps_tokens(struct wps_data *data) | |||
495 | } | 495 | } |
496 | } | 496 | } |
497 | 497 | ||
498 | #if 0 | ||
499 | /* NOTE: this is probaly not even needed anymore */ | ||
498 | static void print_line_info(struct wps_data *data) | 500 | static void print_line_info(struct wps_data *data) |
499 | { | 501 | { |
500 | int i, j, v; | 502 | int i, j, v; |
501 | struct wps_line *line; | 503 | struct wps_line *line; |
502 | struct wps_subline *subline; | 504 | struct wps_subline *subline; |
503 | |||
504 | if (wps_verbose_level > 0) | 505 | if (wps_verbose_level > 0) |
505 | { | 506 | { |
506 | DEBUGF("Number of viewports : %d\n", data->num_viewports); | 507 | DEBUGF("Number of viewports : %d\n", data->num_viewports); |
@@ -513,7 +514,7 @@ static void print_line_info(struct wps_data *data) | |||
513 | DEBUGF("Number of tokens : %d\n", data->num_tokens); | 514 | DEBUGF("Number of tokens : %d\n", data->num_tokens); |
514 | DEBUGF("\n"); | 515 | DEBUGF("\n"); |
515 | } | 516 | } |
516 | 517 | ||
517 | if (wps_verbose_level > 1) | 518 | if (wps_verbose_level > 1) |
518 | { | 519 | { |
519 | for (v = 0; v < data->num_viewports; v++) | 520 | for (v = 0; v < data->num_viewports; v++) |
@@ -549,8 +550,6 @@ static void print_line_info(struct wps_data *data) | |||
549 | DEBUGF("\n"); | 550 | DEBUGF("\n"); |
550 | } | 551 | } |
551 | } | 552 | } |
552 | #if 0 | ||
553 | /* NOTE: this is probaly not even needed anymore */ | ||
554 | static void print_wps_strings(struct wps_data *data) | 553 | static void print_wps_strings(struct wps_data *data) |
555 | { | 554 | { |
556 | int i, len, total_len = 0, buf_used = 0; | 555 | int i, len, total_len = 0, buf_used = 0; |
@@ -588,7 +587,7 @@ void print_debug_info(struct wps_data *data, enum wps_parse_error fail, int line | |||
588 | { | 587 | { |
589 | dump_wps_tokens(data); | 588 | dump_wps_tokens(data); |
590 | /* print_wps_strings(data); */ | 589 | /* print_wps_strings(data); */ |
591 | print_line_info(data); | 590 | /* print_line_info(data); */ |
592 | } | 591 | } |
593 | #endif /* SIMULATOR */ | 592 | #endif /* SIMULATOR */ |
594 | 593 | ||