Arbeiten aus dem URlaub
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
|
||||
import com.simsilica.lemur.*;
|
||||
import com.simsilica.lemur.Button.ButtonAction;
|
||||
import com.simsilica.lemur.component.*;
|
||||
|
||||
def gradient = TbtQuadBackgroundComponent.create(
|
||||
texture( name:"/com/simsilica/lemur/icons/bordered-gradient.png",
|
||||
generateMips:false ),
|
||||
1, 1, 1, 126, 126,
|
||||
1f, false );
|
||||
|
||||
def border = TbtQuadBackgroundComponent.create(
|
||||
texture( name:"/com/simsilica/lemur/icons/border.png",
|
||||
generateMips:false ),
|
||||
1, 2, 2, 6, 6,
|
||||
1f, false );
|
||||
|
||||
|
||||
selector( "nestedProperties.container", "glass" ) {
|
||||
background = border.clone();
|
||||
background.setColor(color(0.0, 0.0, 0.0, 0.5))
|
||||
}
|
||||
|
||||
selector( "stats", "glass" ) {
|
||||
background = gradient.clone()
|
||||
background.setColor(color(0.25, 0.5, 0.5, 0.5))
|
||||
}
|
||||
|
||||
selector( "window", "glass" ) {
|
||||
background = gradient.clone()
|
||||
background.setColor(color(0.25, 0.5, 0.5, 0.5))
|
||||
}
|
||||
|
||||
selector( "root.rollup.title", "glass" ) {
|
||||
background = new QuadBackgroundComponent( color(0.25, 0.5, 0.85, 0.5) );
|
||||
background.texture = texture( name:"/com/simsilica/lemur/icons/double-gradient-128.png",
|
||||
generateMips:false )
|
||||
}
|
||||
34
simarboreal/src/main/resources/license.txt
Normal file
34
simarboreal/src/main/resources/license.txt
Normal file
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Copyright (c) 2014, Simsilica, LLC
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* 3. Neither the name of the copyright holder nor the names of its
|
||||
* contributors may be used to endorse or promote products derived
|
||||
* from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
34
simarboreal/src/main/resources/log4j.xml
Normal file
34
simarboreal/src/main/resources/log4j.xml
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
|
||||
|
||||
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
|
||||
|
||||
<!-- ============================== -->
|
||||
<!-- Append messages to the console -->
|
||||
<!-- ============================== -->
|
||||
|
||||
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
|
||||
<param name="Target" value="System.out"/>
|
||||
<param name="Threshold" value="TRACE"/>
|
||||
|
||||
<layout class="org.apache.log4j.PatternLayout">
|
||||
<!-- The default pattern: Date Priority [Category] Message\n -->
|
||||
<param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
|
||||
<!-- ======================= -->
|
||||
<!-- Setup the Root category -->
|
||||
<!-- ======================= -->
|
||||
|
||||
<category name="com.simsilica.lemur.style">
|
||||
<priority value="INFO"/>
|
||||
</category>
|
||||
|
||||
<root>
|
||||
<priority value="INFO"/>
|
||||
<appender-ref ref="CONSOLE"/>
|
||||
</root>
|
||||
|
||||
</log4j:configuration>
|
||||
Reference in New Issue
Block a user