Commit graph

54 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
998a04645d
Use commit hash in html_logo_url 2021-12-09 15:10:38 +07:00
daladim
d72b1493e0
Added icon in docs 2021-12-09 15:05:41 +07:00
Héctor Ramón Jiménez
a0ad399622
Refactor alignment types into an alignment module 2021-09-20 15:14:08 +07:00
Héctor Ramón Jiménez
5fae6e59ff
Introduce and use CrossAlign enum for Column and Row 2021-09-20 15:12:43 +07:00
Héctor Ramón Jiménez
c0ab988842
Revert system menus support
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`.
2021-09-15 15:31:40 +07:00
Héctor Ramón Jiménez
01b945b981
Write missing docs and Debug implementations for web 2021-09-13 11:24:28 +07:00
Héctor Ramón Jiménez
76698ff2b5
Make Command implementations platform-specific
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!)
2021-09-02 13:29:34 +07:00
Héctor Ramón
86f5e56c55
Merge pull request #517 from Kaiden42/embedded
iced_web: Add an option to select the element
2021-08-12 12:31:19 +07:00
Héctor Ramón Jiménez
735cfb7908
Move menu module from iced_native to iced_core 2021-07-12 21:44:01 +02:00
Yusuf Bera Ertan
83d19689c8
docs: update all 0.2 github links to 0.3 2021-06-14 21:01:37 +03:00
Ben LeFevre
fe0a27c56d Add support for asymmetrical padding 2021-06-01 19:05:39 +07:00
Héctor Ramón Jiménez
7da3fb1b22 Implement stub Clipboard in iced_web
We need to figure out browser permissions and use of unstable `web-sys`
APIs
2021-03-11 03:52:41 +01:00
Héctor Ramón Jiménez
745aa49025 Update example links to point to 0.2 branch 2020-11-26 16:37:33 +01:00
Héctor Ramón Jiménez
11798dcc03 Update graphs in crate docs 2020-11-26 07:22:03 +01:00
Héctor Ramón Jiménez
01322f69a4 Use recently stabilized intra-doc links
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
2020-11-26 02:05:43 +01:00
Héctor Ramón Jiménez
08e0b9ffbd Fix broken links in API documentation 2020-11-26 01:59:20 +01:00
Kaiden42
f39e608d7b Format code 2020-09-09 15:12:54 +02:00
Kaiden42
5bfa4805a9 Add trait for embedded web applications 2020-09-09 14:45:50 +02:00
Héctor Ramón Jiménez
d873c37e31 Update dodrio dependency in iced_web 2020-07-01 07:19:51 +02:00
Héctor Ramón Jiménez
98bc8cf2a7 Rename MouseCursor to mouse::Interaction 2020-04-30 08:16:38 +02:00
Héctor Ramón Jiménez
bb9ccc4f62 Remove inconsistent input module in iced_native 2020-04-30 05:04:45 +02:00
Héctor Ramón Jiménez
ec712c8032 Move MouseCursor to iced_core 2020-04-29 03:23:02 +02:00
Héctor Ramón Jiménez
85dc07c3b0 Expose Rectangle in iced_web 2020-04-28 06:31:00 +02:00
Héctor Ramón Jiménez
d7a3ce4e68 Fix a couple of links in documentation 2020-04-02 17:39:24 +02:00
Héctor Ramón Jiménez
90cf272d67 Update iced_web build documentation 2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
148a4dd469 Call Runtime::enter properly in iced_web 2020-03-30 18:15:13 +02:00
Héctor Ramón Jiménez
c4c5216e3b Allow passing external state to Application::new 2020-03-30 18:10:15 +02:00
Héctor Ramón Jiménez
05beb87852 Move common keyboard types to iced_core
Also expose them in `iced` through `iced_native` and `iced_web`.
2020-03-17 07:30:05 +01:00
Héctor Ramón Jiménez
558abf648b Add transform stack to canvas::Frame 2020-02-14 04:59:31 +01:00
Héctor Ramón Jiménez
64097983f1 Expose Point in iced_web 2020-02-12 04:03:24 +01:00
Héctor Ramón Jiménez
0030bcbd33 Rename module style to css in iced_web 2020-02-05 00:23:22 +01:00
Héctor Ramón Jiménez
6d46833eb2 Support event subscriptions in iced_web
Also improves the overall web runtime, avoiding nested update loops.
2020-02-04 03:28:47 +01:00
Héctor Ramón Jiménez
a30553ddbb Forbid unsafe code and Rust 2018 idioms 2020-01-20 10:52:06 +01:00
Héctor Ramón Jiménez
04086a90c9 Implement WasmBindgen executor and reorganize 2020-01-20 05:43:09 +01:00
Héctor Ramón Jiménez
90690702e1 Add Application::Executor associated type 2020-01-20 04:47:36 +01:00
Héctor Ramón Jiménez
b5b17ed4d8 Create iced_futures and wire everything up 2020-01-19 10:17:44 +01:00
Elliott Mahler
4758e2ff75 Additional clone removals for wasm 2020-01-12 19:46:47 -08:00
Héctor Ramón Jiménez
9ca65c9f18 Fix missing Subscription type in iced_web 2019-12-18 23:57:02 +01:00
Héctor Ramón Jiménez
2995c50b1c Schedule render after Command futures finish 2019-12-01 18:03:35 +01:00
Héctor Ramón Jiménez
2b2a0f12c7 Update document title properly in iced_web 2019-11-24 11:33:50 +01:00
Héctor Ramón Jiménez
9f3abe9202 Spawn Command futures in iced_web 2019-11-24 11:26:28 +01:00
Héctor Ramón Jiménez
d0f79d2779 Make tour work with iced_web again 🎉
- Implements `TextInput`, `Scrollable`, and `Container`
- Adds basic style generation
2019-11-23 20:23:38 +01:00
Héctor Ramón Jiménez
fa227255b0 Write docs for iced_web 2019-11-22 22:14:04 +01:00
Héctor Ramón Jiménez
65eb218d3d Move widgets from core to native and web
Also made fields private and improved `Renderer` traits.
2019-11-21 13:47:20 +01:00
Héctor Ramón Jiménez
d4d14b68f4 Remove padding from Container for now 2019-11-11 05:37:51 +01:00
Héctor Ramón Jiménez
c7ef9d0da7 Connect iced_web with iced properly 2019-10-23 02:33:07 +02:00
Héctor Ramón Jiménez
a92a0b73ed Move winit logic from iced to iced_winit
- Added new `renderer::Windowed` trait. This shoud allow users to easily
  try different renderers by simply changing one line.
- Renamed `UserInterface` traits to `Application`, as the `run` method
  takes total control of the current thread.
- Moved `MouseCursor` back to `iced_native`. The new
  `renderer::Windowed` trait returns one on `draw`.
- Split `iced_native` renderer in multiple modules, for consistency.
2019-10-09 05:36:49 +02:00
Héctor Ramón Jiménez
5e28f80af8 Improve documentation 2019-09-24 15:15:34 +02:00
Héctor Ramón Jiménez
b9e0f74948 Create iced_core and iced_native 2019-09-20 19:15:31 +02:00
Héctor Ramón Jiménez
f9de39ddaa Unify web and ggez tour examples 🎉 2019-09-19 15:01:12 +02:00