Home | History | Annotate | Download | only in util
      1 /*
      2  * ConnectBot: simple, powerful, open-source SSH client for Android
      3  * Copyright 2007 Kenny Root, Jeffrey Sharkey
      4  *
      5  * Licensed under the Apache License, Version 2.0 (the "License");
      6  * you may not use this file except in compliance with the License.
      7  * You may obtain a copy of the License at
      8  *
      9  *     http://www.apache.org/licenses/LICENSE-2.0
     10  *
     11  * Unless required by applicable law or agreed to in writing, software
     12  * distributed under the License is distributed on an "AS IS" BASIS,
     13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14  * See the License for the specific language governing permissions and
     15  * limitations under the License.
     16  */
     17 
     18 package org.connectbot.util;
     19 
     20 /**
     21  * @author Kenny Root
     22  * @author modified by raaar
     23  */
     24 public class PreferenceConstants {
     25 
     26   public static final String SCROLLBACK = "scrollback";
     27   public static final String FONTSIZE = "fontsize";
     28   public static final String KEYMODE = "keymode";
     29   public static final String ENCODING = "encoding";
     30 
     31   public static final String DELKEY = "delkey";
     32   public static final String DELKEY_BACKSPACE = "backspace";
     33   public static final String DELKEY_DEL = "del";
     34 
     35   public static final String ROTATION = "rotation";
     36 
     37   public static final String ROTATION_DEFAULT = "Default";
     38   public static final String ROTATION_LANDSCAPE = "Force landscape";
     39   public static final String ROTATION_PORTRAIT = "Force portrait";
     40   public static final String ROTATION_AUTOMATIC = "Automatic";
     41 
     42   public static final String FULLSCREEN = "fullscreen";
     43 
     44   public static final String KEYMODE_RIGHT = "Use right-side keys";
     45   public static final String KEYMODE_LEFT = "Use left-side keys";
     46 
     47   public static final String CAMERA = "camera";
     48 
     49   public static final String CAMERA_CTRLA_SPACE = "Ctrl+A then Space";
     50   public static final String CAMERA_CTRLA = "Ctrl+A";
     51   public static final String CAMERA_ESC = "Esc";
     52   public static final String CAMERA_ESC_A = "Esc+A";
     53 
     54   public static final String KEEP_ALIVE = "keepalive";
     55 
     56   public static final String BUMPY_ARROWS = "bumpyarrows";
     57   public static final String HIDE_KEYBOARD = "hidekeyboard";
     58 
     59   public static final String SORT_BY_COLOR = "sortByColor";
     60 
     61   public static final String BELL = "bell";
     62   public static final String BELL_VOLUME = "bellVolume";
     63   public static final String BELL_VIBRATE = "bellVibrate";
     64   public static final float DEFAULT_BELL_VOLUME = 0.25f;
     65 
     66   public final static int DEFAULT_FG_COLOR = 0xffcccccc;
     67   public final static int DEFAULT_BG_COLOR = 0xff000000;
     68   public final static int DEFAULT_SCROLLBACK = 140;
     69   public final static float DEFAULT_FONT_SIZE = 10;
     70 
     71   public final static String COLOR_FG = "color_fg";
     72   public final static String COLOR_BG = "color_bg";
     73 
     74 }
     75