MenuSource.h

00001 /*
00002  * This source file is part of libRocket, the HTML/CSS Interface Middleware
00003  *
00004  * For the latest information, see http://www.librocket.com
00005  *
00006  * Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
00007  *
00008  * Permission is hereby granted, free of charge, to any person obtaining a copy
00009  * of this software and associated documentation files (the "Software"), to deal
00010  * in the Software without restriction, including without limitation the rights
00011  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
00012  * copies of the Software, and to permit persons to whom the Software is
00013  * furnished to do so, subject to the following conditions:
00014  *
00015  * The above copyright notice and this permission notice shall be included in
00016  * all copies or substantial portions of the Software.
00017  * 
00018  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00019  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00020  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
00021  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
00022  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
00023  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
00024  * THE SOFTWARE.
00025  *
00026  */
00027 
00028 static const char* menu_rcss =
00029 "body\n"
00030 "{\n"
00031 "       width: 100%;\n"
00032 "       height: 32px;\n"
00033 "       position: absolute;\n"
00034 "       z-index: top;\n"
00035 "       background: #888;\n"
00036 "       font-family: Lacuna;\n"
00037 "       font-size: 14px;\n"
00038 "       color: black;\n"
00039 "}\n"
00040 "div\n"
00041 "{\n"
00042 "       display: block;\n"
00043 "}\n"
00044 "div#button-group\n"
00045 "{\n"
00046 "       margin-top: 4px;\n"
00047 "}\n"
00048 "button\n"
00049 "{\n"
00050 "       border-width: 1px;\n"
00051 "       border-color: #666;\n"
00052 "       background: #ddd;\n"
00053 "       margin-left: 6px;\n"
00054 "       display: inline-block;\n"
00055 "       width: 100px;\n"
00056 "       text-align: center;\n"
00057 "}\n"
00058 "button:hover\n"
00059 "{\n"
00060 "       background: #eee;\n"
00061 "}\n"
00062 "div#version-info\n"
00063 "{\n"
00064 "       padding: 0px;\n"
00065 "       margin-top: 0px;\n"
00066 "       font-size: 20px;\n"
00067 "       float: right;\n"
00068 "       margin-right: 20px;\n"
00069 "       width: 200px;"
00070 "       text-align: right;"
00071 "       color: white;\n"
00072 "}\n"
00073 "span#version-number\n"
00074 "{\n"
00075 "       font-size: 15px;\n"
00076 "}\n"
00077 ;
00078 
00079 static const char* menu_rml =
00080 "<div id=\"version-info\">libRocket <span id=\"version-number\"></span></div>\n"
00081 "<div id =\"button-group\">\n"
00082 "       <button id =\"event-log-button\">Event Log</button>\n"
00083 "       <button id =\"debug-info-button\">Element Info</button>\n"
00084 "       <button id =\"outlines-button\">Outlines</button>\n"
00085 "</div>\n";