Struct oxygengine_user_interface::resource::UserInterfaceRes [−][src]
pub struct UserInterfaceRes {Show fields
pub pointer_axis_x: String,
pub pointer_axis_y: String,
pub pointer_action_trigger: String,
pub pointer_context_trigger: String,
pub navigate_accept: String,
pub navigate_cancel: String,
pub navigate_up: String,
pub navigate_down: String,
pub navigate_left: String,
pub navigate_right: String,
pub navigate_prev: String,
pub navigate_next: String,
pub text_move_cursor_left: String,
pub text_move_cursor_right: String,
pub text_move_cursor_start: String,
pub text_move_cursor_end: String,
pub text_delete_left: String,
pub text_delete_right: String,
// some fields omitted
}Fields
pointer_axis_x: Stringpointer_axis_y: Stringpointer_action_trigger: Stringpointer_context_trigger: Stringtext_move_cursor_left: Stringtext_move_cursor_right: Stringtext_move_cursor_start: Stringtext_move_cursor_end: Stringtext_delete_left: Stringtext_delete_right: StringImplementations
impl UserInterfaceRes[src]
impl UserInterfaceRes[src]pub fn new(f: fn(_: &mut Application)) -> Self[src]
pub fn last_frame_captured(&self) -> bool[src]
pub fn with_pointer_axis(self, x: &str, y: &str) -> Self[src]
pub fn with_pointer_trigger(self, action: &str, context: &str) -> Self[src]
pub fn with_navigation_actions(self, accept: &str, cancel: &str) -> Self[src]
pub fn with_navigation_directions(
self,
up: &str,
down: &str,
left: &str,
right: &str
) -> Self[src]
self,
up: &str,
down: &str,
left: &str,
right: &str
) -> Self
pub fn with_navigation_tabs(self, prev: &str, next: &str) -> Self[src]
pub fn with_text_move_cursor(
self,
left: &str,
right: &str,
start: &str,
end: &str
) -> Self[src]
self,
left: &str,
right: &str,
start: &str,
end: &str
) -> Self
pub fn with_text_delete(self, left: &str, right: &str) -> Self[src]
pub fn get(&self, app_id: &str) -> Option<&ApplicationData>[src]
pub fn get_mut(&mut self, app_id: &str) -> Option<&mut ApplicationData>[src]
pub fn application(&self, app_id: &str) -> Option<&Application>[src]
pub fn application_mut(&mut self, app_id: &str) -> Option<&mut Application>[src]
pub fn interactions(&self, app_id: &str) -> Option<&DefaultInteractionsEngine>[src]
pub fn interactions_mut(
&mut self,
app_id: &str
) -> Option<&mut DefaultInteractionsEngine>[src]
&mut self,
app_id: &str
) -> Option<&mut DefaultInteractionsEngine>
pub fn coords_mapping(&self, app_id: &str) -> Option<&CoordsMapping>[src]
pub fn coords_mapping_mut(&mut self, app_id: &str) -> Option<&mut CoordsMapping>[src]
pub fn has_layout_widget(&self, app_id: &str, id: &str) -> bool[src]
Trait Implementations
impl Default for UserInterfaceRes[src]
impl Default for UserInterfaceRes[src]fn default() -> UserInterfaceRes[src]
Auto Trait Implementations
impl !RefUnwindSafe for UserInterfaceRes
impl !RefUnwindSafe for UserInterfaceResimpl Send for UserInterfaceRes
impl Send for UserInterfaceResimpl Sync for UserInterfaceRes
impl Sync for UserInterfaceResimpl Unpin for UserInterfaceRes
impl Unpin for UserInterfaceResimpl !UnwindSafe for UserInterfaceRes
impl !UnwindSafe for UserInterfaceResBlanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any, pub fn get_type_id(&self) -> TypeId
impl<T> TryDefault for T where
T: Default,
impl<T> TryDefault for T where
T: Default,