From 9d985d883b7abdbe31c17148955937a1912b6455 Mon Sep 17 00:00:00 2001 From: Aesylwinn Date: Wed, 2 Mar 2016 20:45:04 -0500 Subject: [PATCH] added grid icon --- apps/opencs/view/render/pagedworldspacewidget.cpp | 2 +- files/opencs/grid-view-small.png | Bin 0 -> 472 bytes files/opencs/grid-view.png | Bin 0 -> 210 bytes files/opencs/resources.qrc | 2 ++ 4 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 files/opencs/grid-view-small.png create mode 100644 files/opencs/grid-view.png diff --git a/apps/opencs/view/render/pagedworldspacewidget.cpp b/apps/opencs/view/render/pagedworldspacewidget.cpp index d71446d0b..60c5d1a23 100644 --- a/apps/opencs/view/render/pagedworldspacewidget.cpp +++ b/apps/opencs/view/render/pagedworldspacewidget.cpp @@ -564,7 +564,7 @@ CSVWidget::SceneToolToggle *CSVRender::PagedWorldspaceWidget::makeControlVisibil mControlElements->addButton (":placeholder", Mask_CellMarker, ":placeholder", "Cell marker"); mControlElements->addButton (":placeholder", Mask_CellArrow, ":placeholder", "Cell arrows"); - mControlElements->addButton (":placeholder", Mask_CellBorder, ":placeholder", "Cell border"); + mControlElements->addButton (":scenetoolbar/grid", Mask_CellBorder, ":scenetoolbar/grid-small", "Cell border"); mControlElements->setSelectionMask (0xffffffff); diff --git a/files/opencs/grid-view-small.png b/files/opencs/grid-view-small.png new file mode 100644 index 0000000000000000000000000000000000000000..6a874f21b0601285bdb1834f5362f74f97f8974e GIT binary patch literal 472 zcmV;}0Vn>6P)LD;)H7tqmU*2g2SKQ&-84189VR>Aez_PF; zke>;oev0!FXf^85q0xA&?ca| z21&wq%tFOrg8Z>M?PlcbimFjaOy@_OG-zA$9o2lIC1LTXD#)3{p+z6P&Hat~Qvmsn z1fK{H-gf$Lr%M!cTXEq{cdIUMAF(X@vr+evd|j~!yU!oEy8DS5l!rvRXoQW^-hX{J z)UM`sG(+9|AGbu!`|7T`>cB5*&%5}S+J&_4SRRtA{Ug8(yjFWjPA`7rbl%n-(?wf- zj@wSip0K0ZBROICc$%=V5vo2hs?=jAgCp@r@M O0000PcU;ZX% ze0bRW|ETJ6A+~cOZ2SkV&%DilyRKA!&he_(cW(bTbpqMaFZ9-FR)jD!keQLB%#t9! tiJK9~zR_y3QOyjbV%80AhCe(3jGNC{Y^xHSFbOEc;OXk;vd$@?2>|IcL5lzY literal 0 HcmV?d00001 diff --git a/files/opencs/resources.qrc b/files/opencs/resources.qrc index 1bcd3ab4f..973f414fb 100644 --- a/files/opencs/resources.qrc +++ b/files/opencs/resources.qrc @@ -80,6 +80,8 @@ flying eye.png orbit2.png scene-play.png + grid-view.png + grid-view-small.png scene-view-references.png scene-view-terrain.png scene-view-water.png