Caolán McNamara
6f019bea96
coverity#1213254 Out-of-bounds read
...
surely this was the intent
Change-Id: I78002adebf78674259e6c63e0e3449882accdb5d
2014-05-15 10:21:26 +01:00
Miklos Vajna
2cd7cbd9e3
no matching function for call to 'scale(const float&, const float&, int)'
...
Change-Id: Ia748133cb3bda9d81db8850b7c76ad1a43a5c42e
2014-05-15 08:06:00 +02:00
Markus Mohrhard
fd37d07576
change transformation matrix
2014-05-15 07:33:49 +02:00
Kohei Yoshida
9a73719c39
Try to zoom into a bar when clicked. For now we hardcode the object ID of 1.
...
Just for testing.
Change-Id: Ifec15ae0beb0a3c863085e9d43bdebd7bcce4027
2014-05-14 09:37:08 -04:00
Stephan Bergmann
5588d66825
loplugin:passstringbyref
...
Change-Id: I0e97ab6ed479ba4057470946d45a0e8cda29470e
2014-05-14 14:30:47 +02:00
Noel Grandin
248145f99e
Find places where uno::Sequence is passed by value.
...
Implement a clang plugin to find them, and clean up existing code
to pass them by reference.
Change-Id: If642d87407c73346d9c0164b9fc77c5c3c4354b8
Reviewed-on: https://gerrit.libreoffice.org/9351
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-14 08:10:22 +00:00
Markus Mohrhard
876a54067c
a better place to show the window
...
Now the first repaint will already draw on the window and we never see
the grey background.
Change-Id: Ibf44a77b5768979f9081b4f80f6f0a73e5023437
2014-05-13 05:39:09 +02:00
Markus Mohrhard
15e2c82acb
restore correct repaint after changed value in 3D chart
...
Change-Id: Ied1904a56b8d526288a89fd8df0bed639cd317d0
2014-05-13 05:29:23 +02:00
Markus Mohrhard
9fbafe9fe8
rerender after redrawing of the window
...
Change-Id: Ia967ba08a9bd0499ae5fb0865492783834204963
2014-05-13 05:29:23 +02:00
Kohei Yoshida
36122c2753
Replace auto_ptr with boost::scoped_ptr.
...
Change-Id: Ibc6d532eff59146d8fbe7dcc7f9155ce6119f474
2014-05-12 19:59:57 -04:00
weigao
21162eab55
some fixes for positioning problems
...
Change-Id: I4e970837ebe6867458e4a75c7cc323f8f6b3ecc8
2014-05-12 22:43:04 +02:00
Kohei Yoshida
ef69c15bb9
Have ChartView keep the instance of GL3D chart object between rendering.
...
Change-Id: I49419d20bf283fba1c31d8516972b0ca7fddcb5b
2014-05-12 13:47:32 -04:00
Tor Lillqvist
d1516d488c
WaE: private field 'm_bOwnershipIsWellKnown' is not used
...
Change-Id: Ic4b784cb26f9127fe549f3866cbe53f0d0be0a78
2014-05-12 12:14:03 +03:00
Caolán McNamara
4cbfbf4597
m_bOwnershipIsWellKnown is unused
...
Change-Id: I4dee9c4ce674249fca590e1c6d86685ed86da885
2014-05-12 09:46:36 +01:00
Markus Mohrhard
30d6bf6f25
volatile does not make any sense here
...
Change-Id: I895f6d04bbd5bd1829ec72b2051e640cbc153b26
2014-05-12 09:03:00 +02:00
Markus Mohrhard
1ddc1744c5
use black as text color
...
Change-Id: I109ef0217f3dbe13691e6be60a0a5e2c89280e45
2014-05-12 05:23:49 +02:00
Markus Mohrhard
a0842e53b9
more sal_Int32 to sal_uInt32 and simplification
...
Change-Id: I061fdc9e0743715d1b358a16d72486cfb62a35aa
2014-05-12 05:22:52 +02:00
Markus Mohrhard
da3da4628a
usa sal_uInt32 instead of sal_Int32
...
Change-Id: I54db41f48d1f181d1c78c1051f094887a0bc7a8a
2014-05-12 05:05:15 +02:00
Markus Mohrhard
46351c13e9
Revert "separate rounded corner bar and normal bar rendering"
...
This reverts commit 51d5062642189ff5a4330903253c012e83e5ef1f.
Conflicts:
chart2/source/view/main/GL3DRenderer.cxx
Change-Id: Id21e59d2cc605f0d7d637fb889725f0e91fa6cb3
2014-05-12 03:00:10 +02:00
Markus Mohrhard
2124f55b53
Revert "fix alpha calculation"
...
This reverts commit 204efb6a1723f98ff53a61ed249dbff8cb391bb3.
Change-Id: I1756c399adbf0dd3371e8aab1d8021931203c49e
2014-05-12 03:00:10 +02:00
Markus Mohrhard
5b7dfb07e3
move glm operator<< for debugging to OpenGLHelper
...
Change-Id: Ia529badffe08507d593f494230d2e504b68ff477
2014-05-12 03:00:10 +02:00
Markus Mohrhard
ca4c75ae7c
fix alpha calculation
...
Change-Id: Ic0734ef9a079196d9a0a523dac7726937ed2155f
2014-05-12 03:00:10 +02:00
Markus Mohrhard
5cad8bbc99
a few debug statements and cosmetic clean-up
...
Change-Id: I78cc73cc792f1182abcac0b81e97b948206a11d8
2014-05-12 03:00:10 +02:00
Markus Mohrhard
bc9d2f80c3
a few changes to camera position and bar positioning
...
Change-Id: I256e6855735bea050507c894f91ed895da0e13ba
2014-05-12 03:00:09 +02:00
Markus Mohrhard
5c799db571
separate rounded corner bar and normal bar rendering
...
This makes it much easier to debug problems.
Change-Id: I0ba10f6d24cca54be724639074bfd3fac59d37e5
2014-05-12 03:00:09 +02:00
Markus Mohrhard
906672eb43
this does not need to be a member variable
...
Change-Id: I9be286f8e10d43c8c5ce89bb6b52ebddce48bb6b
2014-05-12 03:00:09 +02:00
Markus Mohrhard
3b367b5453
remove unused methods
...
Change-Id: Id518c6a253f72cf062754fe6ff65c5041e41cc27
2014-05-12 03:00:09 +02:00
Markus Mohrhard
df640feea6
remove unused variables
...
Change-Id: Ia2dfa357d0fb7c2a19511ec0957deac38b85c09f
2014-05-12 03:00:09 +02:00
Markus Mohrhard
e799cd81b8
better colors for now
...
Change-Id: I0d236d48d02faf65da2dfc9d3ce8fbdc1ad759ef
2014-05-12 03:00:09 +02:00
Markus Mohrhard
2b5590f2c8
use rounded corners by default
...
Change-Id: Id8cd44f98319c2064d10dcbcb1009a8a29fef484
2014-05-12 03:00:08 +02:00
Markus Mohrhard
fae9fa2bef
better camera position
...
Change-Id: I63c7751c273b8ae46c4990561cf5a7084157121a
2014-05-12 03:00:08 +02:00
Markus Mohrhard
db9c2f0d06
whitespace cleanup
...
Change-Id: Ib971ed2055974f6f11a69a81c28035c84c29b504
2014-05-12 03:00:08 +02:00
Markus Mohrhard
383dccc094
enable MSAA
...
Change-Id: I38c29c2fd9ddbf6fc42fd1d94f9e34c561aab76d
2014-05-12 03:00:08 +02:00
Markus Mohrhard
87e10bc6d1
no need to call clear before destryozing a vector
...
Change-Id: Ic5013c100520e8949d687ce6b34b83405bdfaf0a
2014-05-12 03:00:08 +02:00
Markus Mohrhard
ed506c3763
remove unused variable
...
Change-Id: Ic6455f080fae211d7919d9f6ea35cdbda3ca3757
2014-05-12 03:00:07 +02:00
Markus Mohrhard
be7fd499ca
remove unneccessary flag
...
Change-Id: I88c7abe0fa428ea6d9b396e77b510088eda09289
2014-05-12 03:00:07 +02:00
Markus Mohrhard
1b10b86f5b
remove unimplemented methods from class
...
Change-Id: Ib050c0c0c699964cad91b184fcc4b3387b171235
2014-05-12 03:00:07 +02:00
Markus Mohrhard
5e45479412
remove unused pickingFlg
...
Change-Id: I27b4559a5d2f4a003d31be9cce4d74dfb7b5326c
2014-05-12 03:00:07 +02:00
Markus Mohrhard
a29e1c5cfd
remove unused methods
...
Change-Id: Id9e35e171d4235d863a09f6d1d8083d7dbab59c6
2014-05-12 03:00:07 +02:00
Markus Mohrhard
3729f6ca6a
remove scene box that should not be in the renderer
...
Change-Id: I3ec69042782aaac2fa2b583dd5a667b91dcdbb88
2014-05-12 03:00:06 +02:00
Markus Mohrhard
c4a490eb0b
no framebuffer support needed anymore
...
Change-Id: I5e6830bbd87eb9465aeb87d7e5074c9192caa47e
2014-05-12 03:00:06 +02:00
Markus Mohrhard
b53e1acde5
keep camera calculations out of the rendering code
...
Change-Id: I7a26ce1881958a7465692174dd8ea793b593efad
2014-05-12 03:00:06 +02:00
Markus Mohrhard
28e7d53826
add some debug code
...
Change-Id: I279e25f902e4bd8d19d61ddd6b9c290a120a39a9
2014-05-12 03:00:06 +02:00
Markus Mohrhard
9ec2a09c00
fix camera position
...
Change-Id: Ie3acc0a82e86fe7fbc565783ac09c2f9b6721fbf
2014-05-12 03:00:06 +02:00
Markus Mohrhard
4a833ab441
fix bar positioning
...
Change-Id: I91bcaaef42df82495d06d46a85c115396720e247
2014-05-12 03:00:06 +02:00
Markus Mohrhard
01e04598ce
remove printf statements
...
Change-Id: I82de8e5e3c028103f1d2b006124593293f9fe365
2014-05-12 03:00:05 +02:00
Markus Mohrhard
df7cef1c38
give each series an own color
...
Change-Id: Ia74eda050349d34d23e07b8e700aaae97e43d903
2014-05-12 03:00:05 +02:00
Markus Mohrhard
27340aeb19
we need to call OpenGL3DRenderer::init
...
Change-Id: I9bcdc7d033835bf3cdb6f9d4770aaee284f7eaf7
2014-05-12 03:00:05 +02:00
Markus Mohrhard
57c681d8ee
change the color of the bars as the ackground is blue as well
...
Change-Id: Ib16ef3548368e5b07dd9411a4515d5e6abe3acaf
2014-05-12 03:00:05 +02:00
Markus Mohrhard
c5e34d2dcb
remove more unnecessary typedefs
...
Change-Id: I62968f11220da31febdbdff2d057607696ea6271
2014-05-12 03:00:04 +02:00