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
e032b644
Kaydet (Commit)
e032b644
authored
Tem 22, 2015
tarafından
Pranav Kant
Kaydeden (comit)
Miklos Vajna
Tem 28, 2015
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
lokdocview, tilebuffer: Add DOxygen comments
Change-Id: I27377f0a758729a7877cfc6a56ea1b4bb3d1c3c9
üst
4edbf5a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
lokdocview.cxx
libreofficekit/source/gtk/lokdocview.cxx
+12
-0
tilebuffer.hxx
libreofficekit/source/gtk/tilebuffer.hxx
+5
-0
No files found.
libreofficekit/source/gtk/lokdocview.cxx
Dosyayı görüntüle @
e032b644
...
...
@@ -36,6 +36,7 @@
// Number of handles around a graphic selection.
#define GRAPHIC_HANDLE_COUNT 8
/// Private struct used by this GObject type
struct
_LOKDocViewPrivate
{
gchar
*
m_aLOPath
;
...
...
@@ -162,6 +163,7 @@ G_DEFINE_TYPE_WITH_CODE (LOKDocView, lok_doc_view, GTK_TYPE_DRAWING_AREA,
static
GThreadPool
*
lokThreadPool
;
/// Helper struct used to pass the data from soffice thread -> main thread.
struct
CallbackData
{
int
m_nType
;
...
...
@@ -174,8 +176,16 @@ struct CallbackData
m_pDocView
(
pDocView
)
{}
};
/**
A struct that we use to store the data about the LOK call.
Object of this type is passed with all the LOK calls,
so that they can be idenitified. Additionally, it also contains
the data that LOK call needs.
*/
struct
LOEvent
{
/// To identify the type of LOK call
int
m_nType
;
const
gchar
*
m_pCommand
;
const
gchar
*
m_pArguments
;
...
...
@@ -187,6 +197,8 @@ struct LOEvent
int
m_nCharCode
;
int
m_nKeyCode
;
/// Constructor to easily instantiate an object for LOK call of `type' type.
LOEvent
(
int
type
)
:
m_nType
(
type
)
{}
...
...
libreofficekit/source/gtk/tilebuffer.hxx
Dosyayı görüntüle @
e032b644
...
...
@@ -131,6 +131,11 @@ class TileBuffer
Tile
m_DummyTile
;
};
/**
Helper struct used to pass the data from main thread to spawned threads.
Spawned threads are responsible for calling paintTile, and store the result
in tile buffer.
*/
struct
GetTileCallbackData
{
int
m_nX
;
...
...
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