~openmw/openmw/openmw-packaging2

« back to all changes in this revision

Viewing changes to apps/opencs/view/render/cellarrow.cpp

  • Committer: Scott Howard
  • Date: 2016-09-15 20:56:29 UTC
  • Revision ID: showard@debian.org-20160915205629-3tvfxe47zrb41a91
Cron update. Git hash: 37278b5

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#include <osg/Geometry>
8
8
#include <osg/PrimitiveSet>
9
9
 
 
10
#include "../../model/prefs/state.hpp"
 
11
#include "../../model/prefs/shortcutmanager.hpp"
 
12
 
10
13
#include "mask.hpp"
11
14
 
12
15
CSVRender::CellArrowTag::CellArrowTag (CellArrow *arrow)
35
38
        text +=
36
39
            "<p>"
37
40
            "Modify which cells are shown"
38
 
            "<ul><li>Primary-Edit: Add cell in given direction</li>"
39
 
            "<li>Secondary-Edit: Add cell and remove old cell</li>"
40
 
            "<li>Shift Primary-Edit: Add cells in given direction</li>"
41
 
            "<li>Shift Secondary-Edit: Add cells and remove old cells</li>"
 
41
            "<ul><li>{scene-edit-primary}: Add cell in given direction</li>"
 
42
            "<li>{scene-edit-secondary}: Add cell and remove old cell</li>"
 
43
            "<li>{scene-select-primary}: Add cells in given direction</li>"
 
44
            "<li>{scene-select-secondary}: Add cells and remove old cells</li>"
 
45
            "<li>{scene-load-cam-cell}: Load cell where camera is located</li>"
 
46
            "<li>{scene-load-cam-eastcell}: Load cell to east</li>"
 
47
            "<li>{scene-load-cam-northcell}: Load cell to north</li>"
 
48
            "<li>{scene-load-cam-westcell}: Load cell to west</li>"
 
49
            "<li>{scene-load-cam-southcell}: Load cell to south</li>"
42
50
            "</ul>";
43
51
    }
44
52
 
45
 
    return text;
 
53
    return CSMPrefs::State::get().getShortcutManager().processToolTip(text);
46
54
}
47
55
 
48
56