Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Imaging Drawing Question

Author
Message
Charles Thompson
16
Years of Service
User Offline
Joined: 30th Jul 2008
Location:
Posted: 3rd Aug 2008 00:46
On board.cpp I load an image that is 15x15 pixels and on the generate_board method I resize the screen so that the images can just barely fit on the screen. However, when I do this the tiles get sized down from 15x15 to some ridiculously small size. Any idea why? Thanks for any help in advance.
Main.cpp-

Board.cpp-

Matrix.cpp-


Charles Thompson

Attachments

Login to view attachments
Charles Thompson
16
Years of Service
User Offline
Joined: 30th Jul 2008
Location:
Posted: 3rd Aug 2008 05:37
It appears I have to use
but then the images from dbPaintImage aren't working anymore. Any thoughts on that by any chance?

Charles Thompson

Login to post a reply

Server time is: 2024-11-20 17:38:49
Your offset time is: 2024-11-20 17:38:49