Skip to main content

Questions tagged [fltk]

FLTK is a cross-platform C++ GUI toolkit that supports 3D graphics.

Filter by
Sorted by
Tagged with
4 votes
1 answer
940 views

Snake game using C++ and FLTK

Description I've written the snake game using C++ and FLTK. For simplifying the use of FLTK, a built-up library written by Bjarne Stroustrup was used. Bellow located main parts of the code written by ...
WumpusHunter's user avatar
10 votes
1 answer
403 views

Displaying programming languages on a timeline

I did the following two exercises in Programming: Principles and Practice Using C++ (2nd Edition), by Stroustrup, which build upon each other: From Chapter 22 (Ideals and History), Write a ...
Sandro4912's user avatar
  • 3,076
3 votes
1 answer
161 views

Cleaning a file / Word Query GUI (FLTK)

This is a follow up of Cleaning a file / Word Query I incorporated the suggestions from the anwers there and turned the Word Query Programm into a GUI. For that I used the Support code of the Book ...
Sandro4912's user avatar
  • 3,076
9 votes
0 answers
557 views

Hunt the Wumpus GUI (FLTK)

I used the code from the text based hunt the wumpus game discussed here: Text based game “Hunt the Wumpus” Version 3 to create a gui Version based on excercises from PPP by Stroustrup. For the GUI i ...
Sandro4912's user avatar
  • 3,076
3 votes
1 answer
4k views

A simple analog clock using FLTK

I'm implementing a graphical representation of an "analog clock" with moving hands (seconds, minutes and hours), using mainly2 FLTK facilities and the function ...
Ziezi's user avatar
  • 1,174
3 votes
4 answers
890 views

Striped closed poly-line

I'm working on class Striped_polyline which represents a closed poly-line filled with equidistant horizontal lines1: stripedpoly.cpp: ...
Ziezi's user avatar
  • 1,174
5 votes
1 answer
349 views

The rounded box that wanted to be an arc

This is from Bjarne Stroustrup's C++ Programming: Principles and Practice, Chapter 13 Exercise 2: Draw a box with rounded corners. Define a class Box, consisting ...
Ziezi's user avatar
  • 1,174
3 votes
1 answer
923 views

Drawing a checkerboard with FLTK

This is my first attempt to draw using FLTK libraries *: ...
Ziezi's user avatar
  • 1,174