From 315286be2aaa6c39d52578b2604ac253d7cb3967 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Mon, 3 Nov 2025 00:49:56 +0000 Subject: [PATCH] fix size and image git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@579 b9cfdab3-6d41-4d17-bbe4-086880011989 --- examples/basic/image.c | 4 ++-- src/color_picker.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/basic/image.c b/examples/basic/image.c index ad6d358..8b89f98 100644 --- a/examples/basic/image.c +++ b/examples/basic/image.c @@ -10,11 +10,11 @@ int main() { MwWidget image3 = MwCreateWidget(MwImageClass, "image", window, 250, 250, 200, 200); MwLLPixmap px = MwLoadImage(window, "examples/picture.png"); MwLLPixmap px2 = MwLoadImage(window, "examples/picture.jpg"); - MwLLPixmap px3 = MwLoadImage(window, "resource/logo.png"); + MwLLPixmap px3 = MwLoadImage(window, "resource/logo/logo.png"); if(px == NULL) px = MwLoadImage(window, "../examples/picture.png"); if(px2 == NULL) px2 = MwLoadImage(window, "../examples/picture.jpg"); - if(px3 == NULL) px3 = MwLoadImage(window, "../resource/logo.png"); + if(px3 == NULL) px3 = MwLoadImage(window, "../resource/logo/logo.png"); MwVaApply(window, MwNiconPixmap, px, diff --git a/src/color_picker.c b/src/color_picker.c index 8963ad4..9cbcdbe 100644 --- a/src/color_picker.c +++ b/src/color_picker.c @@ -5,7 +5,7 @@ #define PICKER_SIZE 360 #define IMG_POS_X(w) ((w - PICKER_SIZE) / 2) #define IMG_POS_Y(h) ((h - PICKER_SIZE) / 2) -#define SCROLL_BAR_WIDTH 12 +#define SCROLL_BAR_WIDTH 16 #define MARGIN (PICKER_SIZE / 32) #define COLOR_DISPLAY_HEIGHT 12