oneko icon indicating copy to clipboard operation
oneko copied to clipboard

Feature Request: increase image size

Open mwittchen opened this issue 4 years ago • 1 comments

As display resolutions are much higher these days, neko is quite small on FullHD displays. Is it possible to increase the size of the displayed neko? I am not a programmer so I increased the sizes of the bitmaps and bitmasks from 32x32 to 64x64 with GIMP and recompiled the code. Nevertheless it only lead to display glitches. Next I tried to change some values in the code:

AnimalDefaultsData AnimalDefaultsDataTable[] = { { "neko", 13, 6, 32, 32, 125000L, 0, 0, mouse_cursor_bits,mouse_cursor_mask_bits, mouse_cursor_width,mouse_cursor_height, mouse_cursor_x_hot,mouse_cursor_y_hot },

I changed the 32, 32 to 64,64 but this had not effect on the size of neko.

mwittchen avatar Sep 29 '20 13:09 mwittchen

As display resolutions are much higher these days, neko is quite small on FullHD displays. Is it possible to increase the size of the displayed neko? I am not a programmer so I increased the sizes of the bitmaps and bitmasks from 32x32 to 64x64 with GIMP and recompiled the code. Nevertheless it only lead to display glitches. Next I tried to change some values in the code:

AnimalDefaultsData AnimalDefaultsDataTable[] = { { "neko", 13, 6, 32, 32, 125000L, 0, 0, mouse_cursor_bits,mouse_cursor_mask_bits, mouse_cursor_width,mouse_cursor_height, mouse_cursor_x_hot,mouse_cursor_y_hot },

I changed the 32, 32 to 64,64 but this had not effect on the size of neko.

After increasing the size of bitmap ,you may need to modify this line of oneko.h

#define BITMAP_WIDTH        32//64

#define BITMAP_HEIGHT       32//64

with9 avatar Nov 11 '21 01:11 with9