Fixed the texture previewer so the window shows up right. Also added an "Alpha" tag on it that should let you know if a texture has alpha or not - Useful in some cases.
Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
@@ -178,12 +178,12 @@ const S32 PREVIEW_BORDER = 4;
|
||||
const S32 PREVIEW_PAD = 5;
|
||||
const S32 PREVIEW_BUTTON_WIDTH = 100;
|
||||
|
||||
const S32 PREVIEW_LINE_HEIGHT = 19;
|
||||
const S32 PREVIEW_LINE_HEIGHT = 20;
|
||||
const S32 PREVIEW_CLOSE_BOX_SIZE = 16;
|
||||
const S32 PREVIEW_BORDER_WIDTH = 2;
|
||||
const S32 PREVIEW_RESIZE_HANDLE_SIZE = S32(RESIZE_HANDLE_WIDTH * OO_SQRT2) + PREVIEW_BORDER_WIDTH;
|
||||
const S32 PREVIEW_VPAD = 2;
|
||||
const S32 PREVIEW_HPAD = PREVIEW_RESIZE_HANDLE_SIZE;
|
||||
const S32 PREVIEW_HEADER_SIZE = 2*PREVIEW_LINE_HEIGHT + 2 * PREVIEW_VPAD;
|
||||
const S32 PREVIEW_HEADER_SIZE = 5*PREVIEW_LINE_HEIGHT + 2 * PREVIEW_VPAD;
|
||||
|
||||
#endif // LL_LLPREVIEW_H
|
||||
|
||||
Reference in New Issue
Block a user