added eugtk examples
BIN
eugtk/examples/resources/Jerry.map
Normal file
7
eugtk/examples/resources/Justin.map
Normal file
@@ -0,0 +1,7 @@
|
||||
\#22name\#22 = \#22Justin Jones\#22
|
||||
\#22pix\#22 = \#22thumbnails/Justin.jpg\#22
|
||||
\#22bal\#22 = \#2212.99\#22
|
||||
\#22phone\#22 = \#22123\-456\-6789\#22
|
||||
\#22city\#22 = \#22Reno\#2C NV\#22
|
||||
\#22age\#22 = \#2214\#22
|
||||
\#22Data\#22 = {\#22Justin Jones\#22\#2C14\#2C12.99\#2C\#22Reno\#2C NV\#22\#2C\#22123\-456\-6789\#22\#2C\#22thumbnails/Justin.jpg\#22}
|
178
eugtk/examples/resources/README.html
Normal file
@@ -0,0 +1,178 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<title>README</title>
|
||||
<link rel="stylesheet" href="../documentation/style.css" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<header>
|
||||
<img src="../thumbnails/gtk-logo-rgb.gif" alt="GTK Logo">
|
||||
<img src="../thumbnails/mongoose.png" alt="OpenEuphoria Logo">
|
||||
<h1>EuGTK 4.11.10</h1>
|
||||
<h2 class='blue'>Programmer's Resources</h2>
|
||||
</header>
|
||||
|
||||
<h2 class='red'>Editors</h2>
|
||||
|
||||
<h3>WEE</h3>
|
||||
<p>
|
||||
I now use Pete Eberlein's WEE editor frequently, since it is cross-platform and designed for Euphoria source code.<br />
|
||||
<ol>
|
||||
<li>Create a folder called "Wee"</li>
|
||||
<li>Download <a href="https://github.com/peberlein/WEE/raw/master/updater.ex">
|
||||
https://github.com/peberlein/WEE/raw/master/updater.ex</a></li>
|
||||
<li>Run "eui updater.ex" to download/update the files for your platform.</li>
|
||||
<li>Run "eui wee" to run the editor, or compile/bind/shroud it for convenience.</li>
|
||||
</ol>
|
||||
|
||||
To set up [F1] key pop-up GTK help, follow <a href="../documentation/README.html#weemods">these directions.</a></li>
|
||||
|
||||
</p>
|
||||
<hr />
|
||||
<h3>Geany, gedit, pluma, GtkSourceView, etc...</h3>
|
||||
<p>
|
||||
In this folder are files which will add
|
||||
Euphoria and EuGTK syntax highlighting to editors above, and one-click run or compile capability to
|
||||
Geany.
|
||||
</p>
|
||||
<pre>
|
||||
To Install:
|
||||
|
||||
<u>For programs using GTK2 -- i.e. Geany, Pluma, etc.</u>
|
||||
|
||||
sudo cp euphoria.lang /usr/share/gtksourceview-2.0/language-specs/euphoria.lang
|
||||
sudo cp gedit_syntax.xml /usr/share/mime/packages/
|
||||
sudo cp classic.xml /usr/share/gtksourceview-2.0/styles/
|
||||
|
||||
<u>For programs using GTK3 -- i.e. EuGTK Sourceview</u>
|
||||
|
||||
sudo cp euphoria.lang /usr/share/gtksourceview-3.0/language-specs/euphoria.lang
|
||||
sudo cp gedit_syntax.xml /usr/share/mime/packages/
|
||||
sudo cp classic.xml /usr/share/gtksourceview-3.0/styles/
|
||||
|
||||
Actually, it doesn't hurt to do both :)
|
||||
|
||||
<u>Optional, if you prefer these styles:</u>
|
||||
sudo cp cobalt.xml /usr/share/gtksourceview-2.0/styles/
|
||||
sudo cp oblivion.xml /usr/share/gtksourceview-2.0/styles/
|
||||
sudo cp build.xml /usr/share/gtksourceview-2.0/styles/
|
||||
|
||||
sudo cp cobalt.xml /usr/share/gtksourceview-3.0/styles/
|
||||
sudo cp oblivion.xml /usr/share/gtksourceview-3.0/styles/
|
||||
sudo cp build.xml /usr/share/gtksourceview-3.0/styles/
|
||||
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
For Geany, enter the location of your GTK documentation in Geany's <i> context-action-cmd </i>
|
||||
accessed from the menu: Edit=>Preferences=>Tools=>Commands
|
||||
</p>
|
||||
|
||||
<div class="quote">
|
||||
<p>Example:<br />
|
||||
<code>
|
||||
context_action_cmd=firefox -new-tab file:///home/irv/gtk3/%s.html
|
||||
</code>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Once that's done, you can pop up docs on GtkWidgets in
|
||||
your Euphoria source code. Highlight the widget name, e.g. <u>GtkWindow</u>, then right-click and choose context action.
|
||||
You could also set up a geany keybinding for this, such as alt-i.
|
||||
In the example above, you may prefer to use -new-window instead of -new-tab,
|
||||
or perhaps -search in order to use your default on-line search engine.
|
||||
</p>
|
||||
|
||||
<div class="hint">
|
||||
<img class="hint" src="../thumbnails/hint.png" alt="hint" width="100px" align="left" float="right" />
|
||||
<p>
|
||||
If you are connected to a local network, but <i>not</i> the internet, links in the GTK docs may
|
||||
try to load images, etc from off-site. This will slow or stop you from getting the help you need.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
<h3>GtkSourceView</h3>
|
||||
<p>
|
||||
Gtk has its own editor, with syntax highlighting for over 100 programming languages,
|
||||
which now works as a EuGTK plugin (see <a href="../test201.ex">test201.ex</a>. With
|
||||
EuGTK 4.11.3, I'm now using this for most editing tasks. It uses the syntax
|
||||
highlighting files shown above for GTK3.
|
||||
</p>
|
||||
<p>The GtkSourceView editor is also used in <a href="../BEAR.ex">Bear.ex</a>,
|
||||
which can edit and test run source code as well as view and edit html pages.
|
||||
</p>
|
||||
<hr />
|
||||
<h3>Glade</h3>
|
||||
<p>
|
||||
You can use Glade to visually (drag and drop) design your interface. You'll still need to write some
|
||||
'glue' code to link signals to Euphoria functions, just as you would with VisualBasic™, etc., so a text
|
||||
editor such as WEE will still be necessary. See <a href="../documentation/Glade.html">Glade.html</a>.
|
||||
</p>
|
||||
<hr />
|
||||
|
||||
<h4>Other files here</h4>
|
||||
<p>
|
||||
<ul>
|
||||
<li><a href="themeicons.txt">themeicons.txt</a>
|
||||
<dd>this is generated by <a href="../examples/icons.ex">icons.ex</a>, and lists the names of icons
|
||||
available in the current theme.</dd>
|
||||
</li>
|
||||
|
||||
<li><a href="xcolors.txt">xcolors.txt</a>
|
||||
<dd>this is a list of color names generated by xcolors, in case you
|
||||
don't have xcolors or access to the web.</dd>
|
||||
</li>
|
||||
|
||||
<li><a href="papersizes.txt">papersizes.txt</a>
|
||||
<dd>a list of paper size names for possible use when setting up a print process.</dd>
|
||||
</li>
|
||||
|
||||
<li><a href="words.txt">words.txt</a>
|
||||
<dd>21,084 english words used by the hangman demo.</dd>
|
||||
</li>
|
||||
|
||||
<li><a href="notebook_pages.txt">notebook_pages.txt</a>
|
||||
<dd>content for <a href="../test155.ex">test155.ex.</a></dd>
|
||||
</li>
|
||||
|
||||
<li>colorcode folder
|
||||
<dd>contains resistor images created by me using Gimp.</dd>
|
||||
</li>
|
||||
|
||||
<li>flags folder
|
||||
<dd>contains 247 flags, all in the public domain.</dd>
|
||||
</li>
|
||||
|
||||
<li>gedit_syntax folder
|
||||
<dd>contains Mario Steele's color coding for GEdit, Pluma, and GtkSourceView.</dd>
|
||||
</li>
|
||||
|
||||
<li>*.css files
|
||||
<dd>various css files to support demos</dd>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</p>
|
||||
<footer>
|
||||
<div class="hint">
|
||||
<img class="hint" src="../thumbnails/mongoose.png" alt="hint" align="left" float="right" />
|
||||
<p>
|
||||
This page edited by The <a href="../documentation/README.html#bear">Bear</a>,
|
||||
a web-page and programming editor
|
||||
written in <a href="OpenEuphoria.org">Euphoria</a>.
|
||||
</p>
|
||||
<p>
|
||||
Updated for EuGTK version 4.11.11 Sept 1, 2016<br />
|
||||
All code © 2016 by Irv Mullins
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
17
eugtk/examples/resources/a.e
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace a
|
||||
|
||||
include GtkEngine.e
|
||||
|
||||
export constant color = "red"
|
||||
|
||||
constant win = create(GtkWindow,{ -- this window is NOT exported
|
||||
{"name","a:window"}, -- note that this name must include the namespace!
|
||||
{"move",200,300},
|
||||
{"title","Window A"}})
|
||||
|
||||
show_all(win)
|
||||
|
||||
export function clear()
|
||||
set(win,"background",#dddddd)
|
||||
return 1
|
||||
end function
|
BIN
eugtk/examples/resources/apple-red.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
17
eugtk/examples/resources/b.e
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace b
|
||||
|
||||
include GtkEngine.e
|
||||
|
||||
export constant color = "green"
|
||||
|
||||
constant win = create(GtkWindow,{ -- not this window is NOT exported.
|
||||
{"name","b:window"}, -- you must include the namespace as part of name
|
||||
{"move",400,700},
|
||||
{"title","Window B"}})
|
||||
|
||||
show_all(win)
|
||||
|
||||
export function clear()
|
||||
set(win,"background",#dddddd)
|
||||
return 1
|
||||
end function
|
BIN
eugtk/examples/resources/background.jpg
Normal file
After Width: | Height: | Size: 22 KiB |
1050
eugtk/examples/resources/clown.e
Normal file
20
eugtk/examples/resources/colorcode/README.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<head>
|
||||
<title>Color Codes</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<img src="rcc.jpg" alt="RCC" />
|
||||
|
||||
<hr />
|
||||
<h3>Resistor Color Codes</h3>
|
||||
<hr />
|
||||
|
||||
<p>
|
||||
The images in this folder were created by me, using Gimp.
|
||||
No copyright applies...
|
||||
</p>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
BIN
eugtk/examples/resources/colorcode/bar.jpg
Normal file
After Width: | Height: | Size: 613 B |
BIN
eugtk/examples/resources/colorcode/bar0.jpg
Normal file
After Width: | Height: | Size: 644 B |
BIN
eugtk/examples/resources/colorcode/bar1.jpg
Normal file
After Width: | Height: | Size: 583 B |
BIN
eugtk/examples/resources/colorcode/bar10.jpg
Normal file
After Width: | Height: | Size: 650 B |
BIN
eugtk/examples/resources/colorcode/bar11.jpg
Normal file
After Width: | Height: | Size: 658 B |
BIN
eugtk/examples/resources/colorcode/bar2.jpg
Normal file
After Width: | Height: | Size: 612 B |
BIN
eugtk/examples/resources/colorcode/bar3.jpg
Normal file
After Width: | Height: | Size: 621 B |
BIN
eugtk/examples/resources/colorcode/bar4.jpg
Normal file
After Width: | Height: | Size: 646 B |
BIN
eugtk/examples/resources/colorcode/bar5.jpg
Normal file
After Width: | Height: | Size: 658 B |
BIN
eugtk/examples/resources/colorcode/bar6.jpg
Normal file
After Width: | Height: | Size: 646 B |
BIN
eugtk/examples/resources/colorcode/bar7.jpg
Normal file
After Width: | Height: | Size: 618 B |
BIN
eugtk/examples/resources/colorcode/bar8.jpg
Normal file
After Width: | Height: | Size: 648 B |
BIN
eugtk/examples/resources/colorcode/bar9.jpg
Normal file
After Width: | Height: | Size: 654 B |
BIN
eugtk/examples/resources/colorcode/end1.jpg
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
eugtk/examples/resources/colorcode/end2.jpg
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
eugtk/examples/resources/colorcode/end3.jpg
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
eugtk/examples/resources/colorcode/leftend.jpg
Normal file
After Width: | Height: | Size: 943 B |
BIN
eugtk/examples/resources/colorcode/rcc.jpg
Normal file
After Width: | Height: | Size: 11 KiB |
142
eugtk/examples/resources/css_multiplebgs.css
Normal file
@@ -0,0 +1,142 @@
|
||||
/* You can edit the text in this window to change the
|
||||
* appearance of this Window.
|
||||
* Be careful, if you screw it up, nothing might be visible
|
||||
* anymore. :)
|
||||
*/
|
||||
|
||||
/* This CSS resets all properties to their defaults values
|
||||
* and overrides all user settings and the theme in use */
|
||||
|
||||
@import url("cssview.css");
|
||||
|
||||
#canvas {
|
||||
transition-property: background-color, background-image;
|
||||
transition-duration: 0.5s;
|
||||
|
||||
background-color: #4870bc;
|
||||
}
|
||||
|
||||
/* The gradients below are adapted versions of Lea Verou's CSS3 patterns,
|
||||
* licensed under the MIT license:
|
||||
* Copyright (c) 2011 Lea Verou, http://lea.verou.me/
|
||||
*
|
||||
* See https://github.com/LeaVerou/CSS3-Patterns-Gallery
|
||||
*/
|
||||
|
||||
/**********
|
||||
* Bricks *
|
||||
**********/
|
||||
|
||||
@define-color brick_hi #d42;
|
||||
@define-color brick_lo #b42;
|
||||
@define-color brick_hi_backdrop #888;
|
||||
@define-color brick_lo_backdrop #999;
|
||||
|
||||
#bricks {
|
||||
background-color: #999;
|
||||
background-image: linear-gradient(205deg, @brick_lo, @brick_lo 23px, transparent 23px),
|
||||
linear-gradient(25deg, @brick_hi, @brick_hi 23px, transparent 23px),
|
||||
linear-gradient(205deg, @brick_lo, @brick_lo 23px, transparent 23px),
|
||||
linear-gradient(25deg, @brick_hi, @brick_hi 23px, transparent 23px);
|
||||
background-size: 58px 58px;
|
||||
background-position: 0px 6px, 4px 31px, 29px 35px, 34px 2px;
|
||||
}
|
||||
|
||||
#bricks:backdrop {
|
||||
background-color: #444;
|
||||
background-image: linear-gradient(205deg, @brick_lo_backdrop, @brick_lo_backdrop 23px, transparent 23px),
|
||||
linear-gradient(25deg, @brick_hi_backdrop, @brick_hi_backdrop 23px, transparent 23px),
|
||||
linear-gradient(205deg, @brick_lo_backdrop, @brick_lo_backdrop 23px, transparent 23px),
|
||||
linear-gradient(25deg, @brick_hi_backdrop, @brick_hi_backdrop 23px, transparent 23px);
|
||||
background-size: 58px 58px;
|
||||
background-position: 0px 6px, 4px 31px, 29px 35px, 34px 2px;
|
||||
}
|
||||
|
||||
|
||||
/**********
|
||||
* Tartan *
|
||||
**********/
|
||||
|
||||
@define-color tartan_bg #662e2c;
|
||||
@define-color tartan_bg_backdrop #333;
|
||||
|
||||
#tartan {
|
||||
background-color: @tartan_bg;
|
||||
background-image: repeating-linear-gradient(transparent, transparent 50px, rgba(0,0,0,.4) 50px,
|
||||
rgba(0,0,0,.4) 53px, transparent 53px, transparent 63px,
|
||||
rgba(0,0,0,.4) 63px, rgba(0,0,0,.4) 66px, transparent 66px,
|
||||
transparent 116px, rgba(0,0,0,.5) 116px, rgba(0,0,0,.5) 166px,
|
||||
rgba(255,255,255,.2) 166px, rgba(255,255,255,.2) 169px, rgba(0,0,0,.5) 169px,
|
||||
rgba(0,0,0,.5) 179px, rgba(255,255,255,.2) 179px, rgba(255,255,255,.2) 182px,
|
||||
rgba(0,0,0,.5) 182px, rgba(0,0,0,.5) 232px, transparent 232px),
|
||||
repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(0,0,0,.4) 50px, rgba(0,0,0,.4) 53px,
|
||||
transparent 53px, transparent 63px, rgba(0,0,0,.4) 63px, rgba(0,0,0,.4) 66px,
|
||||
transparent 66px, transparent 116px, rgba(0,0,0,.5) 116px, rgba(0,0,0,.5) 166px,
|
||||
rgba(255,255,255,.2) 166px, rgba(255,255,255,.2) 169px, rgba(0,0,0,.5) 169px,
|
||||
rgba(0,0,0,.5) 179px, rgba(255,255,255,.2) 179px, rgba(255,255,255,.2) 182px,
|
||||
rgba(0,0,0,.5) 182px, rgba(0,0,0,.5) 232px, transparent 232px),
|
||||
repeating-linear-gradient(-55deg, transparent, transparent 1px, rgba(0,0,0,.2) 1px, rgba(0,0,0,.2) 4px,
|
||||
transparent 4px, transparent 19px, rgba(0,0,0,.2) 19px,
|
||||
rgba(0,0,0,.2) 24px, transparent 24px, transparent 51px, rgba(0,0,0,.2) 51px,
|
||||
rgba(0,0,0,.2) 54px, transparent 54px, transparent 74px);
|
||||
}
|
||||
|
||||
#tartan:backdrop {
|
||||
background-color: @tartan_bg_backdrop;
|
||||
}
|
||||
|
||||
/***********
|
||||
* Stripes *
|
||||
***********/
|
||||
|
||||
@define-color base_bg #4870bc;
|
||||
@define-color backdrop_bg #555;
|
||||
|
||||
#stripes {
|
||||
background-color: @base_bg;
|
||||
background-image: linear-gradient(to left, transparent, rgba(255,255,255,.07) 50%, transparent 50%),
|
||||
linear-gradient(to left, transparent, rgba(255,255,255,.13) 50%, transparent 50%),
|
||||
linear-gradient(to left, transparent, transparent 50%, rgba(255,255,255,.17) 50%),
|
||||
linear-gradient(to left, transparent, transparent 50%, rgba(255,255,255,.19) 50%);
|
||||
background-size: 29px, 59px, 73px, 109px;
|
||||
}
|
||||
|
||||
#stripes:backdrop {
|
||||
background-color: @backdrop_bg;
|
||||
}
|
||||
|
||||
/***************
|
||||
* Lined Paper *
|
||||
***************/
|
||||
|
||||
#lined_paper {
|
||||
background-color: #fff;
|
||||
background-image: linear-gradient(90deg, transparent 79px, alpha(#f98195, 0.40) 79px, #f98195 80px, alpha(#f98195, 0.40) 81px, transparent 81px),
|
||||
linear-gradient(alpha(#77c5cf, 0.60), alpha(#77c5cf, 0.60) 1px, transparent 1px);
|
||||
background-size: 100% 36px;
|
||||
}
|
||||
|
||||
#lined_paper:backdrop {
|
||||
background-color: #f1f2f4;
|
||||
background-image: linear-gradient(90deg, transparent 79px, alpha(#999, 0.40) 79px, #999 80px, alpha(#999, 0.40) 81px, transparent 81px),
|
||||
linear-gradient(alpha(#bbb, 0.60), alpha(#bbb, 0.60) 1px, transparent 1px);
|
||||
}
|
||||
|
||||
/************
|
||||
* Info Box *
|
||||
************/
|
||||
|
||||
#Info {
|
||||
background-image: url("background.jpg");
|
||||
}
|
||||
|
||||
#Info_label {
|
||||
color: white;
|
||||
font: Purisa, Comic Sans 24;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
76
eugtk/examples/resources/css_pixbufs.css
Normal file
@@ -0,0 +1,76 @@
|
||||
/* You can edit the text in this window to change the
|
||||
* appearance of this Window.
|
||||
* Be careful, if you screw it up, nothing might be visible
|
||||
* anymore. :)
|
||||
*/
|
||||
|
||||
/* This CSS resets all properties to their defaults values
|
||||
* and overrides all user settings and the theme in use */
|
||||
@import url("../resources/reset.css");
|
||||
@import url("../resources/cssview.css");
|
||||
|
||||
@keyframes move-the-image {
|
||||
0% { background-position: 50.00% 75.00%, 67.68% 67.68%, 75.00% 50.00%, 67.68% 32.32%, 50.00% 25.00%, 32.32% 32.32%, 25.00% 50.00%, 32.32% 67.68%, 0% 0%; }
|
||||
3.125% { background-position: 55.19% 76.11%, 72.14% 64.79%, 76.11% 44.81%, 64.79% 27.86%, 44.81% 23.89%, 27.86% 35.21%, 23.89% 55.19%, 35.21% 72.14%, 0% 0%; }
|
||||
6.25% { background-position: 60.79% 76.04%, 76.04% 60.79%, 76.04% 39.21%, 60.79% 23.96%, 39.21% 23.96%, 23.96% 39.21%, 23.96% 60.79%, 39.21% 76.04%, 0% 0%; }
|
||||
9.375% { background-position: 66.46% 74.64%, 79.06% 55.78%, 74.64% 33.54%, 55.78% 20.94%, 33.54% 25.36%, 20.94% 44.22%, 25.36% 66.46%, 44.22% 79.06%, 0% 0%; }
|
||||
12.5% { background-position: 71.84% 71.84%, 80.89% 50.00%, 71.84% 28.16%, 50.00% 19.11%, 28.16% 28.16%, 19.11% 50.00%, 28.16% 71.84%, 50.00% 80.89%, 0% 0%; }
|
||||
15.625% { background-position: 76.55% 67.74%, 81.32% 43.77%, 67.74% 23.45%, 43.77% 18.68%, 23.45% 32.26%, 18.68% 56.23%, 32.26% 76.55%, 56.23% 81.32%, 0% 0%; }
|
||||
18.75% { background-position: 80.21% 62.51%, 80.21% 37.49%, 62.51% 19.79%, 37.49% 19.79%, 19.79% 37.49%, 19.79% 62.51%, 37.49% 80.21%, 62.51% 80.21%, 0% 0%; }
|
||||
21.875% { background-position: 82.54% 56.47%, 77.58% 31.57%, 56.47% 17.46%, 31.57% 22.42%, 17.46% 43.53%, 22.42% 68.43%, 43.53% 82.54%, 68.43% 77.58%, 0% 0%; }
|
||||
25% { background-position: 83.33% 50.00%, 73.57% 26.43%, 50.00% 16.67%, 26.43% 26.43%, 16.67% 50.00%, 26.43% 73.57%, 50.00% 83.33%, 73.57% 73.57%, 0% 0%; }
|
||||
28.125% { background-position: 82.54% 43.53%, 68.43% 22.42%, 43.53% 17.46%, 22.42% 31.57%, 17.46% 56.47%, 31.57% 77.58%, 56.47% 82.54%, 77.58% 68.43%, 0% 0%; }
|
||||
31.25% { background-position: 80.21% 37.49%, 62.51% 19.79%, 37.49% 19.79%, 19.79% 37.49%, 19.79% 62.51%, 37.49% 80.21%, 62.51% 80.21%, 80.21% 62.51%, 0% 0%; }
|
||||
34.375% { background-position: 76.55% 32.26%, 56.23% 18.68%, 32.26% 23.45%, 18.68% 43.77%, 23.45% 67.74%, 43.77% 81.32%, 67.74% 76.55%, 81.32% 56.23%, 0% 0%; }
|
||||
37.5% { background-position: 71.84% 28.16%, 50.00% 19.11%, 28.16% 28.16%, 19.11% 50.00%, 28.16% 71.84%, 50.00% 80.89%, 71.84% 71.84%, 80.89% 50.00%, 0% 0%; }
|
||||
40.625% { background-position: 66.46% 25.36%, 44.22% 20.94%, 25.36% 33.54%, 20.94% 55.78%, 33.54% 74.64%, 55.78% 79.06%, 74.64% 66.46%, 79.06% 44.22%, 0% 0%; }
|
||||
43.75% { background-position: 60.79% 23.96%, 39.21% 23.96%, 23.96% 39.21%, 23.96% 60.79%, 39.21% 76.04%, 60.79% 76.04%, 76.04% 60.79%, 76.04% 39.21%, 0% 0%; }
|
||||
46.875% { background-position: 55.19% 23.89%, 35.21% 27.86%, 23.89% 44.81%, 27.86% 64.79%, 44.81% 76.11%, 64.79% 72.14%, 76.11% 55.19%, 72.14% 35.21%, 0% 0%; }
|
||||
50% { background-position: 50.00% 25.00%, 32.32% 32.32%, 25.00% 50.00%, 32.32% 67.68%, 50.00% 75.00%, 67.68% 67.68%, 75.00% 50.00%, 67.68% 32.32%, 0% 0%; }
|
||||
53.125% { background-position: 45.44% 27.07%, 30.57% 37.01%, 27.07% 54.56%, 37.01% 69.43%, 54.56% 72.93%, 69.43% 62.99%, 72.93% 45.44%, 62.99% 30.57%, 0% 0%; }
|
||||
56.25% { background-position: 41.65% 29.85%, 29.85% 41.65%, 29.85% 58.35%, 41.65% 70.15%, 58.35% 70.15%, 70.15% 58.35%, 70.15% 41.65%, 58.35% 29.85%, 0% 0%; }
|
||||
59.375% { background-position: 38.68% 33.06%, 30.02% 46.03%, 33.06% 61.32%, 46.03% 69.98%, 61.32% 66.94%, 69.98% 53.97%, 66.94% 38.68%, 53.97% 30.02%, 0% 0%; }
|
||||
62.5% { background-position: 36.49% 36.49%, 30.89% 50.00%, 36.49% 63.51%, 50.00% 69.11%, 63.51% 63.51%, 69.11% 50.00%, 63.51% 36.49%, 50.00% 30.89%, 0% 0%; }
|
||||
65.625% { background-position: 34.97% 39.96%, 32.28% 53.53%, 39.96% 65.03%, 53.53% 67.72%, 65.03% 60.04%, 67.72% 46.47%, 60.04% 34.97%, 46.47% 32.28%, 0% 0%; }
|
||||
68.75% { background-position: 34.02% 43.38%, 34.02% 56.62%, 43.38% 65.98%, 56.62% 65.98%, 65.98% 56.62%, 65.98% 43.38%, 56.62% 34.02%, 43.38% 34.02%, 0% 0%; }
|
||||
71.875% { background-position: 33.50% 46.72%, 36.01% 59.35%, 46.72% 66.50%, 59.35% 63.99%, 66.50% 53.28%, 63.99% 40.65%, 53.28% 33.50%, 40.65% 36.01%, 0% 0%; }
|
||||
75% { background-position: 33.33% 50.00%, 38.21% 61.79%, 50.00% 66.67%, 61.79% 61.79%, 66.67% 50.00%, 61.79% 38.21%, 50.00% 33.33%, 38.21% 38.21%, 0% 0%; }
|
||||
78.125% { background-position: 33.50% 53.28%, 40.65% 63.99%, 53.28% 66.50%, 63.99% 59.35%, 66.50% 46.72%, 59.35% 36.01%, 46.72% 33.50%, 36.01% 40.65%, 0% 0%; }
|
||||
81.25% { background-position: 34.02% 56.62%, 43.38% 65.98%, 56.62% 65.98%, 65.98% 56.62%, 65.98% 43.38%, 56.62% 34.02%, 43.38% 34.02%, 34.02% 43.38%, 0% 0%; }
|
||||
84.375% { background-position: 34.97% 60.04%, 46.47% 67.72%, 60.04% 65.03%, 67.72% 53.53%, 65.03% 39.96%, 53.53% 32.28%, 39.96% 34.97%, 32.28% 46.47%, 0% 0%; }
|
||||
87.5% { background-position: 36.49% 63.51%, 50.00% 69.11%, 63.51% 63.51%, 69.11% 50.00%, 63.51% 36.49%, 50.00% 30.89%, 36.49% 36.49%, 30.89% 50.00%, 0% 0%; }
|
||||
90.625% { background-position: 38.68% 66.94%, 53.97% 69.98%, 66.94% 61.32%, 69.98% 46.03%, 61.32% 33.06%, 46.03% 30.02%, 33.06% 38.68%, 30.02% 53.97%, 0% 0%; }
|
||||
93.75% { background-position: 41.65% 70.15%, 58.35% 70.15%, 70.15% 58.35%, 70.15% 41.65%, 58.35% 29.85%, 41.65% 29.85%, 29.85% 41.65%, 29.85% 58.35%, 0% 0%; }
|
||||
96.875% { background-position: 45.44% 72.93%, 62.99% 69.43%, 72.93% 54.56%, 69.43% 37.01%, 54.56% 27.07%, 37.01% 30.57%, 27.07% 45.44%, 30.57% 62.99%, 0% 0%; }
|
||||
100% { background-position: 50.00% 75.00%, 67.68% 67.68%, 75.00% 50.00%, 67.68% 32.32%, 50.00% 25.00%, 32.32% 32.32%, 25.00% 50.00%, 32.32% 67.68%, 0% 0%; }
|
||||
}
|
||||
|
||||
@keyframes size-the-image {
|
||||
0% { background-size: 96px, 12px, 96px, 12px, 96px, 12px, 96px, 12px, auto }
|
||||
100% { background-size: 12px, 96px, 12px, 96px, 12px, 96px, 12px, 96px, auto }
|
||||
}
|
||||
|
||||
GtkWindow {
|
||||
background-image: url("../resources/apple-red.png"),
|
||||
url("../resources/gnome-applets.png"),
|
||||
url("../resources/gnome-calendar.png"),
|
||||
url("../resources/gnome-foot.png"),
|
||||
url("../resources/gnome-gmush.png"),
|
||||
url("../resources/gnome-gimp.png"),
|
||||
url("../resources/gnome-gsame.png"),
|
||||
url("../resources/gnu-keys.png"),
|
||||
url("../resources/background.jpg");
|
||||
background-position: 50.00% 75.00%, 67.68% 67.68%, 75.00% 50.00%, 67.68% 32.32%, 50.00% 25.00%, 32.32% 32.32%, 25.00% 50.00%, 32.32% 67.68%, 0% 0%;
|
||||
background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat;
|
||||
animation: move-the-image infinite linear 3s, size-the-image infinite alternate ease-in-out 0.75s;
|
||||
}
|
||||
|
||||
/* Make the text editor has a nice style */
|
||||
.view, .scrollbar, .pane-separator {
|
||||
color: black;
|
||||
background-color: rgba(255,255,255,0.5);
|
||||
}
|
||||
|
||||
.view:selected {
|
||||
background-color: rgba(127,127,255,0.5);
|
||||
}
|
41
eugtk/examples/resources/cssview.css
Normal file
@@ -0,0 +1,41 @@
|
||||
/* Make the text editor has a nice style */
|
||||
.view {
|
||||
color: #2e3436;
|
||||
font: Monospace;
|
||||
background-color: alpha(white, 0.30);
|
||||
}
|
||||
|
||||
.view:selected {
|
||||
color: white;
|
||||
background-color: #4a90d9;
|
||||
}
|
||||
|
||||
.scrollbar.trough,
|
||||
.scrollbars-junction {
|
||||
background-color: alpha(white, 0.80);
|
||||
}
|
||||
|
||||
.scrollbar.slider {
|
||||
border-width: 3px;
|
||||
border-style: solid;
|
||||
border-radius: 10px;
|
||||
border-color: transparent;
|
||||
background-clip: padding-box;
|
||||
background-color: #999;
|
||||
}
|
||||
|
||||
.scrollbar.slider:prelight {
|
||||
background-color: #555;
|
||||
}
|
||||
|
||||
.pane-separator {
|
||||
background-color: alpha(white, 0.80);
|
||||
background-image: linear-gradient(transparent, transparent 1px, #999 1px, #999 4px, transparent 4px);
|
||||
background-size: 40px auto;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.pane-separator:prelight {
|
||||
background-image: linear-gradient(transparent, transparent 1px, #555 1px, #555 4px, transparent 4px);
|
||||
}
|
1
eugtk/examples/resources/eu.cfg
Normal file
@@ -0,0 +1 @@
|
||||
~/demos
|
19
eugtk/examples/resources/flags/README.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<head>
|
||||
<title>Flags</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<img src="flags-united_states.png" alt="US Flag">
|
||||
|
||||
<hr />
|
||||
<h3>World Flags</h3>
|
||||
<hr />
|
||||
|
||||
<p>
|
||||
All these flag images are in the public domain.
|
||||
</p>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
BIN
eugtk/examples/resources/flags/flags-afghanistan.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
eugtk/examples/resources/flags/flags-aland.png
Normal file
After Width: | Height: | Size: 450 B |
BIN
eugtk/examples/resources/flags/flags-albania.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
eugtk/examples/resources/flags/flags-alderney.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
eugtk/examples/resources/flags/flags-algeria.png
Normal file
After Width: | Height: | Size: 983 B |
BIN
eugtk/examples/resources/flags/flags-american_samoa.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
eugtk/examples/resources/flags/flags-andorra.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
eugtk/examples/resources/flags/flags-angola.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
eugtk/examples/resources/flags/flags-anguilla.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
eugtk/examples/resources/flags/flags-antarctica.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
eugtk/examples/resources/flags/flags-antigua_and_barbuda.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
eugtk/examples/resources/flags/flags-argentina.png
Normal file
After Width: | Height: | Size: 727 B |
BIN
eugtk/examples/resources/flags/flags-armenia.png
Normal file
After Width: | Height: | Size: 251 B |
BIN
eugtk/examples/resources/flags/flags-aruba.png
Normal file
After Width: | Height: | Size: 666 B |
BIN
eugtk/examples/resources/flags/flags-australia.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
eugtk/examples/resources/flags/flags-austria.png
Normal file
After Width: | Height: | Size: 251 B |
BIN
eugtk/examples/resources/flags/flags-azerbaijan.png
Normal file
After Width: | Height: | Size: 638 B |
BIN
eugtk/examples/resources/flags/flags-azores.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
eugtk/examples/resources/flags/flags-bahamas.png
Normal file
After Width: | Height: | Size: 681 B |
BIN
eugtk/examples/resources/flags/flags-bahrain.png
Normal file
After Width: | Height: | Size: 730 B |
BIN
eugtk/examples/resources/flags/flags-bangladesh.png
Normal file
After Width: | Height: | Size: 771 B |
BIN
eugtk/examples/resources/flags/flags-barbados.png
Normal file
After Width: | Height: | Size: 815 B |
BIN
eugtk/examples/resources/flags/flags-belgium.png
Normal file
After Width: | Height: | Size: 276 B |
BIN
eugtk/examples/resources/flags/flags-belize.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
eugtk/examples/resources/flags/flags-benin.png
Normal file
After Width: | Height: | Size: 290 B |
BIN
eugtk/examples/resources/flags/flags-bermuda.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
eugtk/examples/resources/flags/flags-bhutan.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
eugtk/examples/resources/flags/flags-bolivia.png
Normal file
After Width: | Height: | Size: 716 B |
BIN
eugtk/examples/resources/flags/flags-bonaire.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
eugtk/examples/resources/flags/flags-bosnia_and_herzegovina.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
eugtk/examples/resources/flags/flags-botswana.png
Normal file
After Width: | Height: | Size: 290 B |
BIN
eugtk/examples/resources/flags/flags-brazil.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 5.6 KiB |
BIN
eugtk/examples/resources/flags/flags-british_virgin_islands.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
eugtk/examples/resources/flags/flags-brunei.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
eugtk/examples/resources/flags/flags-bulgaria.png
Normal file
After Width: | Height: | Size: 254 B |
BIN
eugtk/examples/resources/flags/flags-burkina_faso.png
Normal file
After Width: | Height: | Size: 566 B |
BIN
eugtk/examples/resources/flags/flags-burundi.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
eugtk/examples/resources/flags/flags-cambodia.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
eugtk/examples/resources/flags/flags-cameroon.png
Normal file
After Width: | Height: | Size: 536 B |
BIN
eugtk/examples/resources/flags/flags-canada.png
Normal file
After Width: | Height: | Size: 838 B |
BIN
eugtk/examples/resources/flags/flags-cape_verde.png
Normal file
After Width: | Height: | Size: 836 B |
BIN
eugtk/examples/resources/flags/flags-cayman_islands.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 647 B |
BIN
eugtk/examples/resources/flags/flags-chad.png
Normal file
After Width: | Height: | Size: 285 B |
BIN
eugtk/examples/resources/flags/flags-chile.png
Normal file
After Width: | Height: | Size: 584 B |
BIN
eugtk/examples/resources/flags/flags-christmas_island.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
eugtk/examples/resources/flags/flags-cocos_(keeling)_islands.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
eugtk/examples/resources/flags/flags-colombia.png
Normal file
After Width: | Height: | Size: 273 B |
BIN
eugtk/examples/resources/flags/flags-comoros.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
eugtk/examples/resources/flags/flags-cook_islands.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
eugtk/examples/resources/flags/flags-costa_rica.png
Normal file
After Width: | Height: | Size: 259 B |
BIN
eugtk/examples/resources/flags/flags-cote_d'ivoire.png
Normal file
After Width: | Height: | Size: 278 B |
BIN
eugtk/examples/resources/flags/flags-croatia.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
eugtk/examples/resources/flags/flags-cuba.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
eugtk/examples/resources/flags/flags-cyprus.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
eugtk/examples/resources/flags/flags-czech_republic.png
Normal file
After Width: | Height: | Size: 982 B |
After Width: | Height: | Size: 2.0 KiB |
BIN
eugtk/examples/resources/flags/flags-denmark.png
Normal file
After Width: | Height: | Size: 395 B |
BIN
eugtk/examples/resources/flags/flags-djibouti.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
eugtk/examples/resources/flags/flags-dominica.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
eugtk/examples/resources/flags/flags-dominican_republic.png
Normal file
After Width: | Height: | Size: 844 B |
BIN
eugtk/examples/resources/flags/flags-east_timor.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
eugtk/examples/resources/flags/flags-ecuador.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
eugtk/examples/resources/flags/flags-egypt.png
Normal file
After Width: | Height: | Size: 713 B |
BIN
eugtk/examples/resources/flags/flags-el_salvador.png
Normal file
After Width: | Height: | Size: 768 B |
BIN
eugtk/examples/resources/flags/flags-equatorial_guinea.png
Normal file
After Width: | Height: | Size: 1.1 KiB |