ranger.colorschemes.snow
index
/home/hut/code/ranger/ranger/colorschemes/snow.py

# Copyright (C) 2009, 2010  Roman Zimbelmann <romanz@lavabit.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

 
Modules
       
curses

 
Classes
       
ranger.gui.colorscheme.ColorScheme(ranger.shared.settings.SettingsAware)
Snow

 
class Snow(ranger.gui.colorscheme.ColorScheme)
    
Method resolution order:
Snow
ranger.gui.colorscheme.ColorScheme
ranger.shared.settings.SettingsAware
builtins.object

Methods defined here:
use(self, context)

Methods inherited from ranger.gui.colorscheme.ColorScheme:
__init__(self)
get(self, *keys)
Returns the (fg, bg, attr) for the given keys.
 
Using this function rather than use() will cache all
colors for faster access.
get_attr(self, *keys)
Returns the curses attribute for the specified keys
 
Ready to use for curses.setattr()

Data descriptors inherited from ranger.shared.settings.SettingsAware:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from ranger.shared.settings.SettingsAware:
settings = {}

 
Data
        COLOR_PAIRS = {10: 0}
black = 0
blue = 4
bold = 2097152
cyan = 6
default = -1
default_colors = (-1, -1, 0)
green = 2
invisible = 8388608
magenta = 5
normal = 0
red = 1
reverse = 262144
underline = 131072
white = 7
yellow = 3