From: Ning Tang
The origin method is to create a surface every time paint background
and destroy it. But load_cairo_surface(1) and cairo_surface_destroy(1)
will cause memory leak. Since sliding effect will cause background to
be drawn many times, use this workaround to avoid out of memory.
From: Ning Tang
It is no requirement to use lockscreen. So remove it totally now.
Signed-off-by: Ning Tang
---
clients/tablet-shell.c| 95 +--
protocol/tablet-shell.xml | 5 ---
src/tablet-shell.c| 89 +++---
From: Ning Tang
Terminal is regarded as special application to tablet-shell. So use
ctrl+T to launch it.
The server will send an event to daemon, and it will launch terminal
according to the path in .ini file.
Signed-off-by: Ning Tang
---
clients/tablet-shell.c| 25 ++
From: Ning Tang
Send kill signal to client in order to exit. After the client ends, the
surface below it would get focus.
Signed-off-by: Ning Tang
---
src/tablet-shell.c | 73 ++
1 file changed, 73 insertions(+)
diff --git a/src/tablet-she
From: Ning Tang
When a client is binded, the server side will send an event to let the
client set fullscreen.
If the client don't response, it will remain centered.
Signed-off-by: Ning Tang
---
protocol/tablet-shell.xml | 2 ++
src/tablet-shell.c| 90
From: Ning Tang
Since now toytoolkit and simple programs use shell_surface to show on
screen, we add it in tablet-shell to let them show.
But we only need serveral feature in tablet shell, the wl_shell is too
big and not suitable for tablet-shell.
And it is helpful to fill in the interface of w
From: Ning Tang
Left meta will cause mod key first recognized so mod + R is corrupted.
Now tablet-shell can use mod + R to record video.
Signed-off-by: Ning Tang
---
src/tablet-shell.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/tablet-shell.c b/src/tablet-shell.c
index f17d888.
From: Ning Tang
We could know how many layouts in total and our current layout.
Keyword in ini file is the path to indicator images, use the format of
1-f.png(focus) 1.png 2-f.png...
Signed-off-by: Ning Tang
---
clients/tablet-shell.c | 51 ++
From: Ning Tang
Determine whether to accpet the data by the allocation of trash area. If
the icon is in it, then drop event will delete either the icon image as
well as tag in ini file.
Signed-off-by: Ning Tang
---
clients/tablet-shell.c | 153
From: Ning Tang
Enable dragging launchers. Use the drag and drop mechanism, the
launcher's icon is provided as cursor image. Currently ignore all drop
events.
Signed-off-by: Ning Tang
---
clients/tablet-shell.c | 234 ++---
1 file changed, 223 inse
From: Ning Tang
Use frame callback to enable layout moving, so dragging layout
will cause layout's offset changes.
And redraw function will allocate corresponding positions to launchers.
The allocation of layout won't change until sliding ends.
Signed-off-by: Ning Tang
---
clients/tablet-she
From: Ning Tang
Launcher is totally depend on layout and add layout
redraw function to manage drawing launchers.
Signed-off-by: Ning Tang
---
clients/tablet-shell.c | 133 +
weston-tablet.ini | 3 ++
2 files changed, 94 insertions(+), 42
From: Ning Tang
It is a base for further operations on layout. Launchers are put in a
certain layout.
Signed-off-by: Ning Tang
---
clients/tablet-shell.c | 62 +++---
weston-tablet.ini | 3 ++-
2 files changed, 61 insertions(+), 4 deletions
From: Ning Tang
Signed-off-by: Ning Tang
---
weston-tablet.ini | 64 +++
1 file changed, 64 insertions(+)
create mode 100644 weston-tablet.ini
diff --git a/weston-tablet.ini b/weston-tablet.ini
new file mode 100644
index 000..9387bab
-
From: Ning Tang
Hi all,
We are working to make the tablet-shell workable and more stable to use.
We added sliding support and make client applications running on tablet-shell.
The last several week we refined the code and added serveral features such
as layout indicator. And we are still on
From: Ning Tang
Add trash-image for showing the trash image while dragging launchers.
[layout] means create a layout and launchers below it will be shown on it.
Default is one layout.
Signed-off-by: Li Chen
Signed-off-by: Yi Yuan
Signed-off-by: Ning Tang
---
weston.ini | 2 ++
1 file ch
From: Ning Tang
Show a trash image when dragging the launcher.
If launcher is upon trash, it will be translucent and release it
will cause the icon as well as tag in weston.ini be deleted.
Signed-off-by: Li Chen
Signed-off-by: Yi Yuan
Signed-off-by: Ning Tang
---
clients/tablet
From: Ning Tang
The determination is occurred in launcher motion function.
If the launcher is pressed some time, it will create the drag surface.
That launcher's icon would follow cursor.
Signed-off-by: Li Chen
Signed-off-by: Yi Yuan
Signed-off-by: Ning Tang
---
clients/tablet-
From: Ning Tang
Use frame callback to move layout and thus making layout move
at a speed. Also button and motion function will record the offset.
Signed-off-by: Li Chen
Signed-off-by: Yi Yuan
Signed-off-by: Ning Tang
---
clients/tablet-shell.c | 167 +
From: Ning Tang
Layout add redraw function to set allocation for launchers.
Signed-off-by: Li Chen
Signed-off-by: Yi Yuan
Signed-off-by: Ning Tang
---
clients/tablet-shell.c | 177 +++--
1 file changed, 141 insertions(+),
From: Ning Tang
Add a structure of layout which is between homescreen and launchers.
The configuration of layout is also included.
Signed-off-by: Li Chen
Signed-off-by: Yi Yuan
Signed-off-by: Ning Tang
---
clients/tablet-shell.c | 67
From: Ning Tang
Hi everyone,
We added the sliding layout effect like tablet shell.
The effect is similar to that on desktop shell.
This time we reuse the struct of launcher instead of creating shortcut.
Currently the launchers on homescreen can't move.
And we made them draggable and removable.
From: Ning Tang
This patch is based on Zhi Wen's patch.
Dragging the layout have an effect of switching between them.
Shortcuts are placed on layouts and can be activated as launcher.
They are also draggable and can be deleted.
The section name in weston.ini is "layout" and with no keys.
I
From: Wu, Zhiwen
The section name in weston.ini is "shortcut" and keys definition
are the same as launcher. The layout of shortcut is hardcoded for
implementation convenience. Since the concept of shortcut is almost
the same as panel_launcher, reused the panel_launcher code.
Signed-off-by: Wu Zh
24 matches
Mail list logo