Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Functions
fl_scrolling_view_delegate.h File Reference
#include <gdk/gdk.h>
#include <cinttypes>
#include <memory>
#include "flutter/shell/platform/embedder/embedder.h"
#include "flutter/shell/platform/linux/fl_key_event.h"
#include "flutter/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h"

Go to the source code of this file.

Classes

struct  _FlScrollingViewDelegateInterface
 

Functions

G_BEGIN_DECLS G_DECLARE_INTERFACE (FlScrollingViewDelegate, fl_scrolling_view_delegate, FL, SCROLLING_VIEW_DELEGATE, GObject)
 
void fl_scrolling_view_delegate_send_mouse_pointer_event (FlScrollingViewDelegate *delegate, FlutterPointerPhase phase, size_t timestamp, double x, double y, double scroll_delta_x, double scroll_delta_y, int64_t buttons)
 
void fl_scrolling_view_delegate_send_pointer_pan_zoom_event (FlScrollingViewDelegate *delegate, size_t timestamp, double x, double y, FlutterPointerPhase phase, double pan_x, double pan_y, double scale, double rotation)
 

Function Documentation

◆ fl_scrolling_view_delegate_send_mouse_pointer_event()

void fl_scrolling_view_delegate_send_mouse_pointer_event ( FlScrollingViewDelegate *  delegate,
FlutterPointerPhase  phase,
size_t  timestamp,
double  x,
double  y,
double  scroll_delta_x,
double  scroll_delta_y,
int64_t  buttons 
)

Definition at line 14 of file fl_scrolling_view_delegate.cc.

22 {
23 g_return_if_fail(FL_IS_SCROLLING_VIEW_DELEGATE(self));
24
25 FL_SCROLLING_VIEW_DELEGATE_GET_IFACE(self)->send_mouse_pointer_event(
26 self, phase, timestamp, x, y, scroll_delta_x, scroll_delta_y, buttons);
27}
double y
double x

◆ fl_scrolling_view_delegate_send_pointer_pan_zoom_event()

void fl_scrolling_view_delegate_send_pointer_pan_zoom_event ( FlScrollingViewDelegate *  delegate,
size_t  timestamp,
double  x,
double  y,
FlutterPointerPhase  phase,
double  pan_x,
double  pan_y,
double  scale,
double  rotation 
)

Definition at line 28 of file fl_scrolling_view_delegate.cc.

37 {
38 g_return_if_fail(FL_IS_SCROLLING_VIEW_DELEGATE(self));
39
40 FL_SCROLLING_VIEW_DELEGATE_GET_IFACE(self)->send_pointer_pan_zoom_event(
41 self, timestamp, x, y, phase, pan_x, pan_y, scale, rotation);
42}
const Scalar scale

◆ G_DECLARE_INTERFACE()

G_BEGIN_DECLS G_DECLARE_INTERFACE ( FlScrollingViewDelegate  ,
fl_scrolling_view_delegate  ,
FL  ,
SCROLLING_VIEW_DELEGATE  ,
GObject   
)