package bogue
GUI library for ocaml, with animations, based on SDL2
Install
Dune Dependency
Authors
Maintainers
Sources
20240928.tar.gz
md5=ff3baef6af21dd17dd1047f0dc8d8077
sha512=a3e2a2ea0c4c555096e6d42e862bfb7200d1f7e853c9792d12c0b140765b4be93c9911810ebf8ebb616c2e23b169aa7593ebd325f6748fde322ae219f0d10d7c
doc/CHANGELOG.html
Changelog
Warning: this changelog is not complete for changes before 2023
All notable changes to the Bogue project will be documented in this file.
The format is based on Keep a Changelog.
Unreleased
20240928
Added
Avar.reset
is now publicLayout.is_shown
Layout.inside
is now publicSnapshot.to_cursor
(experimental)Main.get_monitors_refresh_rate
- "NO_VSYNC" theme variable
Changed
Main?run
andTime.adaptive_fps
have an optional argumentvsync
- Enable adaptive vsync (through openGL) by default
- There is now no difference between the types
sdl_event
andSdl.Event.enum
Developement
- New
Time.adaptive_fps
using swap interval Main.get_window_refresh_rate
Draw.surface_from_texture
- We now use tsdl >= 1.0.0
- We don't un/lock audio automatically anymore
20240225
Warning: Last version compatible with tsdl < 0.9.9 (and >= 0.9.7)
Added
Text_input.activate
is now publicBox.get_style
andBox.set_style
are now public.
Fixed
- Take advantage of recent SDL version to (greatly!) reduce power saving with idle.
- Fix too large cursor position when using Text_input.set
Developement
mouse_at_rest
now usesTimeout
.- Switch from
directories
toxdg
to work on Windows. - Remove symlinks in doc.
- The
example.ml
file is now calledexamples.ml
, which is much more logical since it contains more than 50 examples. - Trying to enforce that all used submodules are aliased (to make it clear they are used) in the header of each file, example
module Time = B_time
.
20231209
Added
- Use
directories
to compute home and config paths, and add special care for Windows OS. - Deal with systems without audio device
Changed
Fixed
- fix flickering menus
- Workaround for Mac OS 13.0.1 cocoa bug when closing windows
etc.
20221112
older versions are not documented here yet...
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page