Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unsigned ticker_limit = 35; --->135
- --------------------------------------------------------------------------------------------
- Kill: (limit text when thumbnail is displayed)
- if (string_is_empty(entry.value))
- {
- if (xmb->savestate_thumbnail ||
- (!string_is_equal
- (
- xmb_thumbnails_ident(),
- msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF))
- && xmb->thumbnail)
- )
- ticker_limit = 40;
- else
- ticker_limit = 70;
- }
- --------------------------------------------------------------------------------------------
- word_wrap(entry_sublabel, entry.sublabel, 50); --->85
- ...
- ticker.len = 35; --->135
- --------------------------------------------------------------------------------------------
- static void xmb_draw_thumbnail(xmb_handle_t *xmb, float *color,
- unsigned width, unsigned height, float w, float h, uintptr_t texture)
- {
- ...
- coords.vertices = 4;
- coords.vertex = NULL;
- coords.tex_coord = NULL;
- coords.lut_tex_coord = NULL;
- draw.width = w * 2.5; <---
- draw.height = h * 2.5; <---
- ...
- -------------------------------------------------------------------------------------------------
- static void xmb_frame(void *data, video_frame_info_t *video_info)
- ...
- if (xmb->savestate_thumbnail)
- xmb_draw_thumbnail(menu_disp_info,
- xmb, &coord_white[0], width, height,
- xmb->margins.screen.left*4 + xmb->icon.spacing.horizontal + <---
- xmb->icon.spacing.horizontal*4 - xmb->icon.size / 4,
- xmb->margins.screen.top + xmb->icon.size + xmb->savestate_thumbnail_height* 2.5, <---
- xmb->savestate_thumbnail_width, xmb->savestate_thumbnail_height,
- xmb->savestate_thumbnail);
- else if (xmb->thumbnail
- && !string_is_equal(xmb_thumbnails_ident(),
- msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF)))
- {
- #ifdef XMB_DEBUG
- RARCH_LOG("[XMB thumbnail] width: %.2f, height: %.2f\n", xmb->thumbnail_width, xmb->thumbnail_height);
- RARCH_LOG("[XMB thumbnail] w: %.2f, h: %.2f\n", width, height);
- #endif
- xmb_draw_thumbnail(menu_disp_info,
- xmb, &coord_white[0], width, height,
- xmb->margins.screen.left*4 + xmb->icon.spacing.horizontal + <---
- xmb->icon.spacing.horizontal*4 - xmb->icon.size / 4,
- xmb->margins.screen.top + xmb->icon.size + xmb->thumbnail_height* 2.5, <---
- xmb->thumbnail_width, xmb->thumbnail_height,
- xmb->thumbnail);
- }
- -------------------------------------------------------------------------------------------------
- static void xmb_layout_ps3
- xmb->margins.setting.left = 600.0 * scale_factor * 2;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement