List Info

Thread: CR/CN-Client: Fixed live-tile spilling outside of right end of trough.




CR/CN-Client: Fixed live-tile spilling outside of right end of trough.
country flaguser name
United States
2007-09-21 03:39:54
Modified by: dyekreal.com
Date: 9/21/2007
Project: RealPlayer

Synopsis: 
Fixed Superbuffer live-tile graphic spilling outside of the

right end of the trough.


Overview: 
This check-in fixed a minor problem where Superbuffer
live-tile 
graphic spills outside of the right end of the trough.

The buffered region was described with buffer_min and width

previously; it is now described using buffer_min and
buffer_max.

This updates the formula change needed to compute the 
x-window-coordinate of buffer_max.



Files Modified:
player/app/gtk/superbufhscale.c


Image Size and Heap Use impact (Client -Only):
None.

Platforms and Profiles Affected:
Linux

Distribution Libraries Affected:
None.

Distribution library impact and planned action:
None.

Platforms and Profiles Build Verified:
Profile: helix_client_all_define
Platform: Fedora Core 6

Platforms and Profiles Functionality verified:
Profile: helix_client_all_define
Platform: Fedora Core 6

Branch: HEAD

Copyright assignment: I am a RealNetworks employee.



Index: superbufhscale.c
============================================================
=======
RCS file: /cvsroot/player/app/gtk/superbufhscale.c,v
retrieving revision 1.8
diff -u -w -r1.8 superbufhscale.c
--- superbufhscale.c	19 Sep 2007 12:08:45 -0000	1.8
+++ superbufhscale.c	21 Sep 2007 07:35:41 -0000
 -322,7
+322,7 
     buffer_min_x =
hx_superbuf_hscale_adjustment_value_to_slider_x(superbuf_hsc
ale, superbuf_hscale->buffer_min);
 
     // Buffer width corresponding to x coordinate.
-    buffer_max_x =
hx_superbuf_hscale_adjustment_value_to_slider_x(superbuf_hsc
ale, superbuf_hscale->buffer_min +
superbuf_hscale->buffer_max - 1);
+    buffer_max_x =
hx_superbuf_hscale_adjustment_value_to_slider_x(superbuf_hsc
ale, superbuf_hscale->buffer_max);
 
     // Layout Tile Graphics
     switch (superbuf_hscale->buffer_mode)



-- 
Daniel Yek.


_______________________________________________
Player-dev mailing list
Player-devhelixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/play
er-dev

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )