Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
81c00c9b
Kaydet (Commit)
81c00c9b
authored
Agu 15, 2017
tarafından
Pranav Kant
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
lokdialog: button press type debug info
Change-Id: I193e0ab82e998905b670f7de73daae784de3ef00
üst
a0f36b45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
gtv-lok-dialog.cxx
libreofficekit/qa/gtktiledviewer/gtv-lok-dialog.cxx
+17
-3
No files found.
libreofficekit/qa/gtktiledviewer/gtv-lok-dialog.cxx
Dosyayı görüntüle @
81c00c9b
...
...
@@ -113,7 +113,14 @@ gtv_lok_dialog_signal_button(GtkWidget* pDialogDrawingArea, GdkEventButton* pEve
GtvApplicationWindow
*
window
=
GTV_APPLICATION_WINDOW
(
gtk_window_get_transient_for
(
GTK_WINDOW
(
pDialog
)));
LibreOfficeKitDocument
*
pDocument
=
lok_doc_view_get_document
(
LOK_DOC_VIEW
(
window
->
lokdocview
));
g_info
(
"lok_dialog_signal_button: %d, %d (in twips: %d, %d)"
,
std
::
string
aEventType
=
"unknown"
;
if
(
pEvent
->
type
==
GDK_BUTTON_PRESS
)
aEventType
=
"BUTTON_PRESS"
;
else
if
(
pEvent
->
type
==
GDK_BUTTON_RELEASE
)
aEventType
=
"BUTTON_RELEASE"
;
g_info
(
"lok_dialog_signal_button (type: %s): %d, %d (in twips: %d, %d)"
,
aEventType
.
c_str
(),
(
int
)
pEvent
->
x
,
(
int
)
pEvent
->
y
,
(
int
)
pixelToTwip
(
pEvent
->
x
),
(
int
)
pixelToTwip
(
pEvent
->
y
));
...
...
@@ -197,7 +204,7 @@ gtv_lok_dialog_signal_motion(GtkWidget* pDialogDrawingArea, GdkEventButton* pEve
GtvApplicationWindow
*
window
=
GTV_APPLICATION_WINDOW
(
gtk_window_get_transient_for
(
GTK_WINDOW
(
pDialog
)));
LibreOfficeKitDocument
*
pDocument
=
lok_doc_view_get_document
(
LOK_DOC_VIEW
(
window
->
lokdocview
));
g_info
(
"lok_dialog_signal_
butt
on: %d, %d (in twips: %d, %d)"
,
g_info
(
"lok_dialog_signal_
moti
on: %d, %d (in twips: %d, %d)"
,
(
int
)
pEvent
->
x
,
(
int
)
pEvent
->
y
,
(
int
)
pixelToTwip
(
pEvent
->
x
),
(
int
)
pixelToTwip
(
pEvent
->
y
));
...
...
@@ -478,7 +485,14 @@ gtv_lok_dialog_floating_win_signal_button(GtkWidget* /*pDialogChildDrawingArea*/
GtvApplicationWindow
*
window
=
GTV_APPLICATION_WINDOW
(
gtk_window_get_transient_for
(
GTK_WINDOW
(
pDialog
)));
LibreOfficeKitDocument
*
pDocument
=
lok_doc_view_get_document
(
LOK_DOC_VIEW
(
window
->
lokdocview
));
g_info
(
"lok_dialog_floating_win_signal_button: %d, %d (in twips: %d, %d)"
,
std
::
string
aEventType
=
"unknown"
;
if
(
pEvent
->
type
==
GDK_BUTTON_PRESS
)
aEventType
=
"BUTTON_PRESS"
;
else
if
(
pEvent
->
type
==
GDK_BUTTON_RELEASE
)
aEventType
=
"BUTTON_RELEASE"
;
g_info
(
"lok_dialog_floating_win_signal_button (type: %s): %d, %d (in twips: %d, %d)"
,
aEventType
.
c_str
(),
(
int
)
pEvent
->
x
,
(
int
)
pEvent
->
y
,
(
int
)
pixelToTwip
(
pEvent
->
x
),
(
int
)
pixelToTwip
(
pEvent
->
y
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment