Left/Right Stamp navigation buttons are purple, like the other (up/down) scroll buttons found in Tux Paint. (SourceForge Bug #2918289)
This commit is contained in:
parent
d2aec0c8f5
commit
20f6c8165d
3 changed files with 13 additions and 4 deletions
BIN
data/images/ui/btn_nav.png
Normal file
BIN
data/images/ui/btn_nav.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
|
|
@ -8,7 +8,7 @@ http://www.tuxpaint.org/
|
||||||
|
|
||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
2011.April.26 (0.9.22)
|
2011.April.27 (0.9.22)
|
||||||
* New Tools:
|
* New Tools:
|
||||||
----------
|
----------
|
||||||
* Label - A tool to add text to a drawing, which can be modified or
|
* Label - A tool to add text to a drawing, which can be modified or
|
||||||
|
|
@ -128,6 +128,10 @@ $Id$
|
||||||
-------------------
|
-------------------
|
||||||
* Quicker prompt window pop-up animation.
|
* Quicker prompt window pop-up animation.
|
||||||
|
|
||||||
|
* Left/Right Stamp navigation buttons are purple, like the other (up/down)
|
||||||
|
scroll buttons found in Tux Paint.
|
||||||
|
(SourceForge Bug #2918289)
|
||||||
|
|
||||||
* Slightly improved mouse motion handling when Tux Paint is very busy
|
* Slightly improved mouse motion handling when Tux Paint is very busy
|
||||||
drawing or previewing. (e.g., when drawing a circle, you could often
|
drawing or previewing. (e.g., when drawing a circle, you could often
|
||||||
end up with a "D" shape... now, you get more of a regular polygon shape
|
end up with a "D" shape... now, you get more of a regular polygon shape
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
(See COPYING.txt)
|
(See COPYING.txt)
|
||||||
|
|
||||||
June 14, 2002 - April 26, 2011
|
June 14, 2002 - April 27, 2011
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1212,6 +1212,7 @@ static int have_to_rec_label_node_back;
|
||||||
static SDL_Surface *img_title, *img_title_credits, *img_title_tuxpaint;
|
static SDL_Surface *img_title, *img_title_credits, *img_title_tuxpaint;
|
||||||
static SDL_Surface *img_btn_up, *img_btn_down, *img_btn_off;
|
static SDL_Surface *img_btn_up, *img_btn_down, *img_btn_off;
|
||||||
static SDL_Surface *img_btnsm_up, *img_btnsm_off, *img_btnsm_down;
|
static SDL_Surface *img_btnsm_up, *img_btnsm_off, *img_btnsm_down;
|
||||||
|
static SDL_Surface *img_btn_nav;
|
||||||
static SDL_Surface *img_prev, *img_next;
|
static SDL_Surface *img_prev, *img_next;
|
||||||
static SDL_Surface *img_mirror, *img_flip;
|
static SDL_Surface *img_mirror, *img_flip;
|
||||||
static SDL_Surface *img_dead40x40;
|
static SDL_Surface *img_dead40x40;
|
||||||
|
|
@ -8713,7 +8714,7 @@ static void draw_stamps(void)
|
||||||
/* Show prev button: */
|
/* Show prev button: */
|
||||||
|
|
||||||
button_color = img_black;
|
button_color = img_black;
|
||||||
button_body = img_btn_up;
|
button_body = img_btn_nav;
|
||||||
|
|
||||||
dest.x = WINDOW_WIDTH - 96;
|
dest.x = WINDOW_WIDTH - 96;
|
||||||
dest.y = 40 + (((most + TOOLOFFSET) / 2) * 48);
|
dest.y = 40 + (((most + TOOLOFFSET) / 2) * 48);
|
||||||
|
|
@ -8729,7 +8730,7 @@ static void draw_stamps(void)
|
||||||
/* Show next button: */
|
/* Show next button: */
|
||||||
|
|
||||||
button_color = img_black;
|
button_color = img_black;
|
||||||
button_body = img_btn_up;
|
button_body = img_btn_nav;
|
||||||
|
|
||||||
dest.x = WINDOW_WIDTH - 48;
|
dest.x = WINDOW_WIDTH - 48;
|
||||||
dest.y = 40 + (((most + TOOLOFFSET) / 2) * 48);
|
dest.y = 40 + (((most + TOOLOFFSET) / 2) * 48);
|
||||||
|
|
@ -12137,6 +12138,8 @@ static void cleanup(void)
|
||||||
free_surface(&img_btnsm_off);
|
free_surface(&img_btnsm_off);
|
||||||
free_surface(&img_btnsm_down);
|
free_surface(&img_btnsm_down);
|
||||||
|
|
||||||
|
free_surface(&img_btn_nav);
|
||||||
|
|
||||||
free_surface(&img_sfx);
|
free_surface(&img_sfx);
|
||||||
free_surface(&img_speak);
|
free_surface(&img_speak);
|
||||||
|
|
||||||
|
|
@ -22157,6 +22160,8 @@ static void setup(void)
|
||||||
img_btnsm_off = loadimage(DATA_PREFIX "images/ui/btnsm_off.png");
|
img_btnsm_off = loadimage(DATA_PREFIX "images/ui/btnsm_off.png");
|
||||||
img_btnsm_down = loadimage(DATA_PREFIX "images/ui/btnsm_down.png");
|
img_btnsm_down = loadimage(DATA_PREFIX "images/ui/btnsm_down.png");
|
||||||
|
|
||||||
|
img_btn_nav = loadimage(DATA_PREFIX "images/ui/btn_nav.png");
|
||||||
|
|
||||||
img_sfx = loadimage(DATA_PREFIX "images/tools/sfx.png");
|
img_sfx = loadimage(DATA_PREFIX "images/tools/sfx.png");
|
||||||
img_speak = loadimage(DATA_PREFIX "images/tools/speak.png");
|
img_speak = loadimage(DATA_PREFIX "images/tools/speak.png");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue