Import LinuxCNC source tree

This commit is contained in:
Wang Dequan
2026-08-20 06:17:39 +08:00
commit 2c814634c3
9429 changed files with 10556013 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
This is a gscreen based operator screen for router/mills.
This was designed by a user, Jim (persei8 on the forum) for his personal router and given back to
the linuxcnc project.
This is a simulated machine example - some adaption of files will be required.

View File

@@ -0,0 +1,55 @@
o<auto_zref> sub
o100 if [#<_task> EQ 0]
(debug, Task is Null)
o100 return [999]
o100 endif
o200 if [#<selected_tool> EQ 0]
o200 return [1]
o200 endif
M6 (use builtin behaviour)
o300 if [#<_hal[gscreen.use_autozref]> EQ 0]
o300 return [1]
o300 endif
o400 if [#<_hal[gscreen.search_vel]> LE 0]
o400 return [-1] ; indicate search_vel <= 0
o400 endif
o500 if [#<_hal[gscreen.probe_vel]> LE 0]
o500 return [-2] ; indicate probe_vel <= 0
o500 endif
G21 (use metric units)
G49 (cancel tool offset)
G10 L2 P0 Z0 (clear current offsets)
(go to tool sensor location)
G53 G0 X[#<_ini[TOOLSENSOR]X>] Y[#<_ini[TOOLSENSOR]Y>]
G53 G0 Z[#<_ini[TOOLSENSOR]Z>]
(switch to incremental mode)
G91
(this section commented out for sim)
;G38.2 Z#<_ini[TOOLSENSOR]MAXPROBE> F#<_hal[gscreen.search_vel]>
;G0 Z4 (move up 4)
;G38.2 Z-4.1 F#<_hal[gscreen.probe_vel]>
;o600 if [#5070 EQ 0]
; G90
;o600 return [-3] ; indicate probe contact failure to epilog
;o600 endif
(this section is used for sim)
G0 Z#<_ini[TOOLSENSOR]MAXPROBE> F#<_hal[gscreen.search_vel]>
(pretend that probe contact has been made)
G10 L20 P0 Z[#<_hal[gscreen.sensor_height]> - #<_hal[gscreen.block_height]>]
G90
G53 G0 Z#<_ini[CHANGE_POSITION]Z>
(signal success by returning a value > 0:)
o<auto_zref> endsub [1]
M2

View File

@@ -0,0 +1,8 @@
O<laserzero> sub
#1 = 3.12 (x offset)
#2 = 1.0 (y offset)
G10 L20 P0 x#1 y#2 (store offset in offset table)
G90 G1 X0 Y0 F600 (go to 0,0)
O<laserzero> endsub
M2

View File

@@ -0,0 +1,20 @@
o<tool_sensor> sub
G21 (use metric units)
G49 (cancel tool offset)
G10 L20 P0 Z0 (clear current offsets)
G91 (switch to incremental mode)
; this section commented out for sim
;G38.2 Z[#<_hal[gscreen.maxprobe]>] F[#<_hal[gscreen.search_vel]>] (probe down)
;G1 Z4.0 (move up 4 mm)
;G4 P0.5 (pause for 0.5 sec.)
;G38.2 Z-6.0 F[#<_hal[gscreen.probe_vel]>] (probe down slower)
; this section used for sim, comment out otherwise
G1 Z-10 F[#<_hal[gscreen.search_vel]>]
G10 L20 P0 Z[#<_hal[gscreen.sensor_height]> - #<_hal[gscreen.block_height]>]
G90 (absolute distance mode)
G53 G0 Z0 (move Z up to 0)
o<tool_sensor> endsub
M2

View File

@@ -0,0 +1,21 @@
o<touch_plate> sub
#1 = 28.6 (plate thickness)
G21 (use metric units)
G49 (cancel tool offset)
G10 L20 P0 Z0 (clear current offsets)
G91 (switch to incremental mode)
; this section commented out for sim
;G38.2 Z-10 F[#<_hal[gscreen.search_vel]>] (probe down)
;G1 Z1.0 (go up 1 mm)
;G4 P0.5 (pause 0.5 sec.)
;G38.2 Z-1.2 F[#<_hal[gscreen.probe_vel]>] (probe down slower)
; this section used for sim, comment out otherwise
G1 Z-10 F[#<_hal[gscreen.search_vel]>]
G10 L20 P0 Z#1 (store offset in offset table)
G90 (absolute distance mode)
G53 G0 Z0 (move Z up to 0)
o<touch_plate> endsub
M2

View File

@@ -0,0 +1,202 @@
# EMC controller parameters for a simulated machine.
# General note: Comments can either be preceded with a # or ; - either is
# acceptable, although # is in keeping with most linux config files.
# General section -------------------------------------------------------------
[EMC]
VERSION = 1.1
MACHINE = silverdragon
DEBUG = 0
# Sections for display options ------------------------------------------------
[DISPLAY]
DISPLAY = gscreen -c silverdragon
# Cycle time, in milliseconds, that display will sleep between polls
CYCLE_TIME = 100
#PREFERENCE_FILE_PATH = /home/jim/linuxcnc/configs/sim.gscreen.gscreen_custom/silverdragon.pref
# Values that will be allowed for override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.5
MAX_SPINDLE_OVERRIDE = 1.2
MIN_SPINDLE_OVERRIDE = 0.5
DEFAULT_SPINDLE_SPEED = 24000
DEFAULT_LINEAR_VELOCITY = 4000
MAX_LINEAR_VELOCITY = 5000
# USER MESSAGES
MESSAGE_BOLDTEXT = Attention!
MESSAGE_TEXT = Is the router ON and workpiece ZERO set?
MESSAGE_TYPE = yesnodialog
MESSAGE_PINNAME = router_on
# Prefix to be used
PROGRAM_PREFIX = /home/jim/linuxcnc/nc_files
# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 2
# list of selectable jog increments
INCREMENTS = 10.000 mm, 1.000 mm, 0.100 mm, 0.010 mm , 1.0 in, 0.1 in, 0.01 in, 0.001 in
# for details see nc_files/subroutines/maco_instructions.txt
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python3
# Task controller section -----------------------------------------------------
[RS274NGC]
RS274NGC_STARTUP_CODE = G17 G21 G40 G43H0 G54 G64P0.005 G80 G90 G94 G97 M5 M9
PARAMETER_FILE = sim.var
SUBROUTINE_PATH = macros
ON_ABORT_COMMAND=O <on_abort> call
FEATURES=12
#REMAP = M6 modalgroup=6 prolog=change_prolog ngc=auto_zref epilog=change_epilog
# Motion control section ------------------------------------------------------
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
BASE_PERIOD = 100000
SERVO_PERIOD = 1000000
# Hardware Abstraction Layer section --------------------------------------------------
[TASK]
TASK = milltask
CYCLE_TIME = 0.001
# Part program interpreter section --------------------------------------------
[HAL]
HALFILE = core_sim.hal
#HALFILE = spindle_sim.hal
HALFILE = simulated_home.hal
# Single file that is executed after the GUI has started.
#POSTGUI_HALFILE = silverdragon_postgui.hal
HALUI = halui
# Trajectory planner section --------------------------------------------------
[HALUI]
#No Content
[TOOLSENSOR]
X = 10.0
Y = 10.0
Z = -80.0
MAXPROBE = -10
SENSOR_HEIGHT = 25.0
SEARCH_VEL = 60
PROBE_VEL = 30
[LASER]
X = 106.9
Y = -16.85
[CHANGE_POSITION]
X = 20
Y = 20
Z = -4
[PYTHON]
#PATH_PREPEND = python
#TOPLEVEL = python/toplevel.py
[TRAJ]
COORDINATES = X Y Z
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
DEFAULT_LINEAR_VELOCITY = 50
MAX_LINEAR_VELOCITY = 60
POSITION_FILE = position.txt
#NO_FORCE_HOMING = 1
[EMCIO]
# tool table file
TOOL_TABLE = tool.tbl
TOOL_CHANGE_POSITION = 100 100 -10
#TOOL_CHANGE_QUILL_UP = 1
#TOOL_CHANGE_AT_G30 = 1
[KINS]
KINEMATICS = trivkins coordinates=xyz
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -.001
MAX_LIMIT = 520.0
MAX_VELOCITY = 60
MAX_ACCELERATION = 1500.0
[JOINT_0]
TYPE = LINEAR
MAX_VELOCITY = 60
MAX_ACCELERATION = 1500.0
BACKLASH = 0.000
INPUT_SCALE = 4000
OUTPUT_SCALE = 1.000
MIN_LIMIT = -.001
MAX_LIMIT = 520.0
FERROR = 0.050
MIN_FERROR = 0.010
HOME_OFFSET = 0.0
HOME = 10
HOME_SEARCH_VEL = 200.0
HOME_LATCH_VEL = 20.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
HOME_SEQUENCE = 2
[AXIS_Y]
MIN_LIMIT = -.001
MAX_LIMIT = 630.0
MAX_VELOCITY = 60
MAX_ACCELERATION = 1500.0
[JOINT_1]
TYPE = LINEAR
MAX_VELOCITY = 60
MAX_ACCELERATION = 1500.0
BACKLASH = 0.000
INPUT_SCALE = 4000
OUTPUT_SCALE = 1.000
MIN_LIMIT = -.001
MAX_LIMIT = 630.0
FERROR = 0.050
MIN_FERROR = 0.010
HOME_OFFSET = 0.0
HOME = 10
HOME_SEARCH_VEL = 200.0
HOME_LATCH_VEL = 20.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
HOME_SEQUENCE = 1
# Third axis
[AXIS_Z]
MIN_LIMIT = -120.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 60
MAX_ACCELERATION = 1500.0
[JOINT_2]
TYPE = LINEAR
MAX_VELOCITY = 60
MAX_ACCELERATION = 1500.0
BACKLASH = 0.000
INPUT_SCALE = 4000
OUTPUT_SCALE = 1.000
MIN_LIMIT = -120.0
MAX_LIMIT = 10.0
FERROR = 0.050
MIN_FERROR = 0.010
HOME_OFFSET = 1.0
HOME = -10
HOME_SEARCH_VEL = 200.0
HOME_LATCH_VEL = 20.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
HOME_SEQUENCE = 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 642 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 643 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

View File

@@ -0,0 +1,60 @@
########################################################################
# Button
########################################################################
style "button"
{
engine "pixmap"
{
### Button ###
## Normal
image
{
function = BOX
state = NORMAL
file = "button/button.png"
border = {8, 8, 8, 8}
stretch = TRUE
}
## Prelight
image
{
function = BOX
state = PRELIGHT
file = "button/button-light.png"
border = {8, 8, 8, 8}
stretch = TRUE
}
## Insensitive
image
{
function = BOX
state = INSENSITIVE
file = "button/button-ins.png"
border = {8, 8, 8, 8}
stretch = TRUE
}
## Active
image
{
function = BOX
state = ACTIVE
file = "button/button-pressed.png"
border = {8, 8, 8, 8}
stretch = TRUE
}
### Focus ###
image
{
function = FOCUS
file = "null.png"
}
}
}
class "GtkButton*" style "button"

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -0,0 +1,47 @@
########################################################################
# Check boxes
########################################################################
style "check_box"
{
### Check box ###
engine "pixmap"
{
image
{
function = CHECK
shadow = OUT
overlay_file = "c_box/c_box.png"
overlay_stretch = FALSE
}
image
{
function = CHECK
shadow = IN
overlay_file = "c_box/c_box-pressed.png"
overlay_stretch = FALSE
}
image
{
function = OPTION
shadow = OUT
overlay_file = "c_box/c_box.png"
overlay_stretch = FALSE
}
image
{
function = OPTION
shadow = IN
overlay_file = "c_box/c_box-pressed.png"
overlay_stretch = FALSE
}
}
}
class "GtkCheckButton*" style "check_box"
class "GtkCheckMenuItem*" style "check_box"
class "GtkTreeView*" style "check_box"

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

View File

@@ -0,0 +1,35 @@
########################################################################
# Entry
########################################################################
style "entry"
{
GtkWidget::interior_focus = 0
GtkEntry::inner-border = {1, 1, 1, 1}
engine "pixmap"
{
### Entry ###
image
{
function = SHADOW
detail = "entry"
file = "entry/entry.png"
border = {2, 2, 2, 2}
stretch = TRUE
}
### Focus ###
image
{
function = FOCUS
detail = "entry"
file = "entry/entry-active.png"
border = {2, 2, 2, 2}
stretch = TRUE
}
}
}
class "GtkEntry*" style "entry"

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

View File

@@ -0,0 +1,65 @@
########################################################################
# BrushedMetal
# Andrey Tverdov 2010
# GPL2
########################################################################
gtk_color_scheme = "fg_color:#000\nbg_color:#C0C0C0\nbase_color:#D5D5D2\ntext_color:#000\nselected_bg_color:#8BA4A4\nselected_fg_color:#000\ntooltip_bg_color:#ffffe1\ntooltip_fg_color:#000"
gtk-icon-sizes ="gtk-small-toolbar=16,16:gtk-large-toolbar=24,24:gtk-button=16,16"
gtk-button-images = 0
gtk-menu-images = 1
include "scrollbar.rc"
include "scale.rc"
include "notebook.rc"
include "button.rc"
include "radio.rc"
include "c_box.rc"
include "progressbar.rc"
include "statusbar.rc"
include "entry.rc"
include "menubar.rc"
include "spin.rc"
style "default"
{
fg[ACTIVE] = @fg_color
fg[INSENSITIVE] = shade (0.7,@bg_color)
fg[NORMAL] = @fg_color
fg[PRELIGHT] = @fg_color
fg[SELECTED] = @selected_fg_color
bg[ACTIVE] = @bg_color
bg[INSENSITIVE] = @bg_color
bg[NORMAL] = @bg_color
bg[PRELIGHT] = @bg_color
bg[SELECTED] = @selected_bg_color
bg_pixmap[NORMAL] = "bg.png"
base[ACTIVE] = @selected_bg_color
base[INSENSITIVE] = @bg_color
base[NORMAL] = @base_color
base[PRELIGHT] = @selected_bg_color
base[SELECTED] = @selected_bg_color
text[ACTIVE] = shade (0.9,@selected_fg_color)
text[INSENSITIVE] = shade (0.7,@bg_color)
text[NORMAL] = @text_color
text[PRELIGHT] = @selected_fg_color
text[SELECTED] = @selected_fg_color
engine "clearlooks"
{
radius = 0.0
}
}
class "GtkWidget" style "default"
style "tooltips" = "default"
{
bg[NORMAL] = "#FFFCDB"
fg[NORMAL] = "#000000"
}
widget "gtk-tooltips*" style "tooltips"

View File

@@ -0,0 +1,99 @@
########################################################################
# Menubar
########################################################################
style "menubar"
{
### Menubar ###
engine "pixmap"
{
image
{
function = BOX
file = "menubar/menubar.png"
border = {7, 7, 4, 4}
stretch = TRUE
}
}
}
class "GtkMenuBar*" style "menubar"
style "menuitem"
{
### Menu item ###
engine "pixmap"
{
image
{
function = BOX
file = "menubar/menuitem.png"
border = {7, 7, 4, 4}
stretch = TRUE
}
### H line ###
image
{
function = HLINE
file = "menubar/line-h.png"
border = {0, 0, 0, 0}
stretch = TRUE
}
### V line ###
image
{
function = VLINE
file = "menubar/line-v.png"
border = {0, 0, 0, 0}
stretch = TRUE
}
### Arrow UP ###
image
{
function = ARROW
overlay_file = "/arrow/arrow-up.png"
overlay_border = {3,3,3,3}
overlay_stretch = FALSE
arrow_direction = UP
}
### Arrow DOWN ###
image
{
function = ARROW
overlay_file = "/arrow/arrow-down.png"
overlay_border = {3,3,3,3}
overlay_stretch = FALSE
arrow_direction = DOWN
}
### Arrow LEFT ###
image
{
function = ARROW
overlay_file = "/arrow/arrow-left.png"
overlay_border = {3,3,3,3}
overlay_stretch = FALSE
arrow_direction = LEFT
}
### Arrow RIGHT ###
image
{
function = ARROW
overlay_file = "/arrow/arrow-right.png"
overlay_border = {3,3,3,3}
overlay_stretch = FALSE
arrow_direction = RIGHT
}
}
}
class "GtkMenuItem*" style "menuitem"
class "GtkImageMenuItem*" style "menuitem"
class "GtkTearoffMenuItem*" style "menuitem"
class "GtkItem*" style "menuitem"

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1,159 @@
########################################################################
# Notebook
########################################################################
style "notebook"
{
engine "pixmap"
{
### Notebook ###
image
{
function = BOX
file = "notebook/notebook.png"
border = {4, 4, 4, 4}
stretch = TRUE
}
### Tab TOP ###
## Normal
image
{
function = EXTENSION
state = ACTIVE
file = "notebook/tab-top.png"
border = {2, 2, 2, 2}
stretch = TRUE
gap_side = BOTTOM
}
## Active
image
{
function = EXTENSION
file = "notebook/tab-top-active.png"
border = {4, 4, 4, 4}
stretch = TRUE
gap_side = BOTTOM
}
### Tab BOTTOM ###
## Normal
image
{
function = EXTENSION
state = ACTIVE
file = "notebook/tab-bottom.png"
border = {2, 2, 2, 2}
stretch = TRUE
gap_side = TOP
}
## Active
image
{
function = EXTENSION
file = "notebook/tab-bottom-active.png"
border = {4, 4, 4, 4}
stretch = TRUE
gap_side = TOP
}
### Tab LEFT ###
## Normal
image
{
function = EXTENSION
state = ACTIVE
file = "notebook/tab-left.png"
border = {4,4,4,4}
stretch = TRUE
gap_side = RIGHT
}
## Active
image
{
function = EXTENSION
file = "notebook/tab-left-active.png"
border = {4, 4, 4, 4}
stretch = TRUE
gap_side = RIGHT
}
### Tab RIGHT ###
## Normal
image
{
function = EXTENSION
state = ACTIVE
file = "notebook/tab-right.png"
border = {2, 2, 2, 2}
stretch = TRUE
gap_side = LEFT
}
## Active
image
{
function = EXTENSION
file = "notebook/tab-right-active.png"
border = {4, 4, 4, 4}
stretch = TRUE
gap_side = LEFT
}
### Gap TOP ###
image
{
function = BOX_GAP
file = "notebook/notebook.png"
border = {4, 4, 4, 4}
stretch = TRUE
}
### Gap BOTTOM ###
image
{
function = BOX_GAP
file = "notebook/notebook.png"
border = {4, 4, 4, 4}
stretch = TRUE
}
### Gap LEFT ###
image
{
function = BOX_GAP
file = "notebook/notebook.png"
border = {4, 4, 4, 4}
stretch = TRUE
}
### Gap RIGHT ###
image
{
function = BOX_GAP
file = "notebook/notebook.png"
border = {4, 4, 4, 4}
stretch = TRUE
}
### Focus ###
image
{
function = FOCUS
file = "null.png"
border = {1, 1, 1, 1}
stretch = TRUE
}
}
}
class "GtkNotebook*" style "notebook"

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 910 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 865 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 916 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 859 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 861 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 913 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

View File

@@ -0,0 +1,78 @@
########################################################################
# Progressbar
########################################################################
style "progressbar"
{
GtkProgressBar ::shadow-type = GTK_SHADOW_NONE
bg[NORMAL] = "#ffffff" # Color of sorted columns
bg[SELECTED] = @selected_bg_color
engine "pixmap"
{
### Trough ###
image
{
function = BOX
detail = "trough"
file = "progressbar/trough-horiz.png"
border = {4, 4, 4, 4}
stretch = TRUE
orientation = HORIZONTAL
}
image
{
function = BOX
detail = "trough"
file = "progressbar/trough-vert.png"
border = {4, 4, 4, 4}
stretch = TRUE
orientation = VERTICAL
}
image
{
function = SHADOW
shadow = IN
file = "progressbar/trough-tree.png"
border = {2, 2, 2, 2}
stretch = TRUE
}
### Progress ###
image
{
function = BOX
detail = "bar"
file = "progressbar/progressbar-horiz.png"
border = {2, 2, 2, 2}
stretch = TRUE
orientation = HORIZONTAL
}
image
{
function = BOX
detail = "bar"
file = "progressbar/progressbar-vert.png"
border = {2, 2, 2, 2}
stretch = TRUE
orientation = VERTICAL
}
image
{
function = BOX
state = SELECTED
border = {2, 2, 2, 2}
file = "progressbar/progressbar-horiz.png"
stretch = TRUE
}
}
}
class "GtkProgressBar*" style "progressbar"
#class "GtkTreeView*" style "progressbar"

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,47 @@
########################################################################
# Radio buttons
########################################################################
style "radio_button"
{
### Radio button ###
engine "pixmap"
{
image
{
function = CHECK
shadow = OUT
overlay_file = "radio/radio.png"
overlay_stretch = FALSE
}
image
{
function = CHECK
shadow = IN
overlay_file = "radio/radio-pressed.png"
overlay_stretch = FALSE
}
image
{
function = OPTION
shadow = OUT
overlay_file = "radio/radio.png"
overlay_stretch = FALSE
}
image
{
function = OPTION
shadow = IN
overlay_file = "radio/radio-pressed.png"
overlay_stretch = FALSE
}
}
}
class "GtkRadio*" style "radio_button"
class "GtkRadioMenuItem*" style "radio_button"
class "GtkTreeView*" style "radio_button"

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

View File

@@ -0,0 +1,59 @@
########################################################################
# Scale
########################################################################
style "scale"
{
GtkRange::slider_width = 16
engine "pixmap"
{
### Trough ###
image
{
function = BOX
detail = "trough"
file = "scale/trough-horiz.png"
border = {14, 14, 7, 7}
stretch = TRUE
orientation = HORIZONTAL
}
image
{
function = BOX
detail = "trough"
file = "scale/trough-vert.png"
border = {7, 7, 14, 14}
stretch = TRUE
orientation = VERTICAL
}
### Slider ###
image
{
function = SLIDER
overlay_file = "scale/slider-horiz.png"
overlay_stretch = FALSE
orientation = HORIZONTAL
}
image
{
function = SLIDER
overlay_file = "scale/slider-vert.png"
overlay_stretch = FALSE
orientation = VERTICAL
}
### Focus ###
image
{
function = FOCUS
file = "null.png"
}
}
}
class "GtkRange*" style "scale"

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 607 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

View File

@@ -0,0 +1,234 @@
########################################################################
# Scrollbar
########################################################################
style "scrollbar"
{
GtkRange::slider-width = 13
GtkRange::stepper-size = 13
GtkCheckButtonClass::indicator-size = 13
GtkRadioButtonClass::indicator-size = 13
GtkScrollbar::has-backward-stepper = 1
GtkScrollbar::has-secondary-backward-stepper = 1
GtkScrollbar::has-secondary-forward-stepper = 1
engine "pixmap"
{
### Trough ###
image
{
function = BOX
detail = "trough"
file = "scrollbar/trough-v.png"
border = {2, 2, 2, 2}
stretch = TRUE
orientation = VERTICAL
}
image
{
function = BOX
detail = "trough"
file = "scrollbar/trough-h.png"
border = {2, 2, 2, 2}
stretch = TRUE
orientation = HORIZONTAL
}
### Scrollbar ###
image
{
function = SLIDER
file = "scrollbar/scrollbar_horizontal.png"
border = {3, 3, 3, 3}
stretch = TRUE
overlay_file = "scrollbar/thumb.png"
overlay_stretch = FALSE
orientation = HORIZONTAL
}
image
{
function = SLIDER
file = "scrollbar/scrollbar_vertical.png"
border = {3, 3, 3, 3}
stretch = TRUE
overlay_file = "scrollbar/thumb.png"
overlay_stretch = FALSE
orientation = VERTICAL
}
### Arrow UP ###
## Normal
image
{
function = ARROW
state = NORMAL
overlay_file = "scrollbar/arrow_up.png"
overlay_stretch = FALSE
arrow_direction = UP
}
## Prelight
image
{
function = ARROW
state = PRELIGHT
overlay_file = "scrollbar/arrow_up.png"
overlay_stretch = FALSE
arrow_direction = UP
}
## Insensitive
image
{
function = ARROW
state = INSENSITIVE
overlay_file = "scrollbar/arrow_up.png"
overlay_stretch = FALSE
arrow_direction = UP
}
## Active
image
{
function = ARROW
state = ACTIVE
overlay_file = "scrollbar/arrow_up_clicked.png"
overlay_stretch = FALSE
arrow_direction = UP
}
### Arrow DOWN ###
## Normal
image
{
function = ARROW
state = NORMAL
overlay_file = "scrollbar/arrow_down.png"
overlay_stretch = FALSE
arrow_direction = DOWN
}
## Prelight
image
{
function = ARROW
state = PRELIGHT
overlay_file = "scrollbar/arrow_down.png"
overlay_stretch = FALSE
arrow_direction = DOWN
}
## Insensitive
image
{
function = ARROW
state = INSENSITIVE
overlay_file = "scrollbar/arrow_down.png"
overlay_stretch = FALSE
arrow_direction = DOWN
}
## Active
image
{
function = ARROW
state = ACTIVE
overlay_file = "scrollbar/arrow_down_clicked.png"
overlay_stretch = FALSE
arrow_direction = DOWN
}
### Arrow LEFT ###
## Normal
image
{
function = ARROW
state = NORMAL
overlay_file = "scrollbar/arrow_left.png"
overlay_stretch = FALSE
arrow_direction = LEFT
}
## Prelight
image
{
function = ARROW
state = PRELIGHT
overlay_file = "scrollbar/arrow_left.png"
overlay_stretch = FALSE
arrow_direction = LEFT
}
## Insensitive
image
{
function = ARROW
state = INSENSITIVE
overlay_file = "scrollbar/arrow_left.png"
overlay_stretch = FALSE
arrow_direction = LEFT
}
## Active
image
{
function = ARROW
state = ACTIVE
overlay_file = "scrollbar/arrow_left_clicked.png"
overlay_stretch = FALSE
arrow_direction = LEFT
}
### Arrow RIGHT ###
## Normal
image
{
function = ARROW
state = NORMAL
overlay_file = "scrollbar/arrow_right.png"
overlay_stretch = FALSE
arrow_direction = RIGHT
}
## Prelight
image
{
function = ARROW
state = PRELIGHT
overlay_file = "scrollbar/arrow_right.png"
overlay_stretch = FALSE
arrow_direction = RIGHT
}
## Insensitive
image
{
function = ARROW
state = INSENSITIVE
overlay_file = "scrollbar/arrow_right.png"
overlay_stretch = FALSE
arrow_direction = RIGHT
}
## Active
image
{
function = ARROW
state = ACTIVE
overlay_file = "scrollbar/arrow_right_clicked.png"
overlay_stretch = FALSE
arrow_direction = RIGHT
}
}
}
class "GtkScrollbar*" style "scrollbar"

Binary file not shown.

After

Width:  |  Height:  |  Size: 385 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

View File

@@ -0,0 +1,110 @@
########################################################################
# Spinbox
########################################################################
style "spinbutton"
{
engine "pixmap"
{
### Spinbutton ###
image
{
function = BOX
detail = "spinbutton"
file = "button/button-spin.png"
border = {2, 2, 2, 2}
stretch = TRUE
}
### Arrow UP ###
image
{
function = ARROW
}
## Normal
image
{
function = BOX
state = NORMAL
detail = "spinbutton_up"
overlay_file = "arrow/arrow-up.png"
overlay_stretch = FALSE
}
## Prelight
image
{
function = BOX
state = PRELIGHT
detail = "spinbutton_up"
overlay_file = "arrow/arrow-up.png"
overlay_stretch = FALSE
}
## Insensitive
image
{
function = BOX
state = INSENSITIVE
detail = "spinbutton_up"
overlay_file = "arrow/arrow-up-disable.png"
overlay_stretch = FALSE
}
## Active
image
{
function = BOX
state = ACTIVE
detail = "spinbutton_up"
overlay_file = "arrow/arrow-up.png"
overlay_stretch = FALSE
}
### Arrow DOWN ###
## Normal
image
{
function = BOX
state = NORMAL
detail = "spinbutton_down"
overlay_file = "arrow/arrow-down.png"
overlay_stretch = FALSE
}
## Prelight
image
{
function = BOX
state = PRELIGHT
detail = "spinbutton_down"
overlay_file = "arrow/arrow-down.png"
overlay_stretch = FALSE
}
## Insensitive
image
{
function = BOX
state = INSENSITIVE
detail = "spinbutton_down"
overlay_file = "arrow/arrow-down-disable.png"
overlay_stretch = FALSE
}
## Active
image
{
function = BOX
state = ACTIVE
detail = "spinbutton_down"
overlay_file = "arrow/arrow-down.png"
overlay_stretch = FALSE
}
}
}
class "GtkSpinButton*" style "spinbutton"

View File

@@ -0,0 +1,20 @@
########################################################################
# Statusbar
########################################################################
style "statusbar"
{
engine "pixmap"
{
### Statusbsr ###
image
{
function = RESIZE_GRIP
detail = "statusbar"
overlay_file = "statusbar/resizer.png"
overlay_stretch = FALSE
}
}
}
class "GtkStatusbar*" style "statusbar"

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 B

View File

@@ -0,0 +1,535 @@
<?xml version="1.0"?>
<metacity_theme>
<info>
<name>BluePrint Theme</name>
<author>Chester.Rose@sun.com (implementation erwann.chenede@sun.com)</author>
<copyright>Sun Microsystems Inc. 2003</copyright>
<date>2003-03-31</date>
<description>Window Manager BluePrint Theme</description>
</info>
<constant name="Title_bottom_val" value="2"/>
<frame_geometry name="normal" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false">
<distance name="left_width" value="6"/>
<distance name="right_width" value="6"/>
<distance name="bottom_height" value="6"/>
<distance name="left_titlebar_edge" value="6"/>
<distance name="right_titlebar_edge" value="6"/>
<aspect_ratio name="button" value="1.0"/>
<distance name="title_vertical_pad" value="1"/>
<border name="title_border" left="1" right="1" top="4" bottom="4"/>
<border name="button_border" left="1" right="1" top="4" bottom="4"/>
</frame_geometry>
<frame_geometry name="normal_shaded" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="true" rounded_bottom_right="true" parent="normal">
</frame_geometry>
<frame_geometry name="normal_maximized" parent="normal" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
<distance name="left_width" value="0"/>
<distance name="right_width" value="0"/>
<distance name="bottom_height" value="0"/>
<distance name="left_titlebar_edge" value="0"/>
<distance name="right_titlebar_edge" value="0"/>
</frame_geometry>
<!-- strip borders off the normal geometry -->
<frame_geometry name="normal_small_borders" parent="normal" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
<distance name="left_width" value="4"/>
<distance name="right_width" value="4"/>
<distance name="bottom_height" value="5"/>
<distance name="left_titlebar_edge" value="4"/>
<distance name="right_titlebar_edge" value="4"/>
</frame_geometry>
<frame_geometry name="utility" title_scale="small" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false">
<distance name="left_width" value="6"/>
<distance name="right_width" value="6"/>
<distance name="bottom_height" value="6"/>
<distance name="left_titlebar_edge" value="6"/>
<distance name="right_titlebar_edge" value="6"/>
<aspect_ratio name="button" value="0.8"/>
<distance name="title_vertical_pad" value="1"/>
<border name="title_border" left="1" right="1" top="4" bottom="4"/>
<border name="button_border" left="1" right="1" top="4" bottom="4"/>
</frame_geometry>
<frame_geometry name="border" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false" has_title="false">
<distance name="left_width" value="6"/>
<distance name="right_width" value="6"/>
<distance name="bottom_height" value="6"/>
<distance name="left_titlebar_edge" value="0"/>
<distance name="right_titlebar_edge" value="0"/>
<distance name="button_width" value="0"/>
<distance name="button_height" value="0"/>
<distance name="title_vertical_pad" value="6"/>
<border name="title_border" left="0" right="0" top="0" bottom="0"/>
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
</frame_geometry>
<!-- Buttons -->
<draw_ops name="button_bkg">
<image filename="button-bkg.png" alpha="1.0" x="0" y="0" width="width" height="height"/>
</draw_ops>
<draw_ops name="button_bkg_prelight">
<image filename="button-bkg.png" alpha="1.0" x="0" y="0" width="width" height="height" />
<image filename="button-bkg.png" alpha="0.4" x="0" y="0" width="width" height="height" colorize="yellow" />
</draw_ops>
<draw_ops name="button_bkg_pressed">
<image filename="button-bkg-pressed.png" alpha="1.0" x="0" y="0" width="width" height="height"/>
</draw_ops>
<draw_ops name="button_bkg_unfocused">
<image filename="button-bkg-unfocused.png" alpha="1.0" x="0" y="0" width="width" height="height"/>
</draw_ops>
<!-- Unfocused state -->
<draw_ops name="minimize_button_unfocused">
<image filename="window-chrome-minimize-unfocused.png" alpha="0.9" x="0" y="0" width="width" height="height" colorize="white"/>
</draw_ops>
<draw_ops name="maximize_button_unfocused">
<image filename="window-chrome-maximize-unfocused.png" alpha="0.9" x="0" y="0" width="width" height="height" colorize="white"/>
</draw_ops>
<draw_ops name="unmaximize_button_unfocused">
<image filename="window-chrome-unmaximize-unfocused.png" alpha="0.9" x="0" y="0" width="width" height="height" colorize="white"/>
</draw_ops>
<draw_ops name="close_button_unfocused">
<image filename="window-chrome-close-unfocused.png" alpha="0.9" x="0" y="0" width="width" height="height" colorize="white"/>
</draw_ops>
<!-- Normal / Not over state -->
<draw_ops name="minimize_button_not_over">
<include name="button_bkg"/>
<image filename="button-min-icon.png" alpha="1.0" x="0" y="0" width="width" height="height"/>
</draw_ops>
<draw_ops name="maximize_button_not_over">
<include name="button_bkg"/>
<image filename="button-max-icon.png" alpha="1.0" x="1" y="0" width="width" height="height"/>
</draw_ops>
<draw_ops name="unmaximize_button_not_over">
<include name="button_bkg"/>
<image filename="button-unmax-icon.png" alpha="1.0" x="0" y="0" width="width" height="height"/>
</draw_ops>
<draw_ops name="close_button_not_over">
<include name="button_bkg"/>
<image filename="button-close-icon.png" alpha="1.0" x="0" y="0" width="width" height="height"/>
</draw_ops>
<!-- Prelight / Mouse over state -->
<draw_ops name="minimize_button_prelight">
<image filename="button-bkg.png" alpha="1.0" x="0" y="0" width="width" height="height" />
<image filename="button-bkg.png" alpha="0.4" x="0" y="0" width="width" height="height" colorize="white"/>
<image filename="button-min-icon.png" alpha="1.0" x="0" y="0" width="width" height="height"/>
</draw_ops>
<draw_ops name="maximize_button_prelight">
<image filename="button-bkg.png" alpha="1.0" x="0" y="0" width="width" height="height" />
<image filename="button-bkg.png" alpha="0.4" x="0" y="0" width="width" height="height" colorize="white"/>
<image filename="button-max-icon.png" alpha="1.0" x="1" y="0" width="width" height="height"/>
</draw_ops>
<draw_ops name="unmaximize_button_prelight">
<image filename="button-bkg.png" alpha="1.0" x="0" y="0" width="width" height="height" />
<image filename="button-bkg.png" alpha="0.4" x="0" y="0" width="width" height="height" colorize="white"/>
<image filename="button-unmax-icon.png" alpha="1.0" x="0" y="0" width="width" height="height"/>
</draw_ops>
<draw_ops name="close_button_prelight">
<image filename="button-bkg.png" alpha="1.0" x="0" y="0" width="width" height="height" />
<image filename="button-bkg.png" alpha="0.6" x="0" y="0" width="width" height="height" colorize="red"/>
<image filename="button-close-icon.png" alpha="1.0" x="0" y="0" width="width" height="height"/>
</draw_ops>
<!-- Pressed State -->
<draw_ops name="minimize_button_pressed">
<include name="button_bkg_pressed"/>
<image filename="button-min-icon.png" alpha="1.0" x="1" y="1" width="width" height="height"/>
</draw_ops>
<draw_ops name="maximize_button_pressed">
<include name="button_bkg_pressed"/>
<image filename="button-max-icon.png" alpha="1.0" x="2" y="1" width="width" height="height"/>
</draw_ops>
<draw_ops name="unmaximize_button_pressed">
<include name="button_bkg_pressed"/>
<image filename="button-unmax-icon.png" alpha="1.0" x="1" y="1" width="width" height="height"/>
</draw_ops>
<draw_ops name="close_button_pressed">
<include name="button_bkg_pressed"/>
<image filename="button-bkg-pressed.png" alpha="0.4" x="0" y="0" width="width" height="height" colorize="red"/>
<image filename="button-close-icon.png" alpha="1.0" x="1" y="1" width="width" height="height"/>
</draw_ops>
<!-- ######################## -->
<draw_ops name="menu_button_unfocused">
<icon x="0" y="((height - (title_height + 6)) / 2) `max` 0" alpha="0.2" width="width" height="height"/>
</draw_ops>
<draw_ops name="menu_button_normal">
<icon x="0" y="((height - (title_height + 6)) / 2) `max` 0" alpha="1" width="width" height="height"/>
</draw_ops>
<draw_ops name="menu_button_pressed">
<icon x="0" y="((height - (title_height + 6)) / 2) `max` 0" alpha="0.5" width="width" height="height"/>
</draw_ops>
<draw_ops name="titlebar_focused">
<image filename="titlebar_center_gradient.png"
x="0" y="0" width="width" height="height" colorize="gtk:bg[SELECTED]"/>
<image filename="titlebar_left_gradient.png"
x="0" y="0" width="object_width" height="height" colorize="gtk:bg[SELECTED]"/>
<image filename="titlebar_right_gradient.png"
x="width-object_width" y="0" width="object_width" height="height" colorize="gtk:bg[SELECTED]"/>
</draw_ops>
<draw_ops name="titlebar_unfocused">
<image filename="titlebar_center_gradient_unfocused.png"
x="0" y="0" width="width" height="height" colorize="gtk:bg[SELECTED]"/>
<image filename="titlebar_left_gradient_unfocused.png"
x="0" y="0" width="object_width" height="height" colorize="gtk:bg[SELECTED]"/>
<image filename="titlebar_right_gradient_unfocused.png"
x="width-object_width" y="0" width="object_width" height="height" colorize="gtk:bg[SELECTED]"/>
</draw_ops>
<draw_ops name="titlebar_maximized">
<image filename="titlebar_center_gradient.png"
x="0" y="0" width="width" height="height" colorize="gtk:bg[SELECTED]"/>
</draw_ops>
<draw_ops name="title_text_focused">
<image filename="title_center_dimple_gradient.png"
x="19" y="0" width="width-(19*2)" height="height" colorize="gtk:bg[SELECTED]"/>
<image filename="title_left_dimple_gradient.png"
x="0" y="0" width="object_width" height="height" colorize="gtk:bg[SELECTED]" />
<image filename="title_right_dimple_gradient.png"
x="width-(object_width+1)" y="0" width="object_width" height="height" colorize="gtk:bg[SELECTED]"/>
<!-- <clip x="20" y="0" width="width-(40)" height="height" />
<title color="shade/gtk:bg[SELECTED]/0.75"
x="(3 `max` (width-title_width)) / 2 + 1"
y="(((height - title_height) / 2) `max` 0) + 2"/>-->
<title color="shade/gtk:bg[SELECTED]/0.75"
x="(3 `max` (width-title_width)) / 2 + 1"
y="(((height - title_height) / 2) `max` 0) + 2"/>
<title color="shade/gtk:bg[SELECTED]/0.7"
x="(3 `max` (width-title_width)) / 2 + 2"
y="(((height - title_height) / 2) `max` 0) + 2"/>
<title color="shade/gtk:bg[SELECTED]/0.4"
x="(3 `max` (width-title_width)) / 2 + 1"
y="(((height - title_height) / 2) `max` 0) + 1"/>
<title color="white"
x="(3 `max` (width-title_width)) / 2"
y="(((height - title_height) / 2) `max` 0)"/>
</draw_ops>
<draw_ops name="title_text_unfocused">
<image filename="title_center_dimple_gradient_unfocused.png"
x="14" y="0" width="width-(14*2)" height="height" colorize="gtk:bg[SELECTED]"/>
<image filename="title_left_dimple_gradient_unfocused.png"
x="0" y="0" width="object_width" height="height" colorize="gtk:bg[SELECTED]" />
<image filename="title_right_dimple_gradient_unfocused.png"
x="width-(object_width+1)" y="0" width="object_width" height="height" colorize="gtk:bg[SELECTED]"/>
<title color="white"
x="(3 `max` (width-title_width)) / 2"
y="((height - title_height) / 2) `max` 0"/>
</draw_ops>
<draw_ops name="corners_outline">
<!-- ** BLACK outlines around the round corners ** -->
<!-- top left -->
<line color="#000000" x1="1" y1="3" x2="1" y2="4"/>
<line color="#000000" x1="2" y1="2" x2="2" y2="2"/>
<line color="#000000" x1="3" y1="1" x2="4" y2="1"/>
<!-- bottom left -->
<!-- <line color="#000000" x1="1" y1="height-4" x2="1" y2="height-5"/>
<line color="#000000" x1="2" y1="height-3" x2="2" y2="height-3"/>
<line color="#000000" x1="2" y1="height-2" x2="4" y2="height-2"/> -->
<!-- top right -->
<line color="#000000" x1="width-2" y1="3" x2="width-2" y2="4"/>
<line color="#000000" x1="width-3" y1="2" x2="width-3" y2="2"/>
<line color="#000000" x1="width-4" y1="1" x2="width-5" y2="1"/>
<!-- bottom right -->
<!-- <line color="#000000" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/>
<line color="#000000" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
<line color="#000000" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/> -->
</draw_ops>
<draw_ops name="left_edge_focused">
<image filename="border-left.png" x="0" y="0" width="object_width" height="height" colorize="gtk:bg[SELECTED]"/>
</draw_ops>
<draw_ops name="right_edge_focused">
<image filename="border-right.png" x="0" y="0" width="object_width" height="height" colorize="gtk:bg[SELECTED]"/>
</draw_ops>
<draw_ops name="bottom_edge_focused">
<image filename="border-bottom.png" x="0" y="0" width="width" height="object_height" colorize="gtk:bg[SELECTED]"/>
</draw_ops>
<draw_ops name="left_edge_unfocused">
<image filename="border-left.png" x="0" y="0" width="object_width" height="height" colorize="gtk:bg[SELECTED]"/>
</draw_ops>
<draw_ops name="right_edge_unfocused">
<image filename="border-right.png" x="0" y="0" width="object_width" height="height" colorize="gtk:bg[SELECTED]"/>
</draw_ops>
<draw_ops name="bottom_edge_unfocused">
<image filename="border-bottom.png" x="0" y="0" width="width" height="object_height" colorize="gtk:bg[SELECTED]"/>
</draw_ops>
<draw_ops name="grips_focused">
<image filename="bottom-grip-left-corner.png"
x="0" y="height - object_height" width="object_width" height="object_height"/>
<image filename="bottom-grip-right-corner.png"
x="width - object_width" y="height - object_height"
width="object_height" height="object_height"/>
</draw_ops>
<draw_ops name="border_focused">
<rectangle color="#656565" x="0" y="0" width="width" height="height" filled="true"/>
</draw_ops>
<draw_ops name="border_unfocused">
<rectangle color="#4e43b8" x="0" y="0" width="width" height="height" filled="true"/>
<include name="corners_outline"/>
<rectangle color="black" x="0" y="0" width="width-1" height="height-1" filled="false"/>
</draw_ops>
<draw_ops name="grips_unfocused">
<include name="grips_focused"/>
<tint color="black" alpha="0.2" x="0" y="0" width="width" height="height"/>
</draw_ops>
<draw_ops name="blank">
<!-- nothing -->
</draw_ops>
<frame_style name="normal_unfocused" geometry="normal">
<piece position="entire_background" draw_ops="border_focused"/>
<piece position="titlebar" draw_ops="titlebar_unfocused"/>
<piece position="title" draw_ops="title_text_unfocused"/>
<piece position="left_edge" draw_ops="left_edge_unfocused"/>
<piece position="right_edge" draw_ops="right_edge_unfocused"/>
<piece position="bottom_edge" draw_ops="bottom_edge_unfocused"/>
<piece position="overlay" draw_ops="grips_unfocused"/>
<button function="close" state="normal" draw_ops="close_button_unfocused"/>
<button function="close" state="prelight" draw_ops="close_button_prelight"/>
<button function="close" state="pressed" draw_ops="close_button_pressed"/>
<button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/>
<button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/>
<button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/>
<button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/>
<button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/>
<button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/>
<button function="menu" state="normal" draw_ops="menu_button_unfocused"/>
<button function="menu" state="pressed" draw_ops="menu_button_unfocused"/>
</frame_style>
<frame_style name="normal_focused" geometry="normal">
<piece position="entire_background" draw_ops="border_focused"/>
<piece position="titlebar" draw_ops="titlebar_focused"/>
<piece position="title" draw_ops="title_text_focused"/>
<piece position="left_edge" draw_ops="left_edge_focused"/>
<piece position="right_edge" draw_ops="right_edge_focused"/>
<piece position="bottom_edge" draw_ops="bottom_edge_focused"/>
<piece position="overlay" draw_ops="grips_focused"/>
<button function="close" state="normal" draw_ops="close_button_not_over"/>
<button function="close" state="prelight" draw_ops="close_button_prelight"/>
<button function="close" state="pressed" draw_ops="close_button_pressed"/>
<button function="minimize" state="normal" draw_ops="minimize_button_not_over"/>
<button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/>
<button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/>
<button function="maximize" state="normal" draw_ops="maximize_button_not_over"/>
<button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/>
<button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/>
<button function="menu" state="normal" draw_ops="menu_button_normal"/>
<button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
</frame_style>
<frame_style name="normal_focused_shaded" geometry="normal_shaded" parent="normal_focused">
<piece position="overlay">
<draw_ops>
<line color="#2f2a66" x1="0" y1="height-1" x2="width" y2="height-1"/>
<line color="#2f2a66" x1="width-1" y1="0" x2="width-1" y2="height"/>
</draw_ops>
</piece>
</frame_style>
<frame_style name="normal_unfocused_shaded" geometry="normal_shaded" parent="normal_unfocused">
<piece position="overlay">
<draw_ops>
<line color="#2f2a66" x1="0" y1="height-1" x2="width" y2="height-1"/>
<line color="#2f2a66" x1="width-1" y1="0" x2="width-1" y2="height"/>
</draw_ops>
</piece>
</frame_style>
<frame_style name="maximized_unfocused" geometry="normal_maximized" parent="normal_unfocused">
<piece position="overlay" draw_ops="blank"/>
<piece position="titlebar" draw_ops="titlebar_maximized"/>
<button function="maximize" state="normal" draw_ops="unmaximize_button_unfocused"/>
<button function="maximize" state="prelight" draw_ops="unmaximize_button_prelight"/>
<button function="maximize" state="pressed" draw_ops="unmaximize_button_pressed"/>
</frame_style>
<frame_style name="maximized_focused" geometry="normal_maximized" parent="normal_focused">
<piece position="overlay" draw_ops="blank"/>
<piece position="titlebar" draw_ops="titlebar_maximized"/>
<button function="maximize" state="normal" draw_ops="unmaximize_button_not_over"/>
<button function="maximize" state="prelight" draw_ops="unmaximize_button_prelight"/>
<button function="maximize" state="pressed" draw_ops="unmaximize_button_pressed"/>
</frame_style>
<frame_style name="normal_focused_maximized_shaded" geometry="normal_maximized" parent="maximized_focused">
<piece position="overlay">
<draw_ops>
<line color="#2f2a66" x1="0" y1="height-1" x2="width" y2="height-1"/>
<line color="#2f2a66" x1="width-1" y1="0" x2="width-1" y2="height"/>
</draw_ops>
</piece>
</frame_style>
<frame_style name="normal_focused_unmaximized_shaded" geometry="normal_maximized" parent="maximized_unfocused">
<piece position="overlay">
<draw_ops>
<line color="#2f2a66" x1="0" y1="height-1" x2="width" y2="height-1"/>
<line color="#2f2a66" x1="width-1" y1="0" x2="width-1" y2="height"/>
</draw_ops>
</piece>
</frame_style>
<frame_style name="utility_unfocused" geometry="utility" parent="normal_unfocused">
<piece position="titlebar" draw_ops="titlebar_focused"/>
<piece position="title" draw_ops="title_text_unfocused"/>
</frame_style>
<frame_style name="utility_focused" geometry="utility" parent="normal_focused">
<piece position="title" draw_ops="title_text_focused"/>
</frame_style>
<frame_style name="border" geometry="border" parent="normal_focused">
<piece position="titlebar">
<draw_ops>
<include name="bottom_edge_focused"/>
</draw_ops>
</piece>
<piece position="overlay">
<draw_ops>
<include name="grips_focused"/>
<image filename="top-grip-left-corner.png"
x="0" y="0" width="object_width" height="object_height"/>
<image filename="top-grip-right-corner.png"
x="width - object_width" y="0"
width="object_height" height="object_height"/>
</draw_ops>
</piece>
<piece position="title" draw_ops="blank"/>
</frame_style>
<frame_style_set name="normal">
<frame focus="yes" state="normal" resize="both" style="normal_focused"/>
<frame focus="no" state="normal" resize="both" style="normal_unfocused"/>
<frame focus="yes" state="maximized" style="maximized_focused"/>
<frame focus="no" state="maximized" style="maximized_unfocused"/>
<frame focus="yes" state="shaded" style="normal_focused_shaded"/>
<frame focus="no" state="shaded" style="normal_unfocused_shaded"/>
<frame focus="yes" state="maximized_and_shaded" style="normal_focused_maximized_shaded"/>
<frame focus="no" state="maximized_and_shaded" style="normal_focused_unmaximized_shaded"/>
</frame_style_set>
<frame_style_set name="utility" parent="normal">
<frame focus="yes" state="normal" resize="both" style="utility_focused"/>
<frame focus="no" state="normal" resize="both" style="utility_unfocused"/>
<!-- this is a bunch of crack since utility windows shouldn't be maximized -->
<frame focus="yes" state="maximized" style="utility_focused"/>
<frame focus="no" state="maximized" style="utility_unfocused"/>
<frame focus="yes" state="shaded" style="utility_focused"/>
<frame focus="no" state="shaded" style="utility_unfocused"/>
<frame focus="yes" state="maximized_and_shaded" style="utility_focused"/>
<frame focus="no" state="maximized_and_shaded" style="utility_unfocused"/>
</frame_style_set>
<frame_style_set name="border">
<frame focus="yes" state="normal" resize="both" style="border"/>
<frame focus="no" state="normal" resize="both" style="border"/>
<!-- this is a bunch of crack since utility windows shouldn't be maximized -->
<frame focus="yes" state="maximized" style="border"/>
<frame focus="no" state="maximized" style="border"/>
<frame focus="yes" state="shaded" style="border"/>
<frame focus="no" state="shaded" style="border"/>
<frame focus="yes" state="maximized_and_shaded" style="border"/>
<frame focus="no" state="maximized_and_shaded" style="border"/>
</frame_style_set>
<window type="normal" style_set="normal"/>
<window type="dialog" style_set="normal"/>
<window type="modal_dialog" style_set="normal"/>
<window type="menu" style_set="utility"/>
<window type="utility" style_set="utility"/>
<window type="border" style_set="border"/>
<menu_icon function="close" state="normal" draw_ops="close_button_not_over"/>
<menu_icon function="maximize" state="normal" draw_ops="maximize_button_not_over"/>
<menu_icon function="unmaximize" state="normal" draw_ops="maximize_button_not_over"/>
<menu_icon function="minimize" state="normal" draw_ops="minimize_button_not_over"/>
</metacity_theme>

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 472 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 457 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 B

Some files were not shown because too many files have changed in this diff Show More