mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-11 04:32:30 +00:00
Renamed display::Manager to display::Layers.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@236 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -3,7 +3,7 @@ noinst_LIBRARIES = libsub_display.a
|
||||
libsub_display_a_SOURCES = \
|
||||
canvas.cc \
|
||||
canvas.h \
|
||||
manager.cc \
|
||||
manager.h
|
||||
layers.cc \
|
||||
layers.h
|
||||
|
||||
INCLUDES = -I$(srcdir) -I$(srcdir)/.. -I$(top_srcdir)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "config.h"
|
||||
|
||||
#include "manager.h"
|
||||
#include "layers.h"
|
||||
#include "canvas.h"
|
||||
|
||||
#include <functional>
|
||||
@@ -9,7 +9,7 @@
|
||||
namespace display {
|
||||
|
||||
void
|
||||
Manager::do_update() {
|
||||
Layers::do_update() {
|
||||
std::for_each(rbegin(), rend(), std::mem_fun(&Canvas::refresh));
|
||||
|
||||
Canvas::do_update();
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef RTORRENT_DISPLAY_MANAGER_H
|
||||
#define RTORRENT_DISPLAY_MANAGER_H
|
||||
#ifndef RTORRENT_DISPLAY_LAYERS_H
|
||||
#define RTORRENT_DISPLAY_LAYERS_H
|
||||
|
||||
#include <list>
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace display {
|
||||
|
||||
class Canvas;
|
||||
|
||||
class Manager : private std::list<Canvas*> {
|
||||
class Layers : private std::list<Canvas*> {
|
||||
public:
|
||||
typedef std::list<Canvas*> Base;
|
||||
|
||||
Reference in New Issue
Block a user