Tag Archives: FLTK

Graphical CPU and GPU monitoring utility

      Comments Off on Graphical CPU and GPU monitoring utility

Before start to read this, it is an utility for Embedded Linux users.If you don’t know about Linux, it should be skipped for next time. Introduction It was made for monitoring CPU and GPU temperature with maximum clocks goes thresholded in Rockchip RK3399 embedded system at first time. First version… Read more »

Writing RGB or GREY buffer into a JPEG file

      Comments Off on Writing RGB or GREY buffer into a JPEG file

Import issue: This example code is for Linux ( or possible for MacOSX ). and .. Fixed some wrong code Makefile It must be declared to link with jpeg library in system, or it should not be switched with turbo-jpeg.

Code for jpeglib.

Code for TURBOJPEG

Read more »

Create HBITMAP from Fl_RGB_Image

      Comments Off on Create HBITMAP from Fl_RGB_Image

Here is a simple code for convert Fl_RGB_Image to HBITMAP.

It should be help to convert Fl_RGB_Image ( must have depth 4 for RGBA ) to HBITMAP. And it works for changing Fl_Window to Layered window easily like this.

And it may runs as this.

An open source graphical help tool library, fl_imgtk.

      Comments Off on An open source graphical help tool library, fl_imgtk.

Here is an open source library helps many Fl_RGB_Image processing to make some featured GUI.  You can clone or download source code in free on GitHub page. It designed to work with any type of gcc ( llvm-gcc and MinGW-W64 ) with just a copy and type ‘make’, or modify… Read more »

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 »

In case of failure to using fl_xid();

      Comments Off on In case of failure to using fl_xid();

I did try apply DirectX input to using joystick for my HID emulation, but my testing program failure in SetCooperativeLevel() API on dinput. At the result of analyse, I found FLTK API fl_xid() returns wrong HWND value from debuger. Just inspected real HWND(handle of window) value with Process Hacker. It was… Read more »

I love FLTK.

      Comments Off on I love FLTK.

  FLTK is a multi platform supported C++ open source library. And I have a forked (cloned) project to modifying this library for Windows32 GDI to drawing fast rendered surface. To fork my project on Github, you can just visit there, and download or clone a project. https://github.com/rageworx/fltk-1.3.3-ts