Move common keyboard types to iced_core
Also expose them in `iced` through `iced_native` and `iced_web`.
This commit is contained in:
parent
1cd1582506
commit
05beb87852
10 changed files with 20 additions and 10 deletions
|
|
@ -7,4 +7,3 @@ publish = false
|
|||
|
||||
[dependencies]
|
||||
iced = { path = "../.." }
|
||||
iced_native = { path = "../../native" }
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
use iced::{
|
||||
button, pane_grid, scrollable, Align, Button, Column, Container, Element,
|
||||
HorizontalAlignment, Length, PaneGrid, Sandbox, Scrollable, Settings, Text,
|
||||
button, keyboard, pane_grid, scrollable, Align, Button, Column, Container,
|
||||
Element, HorizontalAlignment, Length, PaneGrid, Sandbox, Scrollable,
|
||||
Settings, Text,
|
||||
};
|
||||
use iced_native::input::keyboard;
|
||||
|
||||
pub fn main() {
|
||||
Example::run(Settings::default())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue