make GroupList look nicer
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 4.2 KiB |
@@ -231,7 +231,7 @@ NextScreen=ScreenInstructions
|
|||||||
StartX=0
|
StartX=0
|
||||||
StartY=-136
|
StartY=-136
|
||||||
SpacingX=0
|
SpacingX=0
|
||||||
SpacingY=26
|
SpacingY=28
|
||||||
GainFocusCommand=stoptweening;glowshift;effectperiod,0.5;linear,0.2;x,-40
|
GainFocusCommand=stoptweening;glowshift;effectperiod,0.5;linear,0.2;x,-40
|
||||||
LoseFocusCommand=stoptweening;stopeffect;linear,0.2;x,0
|
LoseFocusCommand=stoptweening;stopeffect;linear,0.2;x,0
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
#include "Sprite.h"
|
#include "Sprite.h"
|
||||||
#include "BitmapText.h"
|
#include "BitmapText.h"
|
||||||
|
|
||||||
const unsigned MAX_GROUPS_ONSCREEN = 8;
|
const unsigned MAX_GROUPS_ONSCREEN = 7;
|
||||||
|
|
||||||
class GroupList: public ActorFrame {
|
class GroupList: public ActorFrame {
|
||||||
Sprite m_sprButton[MAX_GROUPS_ONSCREEN];
|
Sprite m_sprButton[MAX_GROUPS_ONSCREEN];
|
||||||
|
|||||||
@@ -351,8 +351,8 @@ retry:
|
|||||||
PixFmtMasks[pixfmt].masks[0], PixFmtMasks[pixfmt].masks[1],
|
PixFmtMasks[pixfmt].masks[0], PixFmtMasks[pixfmt].masks[1],
|
||||||
PixFmtMasks[pixfmt].masks[2], PixFmtMasks[pixfmt].masks[3]);
|
PixFmtMasks[pixfmt].masks[2], PixFmtMasks[pixfmt].masks[3]);
|
||||||
|
|
||||||
SM_SDL_OrderedDither(img, dst);
|
//SM_SDL_OrderedDither(img, dst);
|
||||||
//SM_SDL_ErrorDiffusionDither(img, dst);
|
SM_SDL_ErrorDiffusionDither(img, dst);
|
||||||
SDL_FreeSurface(img);
|
SDL_FreeSurface(img);
|
||||||
img = dst;
|
img = dst;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user