summaryrefslogtreecommitdiff
path: root/sd/sdi
diff options
context:
space:
mode:
authorTomaž Vajngerl <quikee@gmail.com>2012-07-08 23:36:30 +0200
committerTomaž Vajngerl <quikee@gmail.com>2012-07-09 00:07:22 +0200
commit4d7581b9075d826feebfb095310c74627314a484 (patch)
tree7966b832c69de8c422880afc9e46a334125527d2 /sd/sdi
parent9a7e4eac50523df3f24008430340635d7b870328 (diff)
Compress Graphic functionallity added (currently only for Draw)
This is a initial commit of "Compress Graphics" functionallity. Compress Graphics is accesible via pop-up menu option to graphics objects. Currently this funtionallity is only available in Draw. When the menu option is triggered, a Compress Graphics modal dialog opens to define DPI, compression level and type of compression. When OK is clicked, the graphics in Draw is compressed and exchanged. The current implementation is not final as it needs handling in case when the graphics is croped. Additionally cropped areas could be removed when compressing, depending on a checkbox in the dialog. Special cases of graphics need to be checked too, and some tests would not hurt. Change-Id: I9ec1a71f6ff4364a49b2521e42d88c3ba224dd87
Diffstat (limited to 'sd/sdi')
-rw-r--r--sd/sdi/_drvwsh.sdi5
1 files changed, 5 insertions, 0 deletions
diff --git a/sd/sdi/_drvwsh.sdi b/sd/sdi/_drvwsh.sdi
index 7cb4c10ed0c9..4b09d0c9d29a 100644
--- a/sd/sdi/_drvwsh.sdi
+++ b/sd/sdi/_drvwsh.sdi
@@ -75,6 +75,11 @@ interface DrawView
ExecMethod = FuTemporary ;
StateMethod = GetMenuState ;
]
+ SID_COMPRESS_GRAPHIC
+ [
+ ExecMethod = FuTemporary ;
+ StateMethod = GetMenuState ;
+ ]
SID_CUT // ole : no, status : ?
[
ExecMethod = FuSupport ;