|
| | sprite_plane () |
| |
| | sprite_plane (i_widget &aParent) |
| |
| | sprite_plane (i_layout &aLayout) |
| |
| | ~sprite_plane () |
| |
| virtual neogfx::logical_coordinate_system | logical_coordinate_system () const |
| |
| virtual void | paint (graphics_context &aGraphicsContext) const |
| |
| virtual void | mouse_button_pressed (mouse_button aButton, const point &aPosition, key_modifiers_e aKeyModifiers) |
| |
| virtual const i_widget & | as_widget () const |
| |
| virtual i_widget & | as_widget () |
| |
| bool | dynamic_update_enabled () const |
| |
| void | enable_dynamic_update (bool aEnableDynamicUpdate) |
| |
| void | enable_z_sorting (bool aEnableZSorting) |
| |
| void | add_sprite (i_sprite &aObject) |
| |
| void | add_sprite (std::shared_ptr< i_sprite > aObject) |
| |
| void | add_physical_object (i_physical_object &aObject) |
| |
| void | add_physical_object (std::shared_ptr< i_physical_object > aObject) |
| |
| void | add_shape (i_shape &aObject) |
| |
| void | add_shape (std::shared_ptr< i_shape > aObject) |
| |
| i_sprite & | create_sprite () |
| |
| i_sprite & | create_sprite (const i_texture &aTexture) |
| |
| i_sprite & | create_sprite (const i_image &aImage) |
| |
| i_sprite & | create_sprite (const i_texture &aTexture, const rect &aTextureRect) |
| |
| i_sprite & | create_sprite (const i_image &aImage, const rect &aTextureRect) |
| |
| scalar | gravitational_constant () const |
| |
| void | set_gravitational_constant (scalar aG) |
| |
| const optional_vec3 & | uniform_gravity () const |
| |
| void | set_uniform_gravity (const optional_vec3 &aUniformGravity=vec3{ 0.0, -9.80665, 0.0}) |
| |
| i_physical_object & | create_earth () |
| | adds gravity by simulating the earth, groundlevel at y = 0; More...
|
| |
| i_physical_object & | create_physical_object () |
| |
| const optional_step_time_interval & | physics_time () const |
| |
| void | set_physics_time (const optional_step_time_interval &aTime) |
| |
| step_time_interval | physics_step_interval () const |
| |
| void | set_physics_step_interval (step_time_interval aStepInterval) |
| |
| void | reserve (std::size_t aCapacity) |
| |
| const object_list & | objects () const |
| |
| void | add_object (std::shared_ptr< i_game_object > aObject) |
| |
| bool | is_collision_tree_2d () const |
| |
| bool | is_collision_tree_3d () const |
| |
| const broad_phase_collision_tree_2d & | collision_tree_2d () const |
| |
| broad_phase_collision_tree_2d & | collision_tree_2d () |
| |
| const broad_phase_collision_tree_3d & | collision_tree_3d () const |
| |
| broad_phase_collision_tree_3d & | collision_tree_3d () |
| |
| double | update_time () const |
| |
| | widget () |
| |
| | widget (const widget &)=delete |
| |
| | widget (i_widget &aParent) |
| |
| | widget (i_layout &aLayout) |
| |
| | ~widget () |
| |
| void | property_changed (i_property &aProperty) override |
| |
| bool | is_singular () const override |
| |
| void | set_singular (bool aSingular) override |
| |
| bool | is_root () const override |
| |
| bool | has_root () const override |
| |
| const i_window & | root () const override |
| |
| i_window & | root () override |
| |
| bool | has_parent (bool aSameSurface=true) const override |
| |
| const i_widget & | parent () const override |
| |
| i_widget & | parent () override |
| |
| void | set_parent (i_widget &aParent) override |
| |
| void | parent_changed () override |
| |
| const i_widget & | ultimate_ancestor (bool aSameSurface=true) const override |
| |
| i_widget & | ultimate_ancestor (bool aSameSurface=true) override |
| |
| bool | is_ancestor_of (const i_widget &aWidget, bool aSameSurface=true) const override |
| |
| bool | is_descendent_of (const i_widget &aWidget, bool aSameSurface=true) const override |
| |
| bool | is_sibling_of (const i_widget &aWidget) const override |
| |
| bool | adding_child () const override |
| |
| i_widget & | add (i_widget &aChild) override |
| |
| i_widget & | add (std::shared_ptr< i_widget > aChild) override |
| |
| std::shared_ptr< i_widget > | remove (i_widget &aChild, bool aSingular=false) override |
| |
| void | remove_all () override |
| |
| bool | has_children () const override |
| |
| const widget_list & | children () const override |
| |
| widget_list::const_iterator | last () const override |
| |
| widget_list::iterator | last () override |
| |
| widget_list::const_iterator | find (const i_widget &aChild, bool aThrowIfNotFound=true) const override |
| |
| widget_list::iterator | find (const i_widget &aChild, bool aThrowIfNotFound=true) override |
| |
| const i_widget & | before () const override |
| |
| i_widget & | before () override |
| |
| const i_widget & | after () const override |
| |
| i_widget & | after () override |
| |
| void | link_before (i_widget *aPreviousWidget) override |
| |
| void | link_after (i_widget *aNextWidget) override |
| |
| void | unlink () override |
| |
| bool | has_surface () const override |
| |
| const i_surface & | surface () const override |
| |
| i_surface & | surface () override |
| |
| bool | is_surface () const override |
| |
| bool | has_layout () const override |
| |
| void | set_layout (i_layout &aLayout, bool aMoveExistingItems=true) override |
| |
| void | set_layout (std::shared_ptr< i_layout > aLayout, bool aMoveExistingItems=true) override |
| |
| const i_layout & | layout () const override |
| |
| i_layout & | layout () override |
| |
| bool | can_defer_layout () const override |
| |
| bool | has_managing_layout () const override |
| |
| const i_widget & | managing_layout () const override |
| |
| i_widget & | managing_layout () override |
| |
| bool | is_managing_layout () const override |
| |
| void | layout_items (bool aDefer=false) override |
| |
| void | layout_items_started () override |
| |
| bool | layout_items_in_progress () const override |
| |
| void | layout_items_completed () override |
| |
| bool | high_dpi () const override |
| |
| dimension | dpi_scale_factor () const override |
| |
| bool | device_metrics_available () const override |
| |
| const i_device_metrics & | device_metrics () const override |
| |
| neogfx::units | units () const override |
| |
| neogfx::units | set_units (neogfx::units aUnits) const override |
| |
| point | position () const override |
| |
| void | set_position (const point &aPosition) override |
| |
| size | extents () const override |
| |
| void | set_extents (const size &aSize) override |
| |
| bool | has_size_policy () const override |
| |
| neogfx::size_policy | size_policy () const override |
| |
| void | set_size_policy (const optional_size_policy &aSizePolicy, bool aUpdateLayout=true) override |
| |
| bool | has_weight () const override |
| |
| size | weight () const override |
| |
| void | set_weight (const optional_size &aWeight, bool aUpdateLayout=true) override |
| |
| bool | has_minimum_size () const override |
| |
| size | minimum_size (const optional_size &aAvailableSpace=optional_size{}) const override |
| |
| void | set_minimum_size (const optional_size &aMinimumSize, bool aUpdateLayout=true) override |
| |
| bool | has_maximum_size () const override |
| |
| size | maximum_size (const optional_size &aAvailableSpace=optional_size{}) const override |
| |
| void | set_maximum_size (const optional_size &aMaximumSize, bool aUpdateLayout=true) override |
| |
| bool | has_margins () const override |
| |
| neogfx::margins | margins () const override |
| |
| void | set_margins (const optional_margins &aMargins, bool aUpdateLayout=true) override |
| |
| bool | is_widget () const override |
| |
| const i_widget & | as_widget () const override |
| |
| i_widget & | as_widget () override |
| |
| rect | non_client_rect () const override |
| |
| rect | client_rect (bool aIncludeMargins=true) const override |
| |
| bool | has_logical_coordinate_system () const override |
| |
| neogfx::logical_coordinate_system | logical_coordinate_system () const override |
| |
| void | set_logical_coordinate_system (const optional_logical_coordinate_system &aLogicalCoordinateSystem) override |
| |
| point | origin () const override |
| |
| void | move (const point &aPosition) override |
| |
| void | moved () override |
| |
| void | resize (const size &aSize) override |
| |
| void | resized () override |
| |
| const i_widget & | get_widget_at (const point &aPosition) const override |
| |
| i_widget & | get_widget_at (const point &aPosition) override |
| |
| widget_part | hit_test (const point &aPosition) const override |
| |
| bool | is_layout () const override |
| |
| const i_layout & | as_layout () const override |
| |
| i_layout & | as_layout () override |
| |
| bool | has_parent_layout () const override |
| |
| const i_layout & | parent_layout () const override |
| |
| i_layout & | parent_layout () override |
| |
| void | set_parent_layout (i_layout *aParentLayout) override |
| |
| bool | has_layout_owner () const override |
| |
| const i_widget & | layout_owner () const override |
| |
| i_widget & | layout_owner () override |
| |
| void | set_layout_owner (i_widget *aOwner) override |
| |
| bool | is_proxy () const override |
| |
| const i_layout_item_proxy & | layout_item_proxy () const override |
| |
| i_layout_item_proxy & | layout_item_proxy () override |
| |
| void | layout_as (const point &aPosition, const size &aSize) override |
| |
| void | update (bool aIncludeNonClient=false) override |
| |
| void | update (const rect &aUpdateRect) override |
| |
| bool | requires_update () const override |
| |
| rect | update_rect () const override |
| |
| rect | default_clip_rect (bool aIncludeNonClient=false) const override |
| |
| bool | ready_to_render () const override |
| |
| void | render (graphics_context &aGraphicsContext) const override |
| |
| bool | transparent_background () const override |
| |
| void | paint_non_client (graphics_context &aGraphicsContext) const override |
| |
| void | paint (graphics_context &aGraphicsContext) const override |
| |
| void | paint_non_client_after (graphics_context &aGraphicsContext) const override |
| |
| double | opacity () const override |
| |
| void | set_opacity (double aOpacity) override |
| |
| double | transparency () const override |
| |
| void | set_transparency (double aTransparency) override |
| |
| bool | has_foreground_colour () const override |
| |
| colour | foreground_colour () const override |
| |
| void | set_foreground_colour (const optional_colour &aForegroundColour=optional_colour{}) override |
| |
| bool | has_background_colour () const override |
| |
| colour | background_colour () const override |
| |
| void | set_background_colour (const optional_colour &aBackgroundColour=optional_colour{}) override |
| |
| colour | container_background_colour () const override |
| |
| bool | has_font () const override |
| |
| const neogfx::font & | font () const override |
| |
| void | set_font (const optional_font &aFont) override |
| |
| bool | visible () const override |
| |
| bool | effectively_visible () const override |
| |
| bool | hidden () const override |
| |
| bool | effectively_hidden () const override |
| |
| bool | show (bool aVisible) override |
| |
| bool | enabled () const override |
| |
| bool | effectively_enabled () const override |
| |
| bool | disabled () const override |
| |
| bool | effectively_disabled () const override |
| |
| bool | enable (bool aEnable) override |
| |
| bool | entered () const override |
| |
| bool | can_capture () const override |
| |
| bool | capturing () const override |
| |
| void | set_capture (capture_reason aReason=capture_reason::Other) override |
| |
| void | release_capture (capture_reason aReason=capture_reason::Other) override |
| |
| void | non_client_set_capture () override |
| |
| void | non_client_release_capture () override |
| |
| void | captured () override |
| |
| void | released () override |
| |
| neogfx::focus_policy | focus_policy () const override |
| |
| void | set_focus_policy (neogfx::focus_policy aFocusPolicy) override |
| |
| bool | has_focus () const override |
| |
| void | set_focus (focus_reason aFocusReason=focus_reason::Other) override |
| |
| void | release_focus () override |
| |
| void | focus_gained (focus_reason aFocusReason) override |
| |
| void | focus_lost (focus_reason aFocusReason) override |
| |
| bool | ignore_mouse_events () const override |
| |
| void | set_ignore_mouse_events (bool aIgnoreMouseEvents) override |
| |
| bool | ignore_non_client_mouse_events () const override |
| |
| void | set_ignore_non_client_mouse_events (bool aIgnoreNonClientMouseEvents) override |
| |
| bool | mouse_event_is_non_client () const override |
| |
| void | mouse_wheel_scrolled (mouse_wheel aWheel, delta aDelta) override |
| |
| void | mouse_button_pressed (mouse_button aButton, const point &aPosition, key_modifiers_e aKeyModifiers) override |
| |
| void | mouse_button_double_clicked (mouse_button aButton, const point &aPosition, key_modifiers_e aKeyModifiers) override |
| |
| void | mouse_button_released (mouse_button aButton, const point &aPosition) override |
| |
| void | mouse_moved (const point &aPosition) override |
| |
| void | mouse_entered (const point &aPosition) override |
| |
| void | mouse_left () override |
| |
| neogfx::mouse_cursor | mouse_cursor () const override |
| |
| bool | key_pressed (scan_code_e aScanCode, key_code_e aKeyCode, key_modifiers_e aKeyModifiers) override |
| |
| bool | key_released (scan_code_e aScanCode, key_code_e aKeyCode, key_modifiers_e aKeyModifiers) override |
| |
| bool | text_input (const std::string &aText) override |
| |
| bool | sys_text_input (const std::string &aText) override |
| |
| graphics_context | create_graphics_context () const override |
| |
| const i_widget & | widget_for_mouse_event (const point &aPosition, bool aForHitTest=false) const override |
| |
| i_widget & | widget_for_mouse_event (const point &aPosition, bool aForHitTest=false) override |
| |
| neolib::i_lifetime & | as_lifetime () override |
| |
| void | property_changed (i_property &) override |
| |
| const i_properties & | properties () const override |
| |
| i_properties & | properties () override |
| |
| virtual void | register_property (i_property &aProperty) |
| |
| virtual const property_map & | map () const |
| |
| virtual | ~i_widget () |
| |
| template<typename WidgetType , typename... Args> |
| WidgetType & | emplace (Args &&... args) |
| |
| bool | same_surface (const i_widget &aWidget) const |
| |
| point | to_window_coordinates (const point &aClientCoordinates) const |
| |
| rect | to_window_coordinates (const rect &aClientCoordinates) const |
| |
| point | to_client_coordinates (const point &aWindowCoordinates) const |
| |
| rect | to_client_coordinates (const rect &aWindowCoordinates) const |
| |
| bool | show () |
| |
| bool | hide () |
| |
| bool | enable () |
| |
| bool | disable () |
| |
| virtual | ~i_layout_item () |
| |
| void | set_size_policy (neogfx::size_policy::size_policy_e aSizePolicy, bool aUpdateLayout=true) |
| |
| void | set_size_policy (neogfx::size_policy::size_policy_e aSizePolicy, const size &aAspectRatio, bool aUpdateLayout=true) |
| |
| void | set_size_policy (neogfx::size_policy::size_policy_e aHorizontalSizePolicy, neogfx::size_policy::size_policy_e aVerticalSizePolicy, bool aUpdateLayout=true) |
| |
| void | set_size_policy (neogfx::size_policy::size_policy_e aHorizontalSizePolicy, neogfx::size_policy::size_policy_e aVerticalSizePolicy, const size &aAspectRatio, bool aUpdateLayout=true) |
| |
| void | set_fixed_size (const size &aSize, bool aUpdateLayout=true) |
| |
| void | set_minimum_width (dimension aWidth, bool aUpdateLayout=true) |
| |
| void | set_minimum_height (dimension aHeight, bool aUpdateLayout=true) |
| |
| void | set_maximum_width (dimension aWidth, bool aUpdateLayout=true) |
| |
| void | set_maximum_height (dimension aHeight, bool aUpdateLayout=true) |
| |
| dimension | dpi_scale (dimension aValue) const |
| |
| size | dpi_scale (const size &aSize) const |
| |
| point | dpi_scale (const point &aPoint) const |
| |
| margins | dpi_scale (const margins &aMargins) const |
| |
| template<typename T > |
| T && | dpi_select (T &&aLowDpiValue, T &&aHighDpiValue) const |
| |
| uint32_t | count () const |
| |
| std::string | name (uint32_t aIndex) const |
| |
| const i_property & | property (uint32_t aIndex) const |
| |
| i_property & | property (uint32_t aIndex) |
| |