diff options
| author | oy <Tom_Adams@web.de> | 2011-08-04 23:51:54 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-08-05 19:52:39 +0200 |
| commit | f1ea039df7b625c28073f46239b64854c480c1dc (patch) | |
| tree | 70e35c856972cd8e324f98bc9a8ae1673404ba32 /src | |
| parent | 2b2ddde04f3d61b09129f944387279906c73f6a4 (diff) | |
| download | zcatch-f1ea039df7b625c28073f46239b64854c480c1dc.tar.gz zcatch-f1ea039df7b625c28073f46239b64854c480c1dc.zip | |
added separator in image menu. Closes #785
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/editor/editor.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/editor/editor.cpp b/src/game/editor/editor.cpp index 4dfda743..40948d82 100644 --- a/src/game/editor/editor.cpp +++ b/src/game/editor/editor.cpp @@ -2426,6 +2426,15 @@ void CEditor::RenderImages(CUIRect ToolBox, CUIRect ToolBar, CUIRect View) } } + + // separator + ToolBox.HSplitTop(5.0f, &Slot, &ToolBox); + ImageCur += 5.0f; + IGraphics::CLineItem LineItem(Slot.x, Slot.y+Slot.h/2, Slot.x+Slot.w, Slot.y+Slot.h/2); + Graphics()->TextureSet(-1); + Graphics()->LinesBegin(); + Graphics()->LinesDraw(&LineItem, 1); + Graphics()->LinesEnd(); } if(ImageCur + 27.0f > ImageStopAt) |