Skip to content

zekovic/rust-7gui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-7gui

7 GUI created on Rust with FLTK

1. Counter

cargo run --bin gui71

Counter

2. Temperature Converter

cargo run --bin gui72

Temperature Converter

3. Flight Booker

cargo run --bin gui73

Used datepicker fltk-calendar = "0.3". Date is set on double-click in datepicker.

Flight Booker

4. Timer

cargo run --bin gui74

Timer

5. CRUD

cargo run --bin gui75

SQLite database examples found at: https://github.com/bbrumm/databasestar/tree/main/sample_databases

Collected in simple database movies_table.db with:

SELECT m.movie_id, m.title, m.overview, m.release_date, group_concat(g.genre_name, ', ') AS genres
FROM movie m
INNER JOIN movie_genres mg ON mg.movie_id = m.movie_id
INNER JOIN genre g ON g.genre_id = mg.genre_id
GROUP BY m.movie_id

CRUD

6. Circle Drawer

cargo run --bin gui76

Click to draw a circle, right click to edit radius

Circles Circles

7. Cells

cargo run --bin gui77

Used locally modified version of fltk-table = "0.3.1" (fltk_table_031.rs), where border lines thickness is improved, and added key event for editing cells on F2 or Enter or Tab.

Entering data and calculating formulas in the cells. Formulas can be: SUM, AVG, PROD. Example: =SUM(B1:C3) -> calculates sum of values in range B1, B2, B3, C1, C2, C3.

If some calculated values are in range, they will also be taken in some other calculations, like in screenshot example.

Moving over cells by Tab/Shift+Tab.

Cells

About

7 GUI created on Rust with FLTK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages