Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: increase image size #8

Open
mwittchen opened this issue Sep 29, 2020 · 1 comment
Open

Feature Request: increase image size #8

mwittchen opened this issue Sep 29, 2020 · 1 comment

Comments

@mwittchen
Copy link

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.

@with9
Copy link

with9 commented Nov 11, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants