diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Screen.cc | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index c8a2344..dc84046 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Screen.cc,v 1.190 2003/06/23 14:16:04 rathnor Exp $ | 25 | // $Id: Screen.cc,v 1.191 2003/06/23 14:33:43 fluxgen Exp $ |
26 | 26 | ||
27 | 27 | ||
28 | #include "Screen.hh" | 28 | #include "Screen.hh" |
@@ -2615,18 +2615,3 @@ void BScreen::setOnHead<Toolbar>(Toolbar &tbar, int head) { | |||
2615 | // saveToolbarOnHead(head); | 2615 | // saveToolbarOnHead(head); |
2616 | tbar.reconfigure(); | 2616 | tbar.reconfigure(); |
2617 | } | 2617 | } |
2618 | |||
2619 | // TODO: when toolbar gets its resources moved into Toolbar.hh/cc, then | ||
2620 | // this can be gone and a consistent interface for the two used | ||
2621 | // on the actual objects | ||
2622 | template <> | ||
2623 | int BScreen::getOnHead<Slit>(Slit &slit) { | ||
2624 | return slit.getOnHead(); | ||
2625 | } | ||
2626 | |||
2627 | template <> | ||
2628 | void BScreen::setOnHead<Slit>(Slit &slit, int head) { | ||
2629 | slit.saveOnHead(head); | ||
2630 | slit.reconfigure(); | ||
2631 | } | ||
2632 | |||