Intro
Hi there!
After over one yeare since the last giu release we come back with a bunch of updates and fixes.
Release Highlights
- Removed the following enums:
StyleColorNavHighlight
- Added possibility to to specify
.inifile name with(*MasterWindow).SetUserFile(...) MasterWindow: possible to get current global style withGetStyle- Fixed various font scaling issues (macOS)
InputText: AddedInputTextFlagsWordWrapallowing to automatically wrap text.FontAtlasrework:- Font size is no longer managed by
FontAtlas, therefore,(*FontAtlas).SetSizewas removed - String registration is no more needed, so
(*FontAtlas).RegisterString(and its variants) were removed.
- Font size is no longer managed by
Markdown: changed(*MarkdownWidget).Headerso that it allows to set font size.MasterWindow: added light theme
CodeEditor: added different color palettes
MasterWindow: addedSizeChangeCallbackwhich is called whenever a main window is resized.ContextMenu:MouseButtonwas renamed toFlags. Also the flags type was changed fromMouseButton=>PopupFlags
Note
This release utilizes cimgui-go version v1.5.0 which uses imgui 1.92.8.
Important
Please kindly note, that giu must be paired with the right cimgui-go version. Mixing together different versions might cause compilation issues.
What's Changed
- Making the user .ini file optional by @theaino in #989
- readme: update installation instruction by @gucio321 in #994
- remove .travis.yml by @gucio321 in #988
- Remove StyleColorNavHighlight by @theaino in #995
- Shifting popup open time | #986 by @theaino in #990
- StyleSetter getters and GetStyle() for MasterWindow by @theaino in #998
- github/issue_template: improve bug report template by @gucio321 in #999
- build(deps): bump golang.org/x/image from 0.27.0 to 0.28.0 by @dependabot[bot] in #1002
- build(deps): bump golang.org/x/image from 0.28.0 to 0.29.0 by @dependabot[bot] in #1005
- build(deps): bump golang.org/x/image from 0.29.0 to 0.30.0 by @dependabot[bot] in #1014
- Don't scale the font size on macOS by @ioxenus in #1015
- Add extra function keys (F13-F25) by @ioxenus in #1017
- build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #1016
- build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 by @dependabot[bot] in #1020
- workflows: refer to go.mod in setup-go call by @gucio321 in #1027
- build(deps): bump golang.org/x/image from 0.30.0 to 0.31.0 by @dependabot[bot] in #1024
- build(deps): bump actions/setup-go from 5 to 6 by @dependabot[bot] in #1021
- Update cimgui go to 1.4.0 by @gucio321 in #1028
- Flags: add InputTextFlagsWordWrap flag by @gucio321 in #1031
- BREAKING Font Atlas size handling rework by @gucio321 in #1032
- BREAKING markdown: Fix Headers not being able to set font size by @gucio321 in #1034
- Update golangci-lint to v2.5.0 by @gucio321 in #1033
- Font atlas: remove glyph ranges by @gucio321 in #1036
- themes: add possibility to set light theme by @gucio321 in #1037
- build(deps): bump golang.org/x/image from 0.31.0 to 0.32.0 by @dependabot[bot] in #1039
- code editor: add support for differentcolor palettes by @gucio321 in #1038
- build(deps): bump golangci/golangci-lint-action from 8 to 9 by @dependabot[bot] in #1042
- build(deps): bump golang.org/x/image from 0.32.0 to 0.33.0 by @dependabot[bot] in #1043
- build(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #1044
- build(deps): bump golang.org/x/image from 0.33.0 to 0.34.0 by @dependabot[bot] in #1045
- build(deps): bump actions/cache from 4 to 5 by @dependabot[bot] in #1046
- build(deps): bump github.com/mazznoer/csscolorparser from 0.1.6 to 0.1.7 by @dependabot[bot] in #1047
- build(deps): bump golang.org/x/image from 0.34.0 to 0.35.0 by @dependabot[bot] in #1049
- build(deps): bump github.com/mazznoer/csscolorparser from 0.1.7 to 0.1.8 by @dependabot[bot] in #1050
- Add SetSizeChangeCallback to master window by @Orygin in #1051
- build(deps): bump golang.org/x/image from 0.35.0 to 0.36.0 by @dependabot[bot] in #1053
- Allow setting focus to InputText widget by @Orygin in #1052
- build(deps): bump golang.org/x/image from 0.36.0 to 0.38.0 by @dependabot[bot] in #1056
- build(deps): bump golang.org/x/image from 0.38.0 to 0.39.0 by @dependabot[bot] in #1057
- build(deps): bump github.com/sahilm/fuzzy from 0.1.1 to 0.1.2 by @dependabot[bot] in #1058
- build(deps): bump golang.org/x/image from 0.39.0 to 0.40.0 by @dependabot[bot] in #1059
- build(deps): bump golang.org/x/image from 0.40.0 to 0.41.0 by @dependabot[bot] in #1061
- deps: update cimgui-go to v1.5.0 by @gucio321 in #1063
- workflows: update golangci-lint to v2.11.5 by @gucio321 in #1064
- breaking(ContextMenu): rename MouseButton => Flags + change flags type by @gucio321 in #1066
New Contributors
Huge thanks! ❤️ 🎉 🚀
Full Changelog: v0.14.1...v0.15.0