mirror of https://github.com/sipwise/jitsi.git
parent
9589de8f30
commit
14caa56775
|
After Width: | Height: | Size: 138 B |
|
After Width: | Height: | Size: 138 B |
|
After Width: | Height: | Size: 141 B |
@ -0,0 +1,10 @@
|
||||
mainWindowWidth=200
|
||||
mainWindowHeight=450
|
||||
logoBarWidth=0
|
||||
logoBarHeight=0
|
||||
mainToolbarButtonHeight=28
|
||||
mainToolbarButtonWidth=28
|
||||
dialPadWidth=150
|
||||
dialPadHeight=150
|
||||
dialPadHorizontalGap=5
|
||||
dialPadVerticalGap=5
|
||||
@ -1,59 +0,0 @@
|
||||
/*
|
||||
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
|
||||
*
|
||||
* Distributable under LGPL license.
|
||||
* See terms of license at gnu.org.
|
||||
*/
|
||||
package net.java.sip.communicator.impl.gui.utils;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import net.java.sip.communicator.util.*;
|
||||
|
||||
/**
|
||||
* Accesses the color resources saved in the colorResources.properties file.
|
||||
*
|
||||
* @author Yana Stamcheva
|
||||
*/
|
||||
public class ColorResources
|
||||
{
|
||||
/**
|
||||
* Logger for this class.
|
||||
*/
|
||||
private static Logger log = Logger.getLogger(ColorResources.class);
|
||||
|
||||
/**
|
||||
* Name of the bundle where we will search for color resources.
|
||||
*/
|
||||
private static final String BUNDLE_NAME
|
||||
= "resources.colors.colorResources";
|
||||
|
||||
/**
|
||||
* Bundle which handle access to localized resources.
|
||||
*/
|
||||
private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
|
||||
.getBundle( BUNDLE_NAME,
|
||||
Locale.getDefault(),
|
||||
ColorResources.class.getClassLoader());
|
||||
|
||||
/**
|
||||
* Returns an int RGB color corresponding to the given key.
|
||||
*
|
||||
* @param key The key of the string.
|
||||
*
|
||||
* @return An internationalized string corresponding to the given key.
|
||||
*/
|
||||
public static int getColor(String key)
|
||||
{
|
||||
try
|
||||
{
|
||||
return Integer.parseInt(RESOURCE_BUNDLE.getString(key), 16);
|
||||
}
|
||||
catch (MissingResourceException e)
|
||||
{
|
||||
log.error("Missing color resource.", e);
|
||||
|
||||
return 0xFFFFFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,74 +0,0 @@
|
||||
/*
|
||||
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
|
||||
*
|
||||
* Distributable under LGPL license.
|
||||
* See terms of license at gnu.org.
|
||||
*/
|
||||
|
||||
package net.java.sip.communicator.impl.gui.utils;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* Manages the access to the properties file containing all sounds paths.
|
||||
*
|
||||
* @author Yana Stamcheva
|
||||
*/
|
||||
public class Sounds {
|
||||
|
||||
public static String INCOMING_MESSAGE
|
||||
= "resources/sounds/incomingMessage.wav";
|
||||
|
||||
public static String OUTGOING_CALL
|
||||
= "resources/sounds/ring.wav";
|
||||
public static String INCOMING_CALL
|
||||
= "resources/sounds/incomingCall.wav";
|
||||
|
||||
public static String DIAL_ZERO
|
||||
= "resources/sounds/one_1.wav";
|
||||
|
||||
public static String DIAL_ONE
|
||||
= "resources/sounds/one_1.wav";
|
||||
|
||||
public static String DIAL_TWO
|
||||
= "resources/sounds/two_2.wav";
|
||||
|
||||
public static String DIAL_THREE
|
||||
= "resources/sounds/three_3.wav";
|
||||
|
||||
public static String DIAL_FOUR
|
||||
= "resources/sounds/four_4.wav";
|
||||
|
||||
public static String DIAL_FIVE
|
||||
= "resources/sounds/five_5.wav";
|
||||
|
||||
public static String DIAL_SIX
|
||||
= "resources/sounds/six_6.wav";
|
||||
|
||||
public static String DIAL_SEVEN
|
||||
= "resources/sounds/seven_7.wav";
|
||||
|
||||
public static String DIAL_EIGHT
|
||||
= "resources/sounds/eight_8.wav";
|
||||
|
||||
public static String DIAL_NINE
|
||||
= "resources/sounds/nine_9.wav";
|
||||
|
||||
public static String DIAL_DIEZ
|
||||
= "resources/sounds/one_1.wav";
|
||||
|
||||
public static String DIAL_STAR
|
||||
= "resources/sounds/one_1.wav";
|
||||
|
||||
public static String BUSY
|
||||
= "resources/sounds/busy.wav";
|
||||
|
||||
private static final String BUNDLE_NAME
|
||||
= "net.java.sip.communicator.impl.gui.utils.sounds";
|
||||
|
||||
private static final ResourceBundle RESOURCE_BUNDLE
|
||||
= ResourceBundle.getBundle(BUNDLE_NAME);
|
||||
|
||||
private Sounds() {
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue