Tag Archives: c

FLTK tech, HICON to Fl_RGB_Image

      Comments Off on FLTK tech, HICON to Fl_RGB_Image

This is a simple source code for converting Windows HICON to Fl_RGB_Image for my own customized FLTK window. Before understanding how it works, It must be requires understanding of some Windows API like LoadImage(). API, icon_to_flrgb()

Plus, to remove Fl_RGB_Image in safe, use this. remove_fl_rgb_image()

And, let know… Read more »

openXcom save editor C++ source code.

      Comments Off on openXcom save editor C++ source code.

¬† openXcom is a great windows application developed for everyone as an open source. Anybody can enjoy long time ago original Xcom:UFO defense in any version of Windows, specially my Windows10 with Pentium 957 really works well in low energy cost, lovely game. But if you have any experience in… Read more »

FLTK+MinGW+DirectX8, Joystick example

      Comments Off on FLTK+MinGW+DirectX8, Joystick example

¬†Here I made an example source code with Code::Blocks+MinGW-W64+WINE project directX8 library for using joystick. You should know this project limited to under Windows32 platform, but You can make fast faced simple game without DirectX surface, only using FLTK and Direct Input. I recommend to using my FLTK-1.3.3-ts library for… Read more »

Printing bits from unsigned char (BYTE) in C.

      Comments Off on Printing bits from unsigned char (BYTE) in C.

Anybody knows what numbers made in our computer if you have experience in programming. But did you have try to print what ‘unsigned char’ or ‘BYTE’, 1 byte data to bits? ‘unsigned char’ and ‘BYTE’ contain a number in ranged 0 to 255 in 8 bits. 0000:0000 to 1111:1111. Every… Read more »