Emil Ernerfeldt
6de93cb0ec
Remove the label! macro
4 years ago
Emil Ernerfeldt
428e2373e5
Change default font to Ubuntu-Light
4 years ago
Emil Ernerfeldt
4ecb7d14ca
New widget: `SelectableLabel`: a text-button that can be selected
Also available via `ui.selectable_label` and `ui.selectable_value`
4 years ago
Emil Ernerfeldt
a7e7826d2c
Release 0.4.0 of egui, egui_web and egui_glium
4 years ago
Emil Ernerfeldt
aab1b351ab
Fixed incorrect text wrapping width on radio buttons
4 years ago
Emil Ernerfeldt
e2c3bd429f
Update CHANGELOG.md
4 years ago
Emil Ernerfeldt
fe0d159324
Support Cmd+A ^W ^U ^K and shift-click
4 years ago
Emil Ernerfeldt
c4ed507d63
Add modifier keys and implement moving cursors one word at a time
4 years ago
Emil Ernerfeldt
03eb9151c4
Improve automatic Id generation to make Id clashes less likely
4 years ago
Emil Ernerfeldt
0340e2e6de
TextEdit: You must explicitly choose singleline or multiline.
Multiline TextEdit now has a default height of 4 rows.
Added `ui.text_edit_singleline` and `ui.text_edit_multiline`.
4 years ago
Emil Ernerfeldt
d2b5730784
Check if TextEdit lost keyboard focus with response.lost_kb_focus
4 years ago
Emil Ernerfeldt
e55b59256e
Press enter in single line `TextEdit` to surrender keyboard focus
4 years ago
Emil Ernerfeldt
796def4bcb
Fixed bug where a lost widget could still retain keyboard focus.
4 years ago
Emil Ernerfeldt
3af741e85a
Update CHANGELOG.md with new 0.3.0 release
4 years ago
Emil Ernerfeldt
4b8a65268c
Turn off anti-aliasing in debug builds by default
4 years ago
Emil Ernerfeldt
af11d766fc
Split out tesselation from Context::end_frame()
4 years ago
Emil Ernerfeldt
ca96172552
You can override the default Egui fonts
Closes https://github.com/emilk/egui/issues/32
4 years ago
Emil Ernerfeldt
4b549a773e
Replace ctx.background_ui with CentralPanel
4 years ago
Emil Ernerfeldt
44a7cac046
`Context::begin_frame()` no longer returns anything.
Put your widgets into a `SidePanel`, `TopPanel`,
`Window` or into `ctx.background_ui()`.
4 years ago
Emil Ernerfeldt
211d70b4f3
[window] Remove ability to throw windows
4 years ago
Emil Ernerfeldt
35b949a2d8
Refactor panels into proper containers
4 years ago
Emil Ernerfeldt
8b51ae5dea
Panels: Added Context::panel_left and panel_top
Context will keep track of the avilable space left after panels.
Windows will be constrained to that available space.
So add panels first, THEN add windows.
4 years ago
Emil Ernerfeldt
46ce9a4f3d
[windows] Constrain windows to screen
4 years ago
Emil Ernerfeldt
b8642b4db4
Do less rounding of positions to pixel boundaries
Fixes https://github.com/emilk/egui/issues/27
4 years ago
Emil Ernerfeldt
a4e19d7207
[app] Add demo app slider to change scale of all of Egui
4 years ago
Emil Ernerfeldt
251cde60f0
[app] Refactor egui::app::App interface to be more data oriented
4 years ago
Emil Ernerfeldt
42b433a204
[release] bump version numbers to 0.2.0
4 years ago
Emil Ernerfeldt
5c469551df
Switch argument order of `ui.checkbox` and `ui.radio`
`bool, text` is the more logical order, as it
* matches the visuals: `[x] text`
* puts the important part first
* more natually allows us to extend to checkboxes without a text
4 years ago
Emil Ernerfeldt
b01690c7b8
[culling] coarse culling of text lines, circles and boxes
4 years ago
Emil Ernerfeldt
9f6301e121
Add logarithmic sliders to CHANGELOG.md
4 years ago
Emil Ernerfeldt
22fffc1793
[widgets] combo box (drop down menu)
4 years ago
Emil Ernerfeldt
bb367752cf
[text] support non-latin characters by dynamically adding them to atlas
4 years ago