Skip to content

Commit 5b7b024

Browse files
committed
move ImeOptions + InputType to src/input.rs + fills out
This adds and documents the remaining `ImeOptions` (addressing TODO comment)
1 parent 6571539 commit 5b7b024

3 files changed

Lines changed: 375 additions & 220 deletions

File tree

android-activity/src/game_activity/mod.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,13 @@ use crate::util::{
2929
try_get_path_from_ptr,
3030
};
3131
use crate::{
32-
AndroidApp, ConfigurationRef, ImeOptions, InputStatus, InputType, MainEvent, PollEvent, Rect,
33-
WindowManagerFlags,
32+
AndroidApp, ConfigurationRef, InputStatus, MainEvent, PollEvent, Rect, WindowManagerFlags,
3433
};
3534

3635
mod ffi;
3736

3837
pub mod input;
39-
use crate::input::{TextInputState, TextSpan};
38+
use crate::input::{ImeOptions, InputType, TextInputState, TextSpan};
4039
use input::{InputEvent, KeyEvent, MotionEvent};
4140

4241
// The only time it's safe to update the android_app->savedState pointer is

0 commit comments

Comments
 (0)