102 Commits

Author SHA1 Message Date
Jonathan Spira
2e30300afd better example framework, moving towards winit 30 2024-05-24 15:27:30 -04:00
Jonathan Spira
50e166e84f clippy don't be so mad! 2023-09-14 23:03:46 -04:00
dbr/Ben
f1c87a1755
Merge pull request #658 from tetenpapier/main
Add bindings to TextFilter
2022-10-05 13:37:25 +10:30
Wang, Lin
6fa1fb6991 leave tree_node label None if not set
This allows users to hide tree_node label. This change also added an
example of making a tree_node as a button.
2022-08-24 13:42:14 -04:00
tetenpapier
5f5450487f use &str instead of String 2022-08-12 17:32:11 +02:00
tetenpapier
5450ee6136 add doc and example, remove useless function 2022-08-11 10:12:34 +02:00
tetenpapier
5fc64b7e68 add TextFilter 2022-08-10 18:01:44 +02:00
Jack Mac
f334bfb106 init 2022-02-21 18:05:49 -05:00
Jack Mac
d6037316a0 updated modal popup funtimes 2022-02-21 18:05:49 -05:00
Gabe Weiner
d05827258f refactored Slider to match the new Ui based architecture 2022-01-28 12:00:47 -05:00
dbr
dd061d4ad4 Make ui.popup* methods consistent [#454]
Closes #592
2022-01-17 12:51:55 +11:00
Jack Mac
01424da04d added ui.selectable 2021-10-19 18:09:17 -04:00
Jack Mac
2eebba5662 updates tree node widgets 2021-10-19 11:44:01 -04:00
Jack Mac
88a352f76b finishing this pr 2021-10-13 12:52:19 -04:00
Jack Mac
311a31d74c menu rewrite 2021-10-13 12:52:19 -04:00
dbr
dd86066ed0 Minor typo in example string 2021-10-12 14:33:48 +11:00
Jack Mac
de69a0c103 deprecated InputInt and InputFloat, switched to using InputScalar 2021-10-06 13:09:34 -04:00
Sven Niederberger
fe4cc59faf cargo fmt 2021-10-06 12:01:11 -04:00
Sven Niederberger
f11cb33961 formatting 2021-10-06 12:01:11 -04:00
Sven Niederberger
bb66413a29 * add input_scalar
* allow setting display format for input_float
2021-10-06 12:01:11 -04:00
Jack Mac
b30cb740ba aaaand fixed up the examples 2021-10-01 11:36:24 -04:00
Jack Mac
f743fefe79 aaand examples compile. complex trait bounds there... 2021-09-30 18:58:38 -04:00
Jack Mac
635cbfd01d added more bounds. wow this is gonna take awhile 2021-09-30 18:58:38 -04:00
dbr
82ad709167 fmt 2021-09-25 13:03:06 +10:00
dbr
cc7ffbe351 Update examples to ui.window(...) 2021-09-25 11:51:11 +10:00
Jack Mac
f635fd6438 fixed examples, removing warnings (i think) 2021-09-13 17:12:27 -04:00
Jack Mac
694cd96d49 getting close! input_text resize is broken,
and i'll need to check the imgui docs example with std::string
to get a reference to how to do it properly.
2021-09-13 17:12:00 -04:00
Jack Spira
5143968429 updating more widgets. Wow this is boring! 2021-09-13 17:12:00 -04:00
Jack Spira
d490093dae finished menu 2021-09-13 17:11:52 -04:00
Jack Spira
540aa5f292 converted combo_box and drag 2021-09-13 17:11:32 -04:00
Jack Spira
08d285d029 added more bounds, somewhat chaotically 2021-09-13 17:10:43 -04:00
Jack Spira
7b644bf159 init draft 2021-09-04 19:26:20 -07:00
Jack Spira
7122366a43 fixing the stunning amount of clippy errors 2021-09-04 16:56:30 -07:00
AngelOfSol
42ab8ae591 Modifies build functions to allow returning data from the build
closures.
2021-03-26 01:14:08 -04:00
Thom Chiovoloni
d0e2be1678
Merge pull request #457 from dbr/imgui-v1.81 2021-03-06 15:49:11 -08:00
Jonathan Spira
8c328001d0 Added ext function variants to the majority of overloaded functions in ImGui 2021-03-04 10:58:30 -08:00
dbr
507d5d5065 Update to imgui 1.81
Changes:

- No more ListBox::calculate_size(...) as this was deprecated upstream
2021-03-03 15:36:28 +11:00
Jonathan Spira
8ac6bc49ce accidentally broke examples 2021-02-28 21:29:06 -08:00
Jonathan Spira
7e666e8463 fixed up the examples 2021-02-28 21:29:06 -08:00
Jonathan Spira
52b0da64a5 holy god, the suffering 2021-02-28 21:29:05 -08:00
Lukasz Wiklendt
3d3097e222 add input_text hinting 2021-02-18 15:21:30 -08:00
henbr
1ea6073821 fix, make items_count non-optional 2020-12-31 13:06:29 -08:00
henbr
936e63bdfa Add ListClipper wrapper 2020-12-31 13:06:29 -08:00
Willem Verstraeten
9210130872 added richer support for ListBox 2020-12-13 10:54:35 -08:00
Thom Chiovoloni
e585291e4d fix lint errors and ensure examples actually are linted 2020-12-05 23:32:54 -08:00
Joonas Javanainen
806608740a
Update slider API slightly 2020-09-19 14:54:03 +03:00
Joonas Javanainen
03ad6b10e0
Overhaul the drag slider API 2020-09-19 14:47:09 +03:00
Benoit Eudier
e889b1163f Add tabs in test_window_impl following the c library example 2020-07-08 12:13:13 +09:00
Benoit Eudier
6314e72b9e implementation of TabBar and TabItem 2020-07-08 09:54:44 +09:00
Joonas Javanainen
a5a0be44e3
Redesign tree node / collapsing header API 2020-03-16 12:02:52 +02:00