summaryrefslogtreecommitdiffstats
path: root/src/application.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace `iced_web` with WebGL support in `wgpu` :tada:Libravatar Héctor Ramón Jiménez2022-01-281-61/+17
|
* Improve documentation of `Application::run`Libravatar Héctor Ramón Jiménez2021-11-291-2/+3
|
* Allow `Application::run` to return on native platformsLibravatar Andreas Hofstadler2021-11-291-2/+2
|
* Revert system menus supportLibravatar Héctor Ramón Jiménez2021-09-151-13/+2
| | | | | | The current implementation has some important issues on Windows. We will reintroduce the feature once we figure them out! I have kept some of the changes in #945, like the new `keyboard::Modifiers` powered by `bitflags`.
* Remove `Clipboard` export in `iced`Libravatar Héctor Ramón Jiménez2021-09-021-1/+1
|
* Make `Command` implementations platform-specificLibravatar Héctor Ramón Jiménez2021-09-021-23/+8
| | | | | | | | | This allows us to introduce a platform-specific `Action` to both `iced_native` and `iced_web` and remove the `Clipboard` from `Application::update` to maintain purity. Additionally, this should let us implement further actions to let users query and modify the shell environment (e.g. window, clipboard, and more!)
* Merge pull request #914 from yusdacra/feat/expose_draw_cache_multithreadLibravatar Héctor Ramón2021-07-221-0/+1
|\ | | | | feat: expose draw_cache_multithread as a feature
| * Introduce `text_multithreading` to `Settings`Libravatar Héctor Ramón Jiménez2021-07-221-0/+1
| |
* | Write documentation for `menu` method in `Application`Libravatar Héctor Ramón Jiménez2021-07-191-1/+3
| |
* | Force `Application::Message` to implement `Clone`Libravatar Héctor Ramón Jiménez2021-07-131-1/+1
| | | | | | | | | | | | A `Message` should represent an application event (e.g. user interactions, command results, subscription results...). Therefore, it should always consist of pure, cloneable data.
* | Initial menu implementationLibravatar Richard2021-07-051-1/+10
| |
* | docs: update all 0.2 github links to 0.3Libravatar Yusuf Bera Ertan2021-06-141-9/+9
|/
* use Mode::Hidden insteadLibravatar Cory Forsstrom2021-04-091-11/+1
|
* add window visibilityLibravatar Cory Forsstrom2021-04-081-0/+11
|
* Add support for graceful exits in `Application`Libravatar Héctor Ramón Jiménez2021-03-301-0/+11
| | | | | - `Settings` now contains an `exit_on_close_request` field - `Application` has a new `should_exit` method
* Introduce `internal_backend` to `iced_wgpu::Settings`Libravatar Héctor Ramón Jiménez2021-03-251-1/+1
|
* Implement stub `Clipboard` in `iced_web`Libravatar Héctor Ramón Jiménez2021-03-111-2/+6
| | | | | We need to figure out browser permissions and use of unstable `web-sys` APIs
* Add `clipboard` argument to `Application::update`Libravatar Héctor Ramón Jiménez2021-03-111-7/+18
|
* Update example links to point to `0.2` branchLibravatar Héctor Ramón Jiménez2020-11-261-8/+11
|
* Use recently stabilized intra-doc linksLibravatar Héctor Ramón Jiménez2020-11-261-38/+12
| | | | See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
* Remove `executor::Null` from the root public APILibravatar Héctor Ramón Jiménez2020-10-171-1/+1
| | | | | | | Using an `Application` with `executor::Null` does not make sense, as the whole purpose of an `Application` is to allow executing async actions. When async actions are not needed, `Sandbox` should be used instead.
* Make `Application` and `Sandbox` return a `Result`Libravatar Héctor Ramón Jiménez2020-09-081-9/+13
|
* Merge pull request #415 from hecrj/feature/configurable-scale-factorLibravatar Héctor Ramón2020-06-201-0/+19
|\ | | | | Add `scale_factor` to `Application` and `Sandbox`
| * Add `scale_factor` to `Application` and `Sandbox`Libravatar Héctor Ramón Jiménez2020-06-191-0/+19
| |
* | Make default text size configurable in `Settings`Libravatar Héctor Ramón Jiménez2020-06-191-0/+1
|/
* Add `background_color` to `Application` and `Sandbox`Libravatar Héctor Ramón Jiménez2020-06-121-1/+17
|
* Revert "Merge pull request #371 from myfreeweb/window-alpha"Libravatar Héctor Ramón Jiménez2020-06-011-1/+0
| | | | | This reverts commit 2ba9598f8022bf3035d97f1a30e53117b9619235, reversing changes made to d34f8e06c8e3cdbba07a272f346163cfc0f920a6.
* Add custom window background/clear color (incl. transparency) support, fixes ↵Libravatar Greg V2020-06-011-0/+1
| | | | | | | | | | | | #272 wgpu would currently ignore the alpha: https://github.com/gfx-rs/wgpu/issues/687 glow (and naively patched wgpu) requires premultiplied alpha, so if you don't multiply the RGB by the A right now, the semi-transparent color would be wrong (too bright). winit with_transparent doesn't seem necessary.
* Introduce feature flags to enable `iced_glow`Libravatar Héctor Ramón Jiménez2020-05-271-12/+12
| | | | Also keep `iced_wgpu` as the default renderer for the time being.
* Introduce `Program` and `State`Libravatar Héctor Ramón Jiménez2020-05-211-15/+22
|
* Implement `iced_glutin` :tada:Libravatar Héctor Ramón Jiménez2020-05-211-10/+10
|
* Rename `window::Backend` to `Compositor`Libravatar Héctor Ramón Jiménez2020-05-191-1/+1
|
* Write documentation for the `debug` featureLibravatar Héctor Ramón Jiménez2020-04-021-0/+3
|
* Improve docs for `Sandbox` and `Application`Libravatar Héctor Ramón Jiménez2020-04-021-49/+50
|
* Clarify return policy of `Application::run`Libravatar Héctor Ramón Jiménez2020-04-021-4/+4
|
* Allow passing external state to `Application::new`Libravatar Héctor Ramón Jiménez2020-03-301-17/+32
|
* Make output format of `iced_wgpu` configurableLibravatar Héctor Ramón Jiménez2020-02-241-0/+1
|
* Rename `Settings::use_antialiasing` to `antialiasing`Libravatar Héctor Ramón Jiménez2020-02-181-1/+1
|
* Write documentation for new `canvas` moduleLibravatar Héctor Ramón Jiménez2020-02-181-1/+1
|
* Rename `Settings::antialiasing` to `use_antialiasing`Libravatar Héctor Ramón Jiménez2020-02-151-1/+1
|
* Implement MSAA for `triangle` pipeline in `iced_wgpu`Libravatar Héctor Ramón Jiménez2020-02-151-0/+5
|
* Allow `iced_wgpu` to render to any `TextureView`Libravatar Héctor Ramón Jiménez2020-02-091-1/+1
|
* Support event subscriptions in `iced_web`Libravatar Héctor Ramón Jiménez2020-02-041-0/+5
| | | | Also improves the overall web runtime, avoiding nested update loops.
* Add `Application::Executor` associated typeLibravatar Héctor Ramón Jiménez2020-01-201-2/+12
|
* Expose `window::Mode` in `iced`Libravatar Héctor Ramón Jiménez2020-01-161-1/+22
| | | | | Although the Fullscreen API in the Web platform has some limitations, it is still useful to be able to support fullscreen on the native side.
* Remove Clone bound on Application::MessageLibravatar Elliott Mahler2020-01-121-1/+1
|
* Allow configuration of default fontLibravatar Héctor Ramón Jiménez2020-01-011-1/+6
|
* Fix missing `Subscription` type in `iced_web`Libravatar Héctor Ramón Jiménez2019-12-181-2/+2
|
* Write docs for subscriptions and reorganize a bitLibravatar Héctor Ramón Jiménez2019-12-141-4/+13
|
* Draft first version of event subscriptions :tada:Libravatar Héctor Ramón Jiménez2019-12-051-1/+10
|