cnslock: Add version 1.02 to repository.
From http://www.gnu-darwin.org/distfiles/cnslock-1.02.tar.gz (Note that this file is not really gzipped, just use "tar -xf".)
8
cnslock/CHANGES
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
cnslock 1.02 (27th October 2002)
|
||||||
|
|
||||||
|
* Added feature to allow applet to be run in window managers such as
|
||||||
|
enlightenment, fvwm, etc.
|
||||||
|
|
||||||
|
cnslock 1.01 (11th October 2002)
|
||||||
|
|
||||||
|
* First public release.
|
340
cnslock/COPYING
Normal file
|
@ -0,0 +1,340 @@
|
||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
Version 2, June 1991
|
||||||
|
|
||||||
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||||
|
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your
|
||||||
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
|
License is intended to guarantee your freedom to share and change free
|
||||||
|
software--to make sure the software is free for all its users. This
|
||||||
|
General Public License applies to most of the Free Software
|
||||||
|
Foundation's software and to any other program whose authors commit to
|
||||||
|
using it. (Some other Free Software Foundation software is covered by
|
||||||
|
the GNU Library General Public License instead.) You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
this service if you wish), that you receive source code or can get it
|
||||||
|
if you want it, that you can change the software or use pieces of it
|
||||||
|
in new free programs; and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to make restrictions that forbid
|
||||||
|
anyone to deny you these rights or to ask you to surrender the rights.
|
||||||
|
These restrictions translate to certain responsibilities for you if you
|
||||||
|
distribute copies of the software, or if you modify it.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must give the recipients all the rights that
|
||||||
|
you have. You must make sure that they, too, receive or can get the
|
||||||
|
source code. And you must show them these terms so they know their
|
||||||
|
rights.
|
||||||
|
|
||||||
|
We protect your rights with two steps: (1) copyright the software, and
|
||||||
|
(2) offer you this license which gives you legal permission to copy,
|
||||||
|
distribute and/or modify the software.
|
||||||
|
|
||||||
|
Also, for each author's protection and ours, we want to make certain
|
||||||
|
that everyone understands that there is no warranty for this free
|
||||||
|
software. If the software is modified by someone else and passed on, we
|
||||||
|
want its recipients to know that what they have is not the original, so
|
||||||
|
that any problems introduced by others will not reflect on the original
|
||||||
|
authors' reputations.
|
||||||
|
|
||||||
|
Finally, any free program is threatened constantly by software
|
||||||
|
patents. We wish to avoid the danger that redistributors of a free
|
||||||
|
program will individually obtain patent licenses, in effect making the
|
||||||
|
program proprietary. To prevent this, we have made it clear that any
|
||||||
|
patent must be licensed for everyone's free use or not licensed at all.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. This License applies to any program or other work which contains
|
||||||
|
a notice placed by the copyright holder saying it may be distributed
|
||||||
|
under the terms of this General Public License. The "Program", below,
|
||||||
|
refers to any such program or work, and a "work based on the Program"
|
||||||
|
means either the Program or any derivative work under copyright law:
|
||||||
|
that is to say, a work containing the Program or a portion of it,
|
||||||
|
either verbatim or with modifications and/or translated into another
|
||||||
|
language. (Hereinafter, translation is included without limitation in
|
||||||
|
the term "modification".) Each licensee is addressed as "you".
|
||||||
|
|
||||||
|
Activities other than copying, distribution and modification are not
|
||||||
|
covered by this License; they are outside its scope. The act of
|
||||||
|
running the Program is not restricted, and the output from the Program
|
||||||
|
is covered only if its contents constitute a work based on the
|
||||||
|
Program (independent of having been made by running the Program).
|
||||||
|
Whether that is true depends on what the Program does.
|
||||||
|
|
||||||
|
1. You may copy and distribute verbatim copies of the Program's
|
||||||
|
source code as you receive it, in any medium, provided that you
|
||||||
|
conspicuously and appropriately publish on each copy an appropriate
|
||||||
|
copyright notice and disclaimer of warranty; keep intact all the
|
||||||
|
notices that refer to this License and to the absence of any warranty;
|
||||||
|
and give any other recipients of the Program a copy of this License
|
||||||
|
along with the Program.
|
||||||
|
|
||||||
|
You may charge a fee for the physical act of transferring a copy, and
|
||||||
|
you may at your option offer warranty protection in exchange for a fee.
|
||||||
|
|
||||||
|
2. You may modify your copy or copies of the Program or any portion
|
||||||
|
of it, thus forming a work based on the Program, and copy and
|
||||||
|
distribute such modifications or work under the terms of Section 1
|
||||||
|
above, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) You must cause the modified files to carry prominent notices
|
||||||
|
stating that you changed the files and the date of any change.
|
||||||
|
|
||||||
|
b) You must cause any work that you distribute or publish, that in
|
||||||
|
whole or in part contains or is derived from the Program or any
|
||||||
|
part thereof, to be licensed as a whole at no charge to all third
|
||||||
|
parties under the terms of this License.
|
||||||
|
|
||||||
|
c) If the modified program normally reads commands interactively
|
||||||
|
when run, you must cause it, when started running for such
|
||||||
|
interactive use in the most ordinary way, to print or display an
|
||||||
|
announcement including an appropriate copyright notice and a
|
||||||
|
notice that there is no warranty (or else, saying that you provide
|
||||||
|
a warranty) and that users may redistribute the program under
|
||||||
|
these conditions, and telling the user how to view a copy of this
|
||||||
|
License. (Exception: if the Program itself is interactive but
|
||||||
|
does not normally print such an announcement, your work based on
|
||||||
|
the Program is not required to print an announcement.)
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If
|
||||||
|
identifiable sections of that work are not derived from the Program,
|
||||||
|
and can be reasonably considered independent and separate works in
|
||||||
|
themselves, then this License, and its terms, do not apply to those
|
||||||
|
sections when you distribute them as separate works. But when you
|
||||||
|
distribute the same sections as part of a whole which is a work based
|
||||||
|
on the Program, the distribution of the whole must be on the terms of
|
||||||
|
this License, whose permissions for other licensees extend to the
|
||||||
|
entire whole, and thus to each and every part regardless of who wrote it.
|
||||||
|
|
||||||
|
Thus, it is not the intent of this section to claim rights or contest
|
||||||
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
|
exercise the right to control the distribution of derivative or
|
||||||
|
collective works based on the Program.
|
||||||
|
|
||||||
|
In addition, mere aggregation of another work not based on the Program
|
||||||
|
with the Program (or with a work based on the Program) on a volume of
|
||||||
|
a storage or distribution medium does not bring the other work under
|
||||||
|
the scope of this License.
|
||||||
|
|
||||||
|
3. You may copy and distribute the Program (or a work based on it,
|
||||||
|
under Section 2) in object code or executable form under the terms of
|
||||||
|
Sections 1 and 2 above provided that you also do one of the following:
|
||||||
|
|
||||||
|
a) Accompany it with the complete corresponding machine-readable
|
||||||
|
source code, which must be distributed under the terms of Sections
|
||||||
|
1 and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
|
b) Accompany it with a written offer, valid for at least three
|
||||||
|
years, to give any third party, for a charge no more than your
|
||||||
|
cost of physically performing source distribution, a complete
|
||||||
|
machine-readable copy of the corresponding source code, to be
|
||||||
|
distributed under the terms of Sections 1 and 2 above on a medium
|
||||||
|
customarily used for software interchange; or,
|
||||||
|
|
||||||
|
c) Accompany it with the information you received as to the offer
|
||||||
|
to distribute corresponding source code. (This alternative is
|
||||||
|
allowed only for noncommercial distribution and only if you
|
||||||
|
received the program in object code or executable form with such
|
||||||
|
an offer, in accord with Subsection b above.)
|
||||||
|
|
||||||
|
The source code for a work means the preferred form of the work for
|
||||||
|
making modifications to it. For an executable work, complete source
|
||||||
|
code means all the source code for all modules it contains, plus any
|
||||||
|
associated interface definition files, plus the scripts used to
|
||||||
|
control compilation and installation of the executable. However, as a
|
||||||
|
special exception, the source code distributed need not include
|
||||||
|
anything that is normally distributed (in either source or binary
|
||||||
|
form) with the major components (compiler, kernel, and so on) of the
|
||||||
|
operating system on which the executable runs, unless that component
|
||||||
|
itself accompanies the executable.
|
||||||
|
|
||||||
|
If distribution of executable or object code is made by offering
|
||||||
|
access to copy from a designated place, then offering equivalent
|
||||||
|
access to copy the source code from the same place counts as
|
||||||
|
distribution of the source code, even though third parties are not
|
||||||
|
compelled to copy the source along with the object code.
|
||||||
|
|
||||||
|
4. You may not copy, modify, sublicense, or distribute the Program
|
||||||
|
except as expressly provided under this License. Any attempt
|
||||||
|
otherwise to copy, modify, sublicense or distribute the Program is
|
||||||
|
void, and will automatically terminate your rights under this License.
|
||||||
|
However, parties who have received copies, or rights, from you under
|
||||||
|
this License will not have their licenses terminated so long as such
|
||||||
|
parties remain in full compliance.
|
||||||
|
|
||||||
|
5. You are not required to accept this License, since you have not
|
||||||
|
signed it. However, nothing else grants you permission to modify or
|
||||||
|
distribute the Program or its derivative works. These actions are
|
||||||
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
|
modifying or distributing the Program (or any work based on the
|
||||||
|
Program), you indicate your acceptance of this License to do so, and
|
||||||
|
all its terms and conditions for copying, distributing or modifying
|
||||||
|
the Program or works based on it.
|
||||||
|
|
||||||
|
6. Each time you redistribute the Program (or any work based on the
|
||||||
|
Program), the recipient automatically receives a license from the
|
||||||
|
original licensor to copy, distribute or modify the Program subject to
|
||||||
|
these terms and conditions. You may not impose any further
|
||||||
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
|
You are not responsible for enforcing compliance by third parties to
|
||||||
|
this License.
|
||||||
|
|
||||||
|
7. If, as a consequence of a court judgment or allegation of patent
|
||||||
|
infringement or for any other reason (not limited to patent issues),
|
||||||
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot
|
||||||
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you
|
||||||
|
may not distribute the Program at all. For example, if a patent
|
||||||
|
license would not permit royalty-free redistribution of the Program by
|
||||||
|
all those who receive copies directly or indirectly through you, then
|
||||||
|
the only way you could satisfy both it and this License would be to
|
||||||
|
refrain entirely from distribution of the Program.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under
|
||||||
|
any particular circumstance, the balance of the section is intended to
|
||||||
|
apply and the section as a whole is intended to apply in other
|
||||||
|
circumstances.
|
||||||
|
|
||||||
|
It is not the purpose of this section to induce you to infringe any
|
||||||
|
patents or other property right claims or to contest validity of any
|
||||||
|
such claims; this section has the sole purpose of protecting the
|
||||||
|
integrity of the free software distribution system, which is
|
||||||
|
implemented by public license practices. Many people have made
|
||||||
|
generous contributions to the wide range of software distributed
|
||||||
|
through that system in reliance on consistent application of that
|
||||||
|
system; it is up to the author/donor to decide if he or she is willing
|
||||||
|
to distribute software through any other system and a licensee cannot
|
||||||
|
impose that choice.
|
||||||
|
|
||||||
|
This section is intended to make thoroughly clear what is believed to
|
||||||
|
be a consequence of the rest of this License.
|
||||||
|
|
||||||
|
8. If the distribution and/or use of the Program is restricted in
|
||||||
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
|
original copyright holder who places the Program under this License
|
||||||
|
may add an explicit geographical distribution limitation excluding
|
||||||
|
those countries, so that distribution is permitted only in or among
|
||||||
|
countries not thus excluded. In such case, this License incorporates
|
||||||
|
the limitation as if written in the body of this License.
|
||||||
|
|
||||||
|
9. The Free Software Foundation may publish revised and/or new versions
|
||||||
|
of the General Public License from time to time. Such new versions will
|
||||||
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
|
address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Program
|
||||||
|
specifies a version number of this License which applies to it and "any
|
||||||
|
later version", you have the option of following the terms and conditions
|
||||||
|
either of that version or of any later version published by the Free
|
||||||
|
Software Foundation. If the Program does not specify a version number of
|
||||||
|
this License, you may choose any version ever published by the Free Software
|
||||||
|
Foundation.
|
||||||
|
|
||||||
|
10. If you wish to incorporate parts of the Program into other free
|
||||||
|
programs whose distribution conditions are different, write to the author
|
||||||
|
to ask for permission. For software which is copyrighted by the Free
|
||||||
|
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||||
|
make exceptions for this. Our decision will be guided by the two goals
|
||||||
|
of preserving the free status of all derivatives of our free software and
|
||||||
|
of promoting the sharing and reuse of software generally.
|
||||||
|
|
||||||
|
NO WARRANTY
|
||||||
|
|
||||||
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||||
|
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||||
|
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||||
|
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||||
|
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||||
|
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||||
|
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||||
|
REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||||
|
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||||
|
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||||
|
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||||
|
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||||
|
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||||
|
POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest
|
||||||
|
possible use to the public, the best way to achieve this is to make it
|
||||||
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest
|
||||||
|
to attach them to the start of each source file to most effectively
|
||||||
|
convey the exclusion of warranty; and each file should have at least
|
||||||
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
|
Copyright (C) 19yy <name of author>
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program is interactive, make it output a short notice like this
|
||||||
|
when it starts in an interactive mode:
|
||||||
|
|
||||||
|
Gnomovision version 69, Copyright (C) 19yy name of author
|
||||||
|
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
|
This is free software, and you are welcome to redistribute it
|
||||||
|
under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
|
parts of the General Public License. Of course, the commands you use may
|
||||||
|
be called something other than `show w' and `show c'; they could even be
|
||||||
|
mouse-clicks or menu items--whatever suits your program.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or your
|
||||||
|
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||||
|
necessary. Here is a sample; alter the names:
|
||||||
|
|
||||||
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||||
|
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||||
|
|
||||||
|
<signature of Ty Coon>, 1 April 1989
|
||||||
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
|
This General Public License does not permit incorporating your program into
|
||||||
|
proprietary programs. If your program is a subroutine library, you may
|
||||||
|
consider it more useful to permit linking proprietary applications with the
|
||||||
|
library. If this is what you want to do, use the GNU Library General
|
||||||
|
Public License instead of this License.
|
15
cnslock/INSTALL
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
Requirements
|
||||||
|
------------------------------------------------------
|
||||||
|
- gtk+ ( >= 2.1.x )
|
||||||
|
- Xlib, Xpm, gdk-pixbuf
|
||||||
|
- root access for install
|
||||||
|
|
||||||
|
Installation
|
||||||
|
------------------------------------------------------
|
||||||
|
1) Untar/gunzip sources
|
||||||
|
$ tar zxvf cnslock-x.x.x.tar.gz
|
||||||
|
|
||||||
|
2) Compilation
|
||||||
|
'make'
|
||||||
|
become root (via 'su')
|
||||||
|
'make install'
|
29
cnslock/Makefile
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
INSTALL = /usr/bin/install -m 755
|
||||||
|
PREFIX = /usr/local
|
||||||
|
|
||||||
|
VERSION = 1.02
|
||||||
|
CFLAGS = -O3 -Wall `gtk-config --cflags` -DVERSION=$(VERSION) ${EXTRA}
|
||||||
|
CC = gcc
|
||||||
|
OBJS = cnslock.o kleds.o applet.o
|
||||||
|
|
||||||
|
LIBS = `gtk-config --libs | sed "s/-lgtk//g"`
|
||||||
|
|
||||||
|
all: cnslock
|
||||||
|
|
||||||
|
cnslock.o: cnslock.c include/cnslock.h include/defines.h
|
||||||
|
$(CC) $(CFLAGS) -c cnslock.c -o cnslock.o
|
||||||
|
|
||||||
|
applet.o: applet.c include/applet.h include/defines.h
|
||||||
|
gcc $(CFLAGS) -c applet.c -o applet.o
|
||||||
|
|
||||||
|
kleds.o: kleds.c include/kleds.h include/defines.h
|
||||||
|
$(CC) -Wall -I/usr/X11R6/include -c kleds.c -o kleds.o
|
||||||
|
|
||||||
|
cnslock: $(OBJS)
|
||||||
|
$(CC) -o cnslock $(OBJS) $(LIBS)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf cnslock *.o *~ .xvpics
|
||||||
|
|
||||||
|
install : cnslock
|
||||||
|
$(INSTALL) cnslock $(PREFIX)/bin
|
37
cnslock/README
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
Description
|
||||||
|
------------------------------------------------------------
|
||||||
|
|
||||||
|
cnslock is a dock application (dockapp) which provides a
|
||||||
|
visual indication of the states of the three "lock" buttons
|
||||||
|
(caps, num, and scroll).
|
||||||
|
|
||||||
|
It was written so that I could see the state of those keys
|
||||||
|
as I have a wireless keyboard with no leds on it.
|
||||||
|
|
||||||
|
Bugs
|
||||||
|
------------------------------------------------------------
|
||||||
|
If you discover any bug in this software, please send a
|
||||||
|
bugreport to lists@sprig.dyn.dhs.org and describe the
|
||||||
|
problem with as many details as possible.
|
||||||
|
|
||||||
|
Copyright
|
||||||
|
-------------------------------------------------------------
|
||||||
|
cnslock is Copyright (C) 2002 by Simon Hunter,
|
||||||
|
SPRIG Positive Research Intelligent Gizmos.
|
||||||
|
|
||||||
|
cnslock is licensed through the GNU General Public License.
|
||||||
|
Read the COPYING file for the complete GNU license.
|
||||||
|
|
||||||
|
Usage
|
||||||
|
-------------------------------------------------------------
|
||||||
|
|
||||||
|
Simply launch:
|
||||||
|
cnslock
|
||||||
|
|
||||||
|
If you have problems running it under a different window
|
||||||
|
manager, such as fvwm or enlightenment, there is a command
|
||||||
|
line argument that may help:
|
||||||
|
cnslock -w
|
||||||
|
|
||||||
|
|
||||||
|
|
9
cnslock/TODO
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
Ideas:
|
||||||
|
---------
|
||||||
|
* Ability to use user defined images for the various states.
|
||||||
|
* Configuration panel access via mouse click.
|
||||||
|
* Application launch via mouse clicks (Idea from Fabio Stumbo).
|
||||||
|
|
||||||
|
External suggestions:
|
||||||
|
---------------------
|
||||||
|
* If you have a suggestion, please email me at lists@sprig.dyn.dhs.org.
|
83
cnslock/applet.c
Normal file
|
@ -0,0 +1,83 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#include "include/defines.h"
|
||||||
|
#include "include/cnslock.h"
|
||||||
|
#include "include/applet.h"
|
||||||
|
|
||||||
|
#include "graphics/master.xpm"
|
||||||
|
|
||||||
|
/* This function makes the dockapp window */
|
||||||
|
void make_new_cnslock_dockapp(int manager_style)
|
||||||
|
{
|
||||||
|
#define MASK GDK_BUTTON_PRESS_MASK | GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK
|
||||||
|
|
||||||
|
GdkWindowAttr attr;
|
||||||
|
GdkWindowAttr attri;
|
||||||
|
|
||||||
|
Window win;
|
||||||
|
Window iconwin;
|
||||||
|
XWMHints wmhints;
|
||||||
|
XSizeHints sizehints;
|
||||||
|
|
||||||
|
memset(&attr, 0, sizeof(GdkWindowAttr));
|
||||||
|
|
||||||
|
attr.width = WINDOWSIZE_X;
|
||||||
|
attr.height = WINDOWSIZE_Y;
|
||||||
|
attr.x = 100;
|
||||||
|
attr.y = 100;
|
||||||
|
attr.title = "cnslockapplet";
|
||||||
|
attr.event_mask = MASK;
|
||||||
|
attr.wclass = GDK_INPUT_OUTPUT;
|
||||||
|
attr.visual = gdk_visual_get_system();
|
||||||
|
attr.colormap = gdk_colormap_get_system();
|
||||||
|
attr.wmclass_name = "cnslockapplet";
|
||||||
|
attr.wmclass_class = "cnslockapplet";
|
||||||
|
attr.window_type = GDK_WINDOW_TOPLEVEL;
|
||||||
|
|
||||||
|
/* make a copy for the iconwin - parameters are the same */
|
||||||
|
memcpy(&attri, &attr, sizeof(GdkWindowAttr));
|
||||||
|
|
||||||
|
ad.win = gdk_window_new(NULL, &attr, GDK_WA_TITLE | GDK_WA_WMCLASS | GDK_WA_VISUAL | GDK_WA_COLORMAP | GDK_WA_X |GDK_WA_Y);
|
||||||
|
if (!ad.win)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "FATAL: cannot make toplevel window\n");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
ad.iconwin = gdk_window_new(ad.win, &attri, GDK_WA_TITLE | GDK_WA_WMCLASS | GDK_WA_VISUAL | GDK_WA_COLORMAP | GDK_WA_X |GDK_WA_Y);
|
||||||
|
if (!ad.iconwin)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "FATAL: cannot make icon window\n");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(manager_style==0)
|
||||||
|
{
|
||||||
|
win = GDK_WINDOW_XWINDOW(ad.win);
|
||||||
|
iconwin = GDK_WINDOW_XWINDOW(ad.iconwin);
|
||||||
|
sizehints.flags = USSize;
|
||||||
|
sizehints.width = WINDOWSIZE_X;
|
||||||
|
sizehints.height = WINDOWSIZE_Y;
|
||||||
|
XSetWMNormalHints(GDK_WINDOW_XDISPLAY(ad.win), win, &sizehints);
|
||||||
|
wmhints.initial_state = WithdrawnState;
|
||||||
|
wmhints.icon_window = iconwin;
|
||||||
|
wmhints.icon_x = 0;
|
||||||
|
wmhints.icon_y = 0;
|
||||||
|
wmhints.window_group = win;
|
||||||
|
wmhints.flags = StateHint | IconWindowHint | IconPositionHint | WindowGroupHint;
|
||||||
|
XSetWMHints(GDK_WINDOW_XDISPLAY(ad.win), win, &wmhints);
|
||||||
|
}
|
||||||
|
|
||||||
|
ad.gc = gdk_gc_new(ad.win);
|
||||||
|
ad.pixmap = gdk_pixmap_create_from_xpm_d(ad.win, &(ad.mask), NULL, master_xpm);
|
||||||
|
gdk_window_shape_combine_mask(ad.win, ad.mask, 0, 0);
|
||||||
|
gdk_window_shape_combine_mask(ad.iconwin, ad.mask, 0, 0);
|
||||||
|
gdk_window_set_back_pixmap(ad.win, ad.pixmap, False);
|
||||||
|
gdk_window_set_back_pixmap(ad.iconwin, ad.pixmap, False);
|
||||||
|
gdk_window_show(ad.win);
|
||||||
|
|
||||||
|
if(posx!=-1 && posy!=-1)
|
||||||
|
gdk_window_move(ad.win, posx, posy);
|
||||||
|
|
||||||
|
#undef MASK
|
||||||
|
}
|
265
cnslock/cnslock.c
Normal file
|
@ -0,0 +1,265 @@
|
||||||
|
/* csnlock v1.02
|
||||||
|
* Copyright (C) 2002 Simon Hunter (lists@sprig.dyn.dhs.org)
|
||||||
|
*
|
||||||
|
* cnslock is a dock application that displays the current state of the
|
||||||
|
* three lock keys (caps, num, and scroll)
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have receive a copy of the GNU General Public License along with
|
||||||
|
* this program; if you still want it, write to the Free Software Foundation, Inc.,
|
||||||
|
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
*
|
||||||
|
* Hacked from various wm applets.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* general includes */
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <time.h>
|
||||||
|
#include <math.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <assert.h>
|
||||||
|
#define _GNU_SOURCE
|
||||||
|
#include <getopt.h>
|
||||||
|
#include <ctype.h>
|
||||||
|
|
||||||
|
/* gdk includes */
|
||||||
|
#include <gdk/gdk.h>
|
||||||
|
#include <gdk/gdkx.h>
|
||||||
|
|
||||||
|
/* x11 includes */
|
||||||
|
#include <X11/xpm.h>
|
||||||
|
#include <X11/Xlib.h>
|
||||||
|
#include <X11/extensions/shape.h>
|
||||||
|
|
||||||
|
/* header includes */
|
||||||
|
#include "include/defines.h"
|
||||||
|
#include "include/applet.h"
|
||||||
|
#include "include/cnslock.h"
|
||||||
|
#include "include/kleds.h"
|
||||||
|
|
||||||
|
/* graphic includes */
|
||||||
|
#include "graphics/none.h"
|
||||||
|
#include "graphics/caps.h"
|
||||||
|
#include "graphics/num.h"
|
||||||
|
#include "graphics/scroll.h"
|
||||||
|
#include "graphics/caps_num.h"
|
||||||
|
#include "graphics/caps_scroll.h"
|
||||||
|
#include "graphics/num_scroll.h"
|
||||||
|
#include "graphics/caps_num_scroll.h"
|
||||||
|
|
||||||
|
/* stuff */
|
||||||
|
void cnslock_update(void);
|
||||||
|
|
||||||
|
/* misc support functions */
|
||||||
|
void prepare_backbuffer(int solid);
|
||||||
|
void parse_options(int argc, char **argv);
|
||||||
|
void do_help(void);
|
||||||
|
void do_version(void);
|
||||||
|
void make_rgb_buffer256(unsigned char *target, unsigned char *source,int width, int height, int frames, char *cmap);
|
||||||
|
|
||||||
|
/* globals */
|
||||||
|
AppletData ad;
|
||||||
|
|
||||||
|
/* keeps track of mouse focus */
|
||||||
|
int proximity;
|
||||||
|
|
||||||
|
/* background style (n/a) */
|
||||||
|
int selected_background=1;
|
||||||
|
|
||||||
|
/* initial positional data (n/a) */
|
||||||
|
int posx=-1, posy=-1;
|
||||||
|
|
||||||
|
/* window manager style (0=wm, 1=other) */
|
||||||
|
int manager_style=0;
|
||||||
|
|
||||||
|
/* the main routine */
|
||||||
|
int main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
GdkEvent *event;
|
||||||
|
|
||||||
|
srand(time(NULL));
|
||||||
|
|
||||||
|
/* initialize GDK */
|
||||||
|
if (!gdk_init_check(&argc, &argv))
|
||||||
|
{
|
||||||
|
fprintf(stderr, "GDK init failed, bye bye. Check \"DISPLAY\" variable.\n");
|
||||||
|
exit(-1);
|
||||||
|
}
|
||||||
|
gdk_rgb_init();
|
||||||
|
|
||||||
|
/* parse command line options */
|
||||||
|
parse_options(argc, argv);
|
||||||
|
|
||||||
|
/* zero main data structure */
|
||||||
|
memset(&ad, 0, sizeof(ad));
|
||||||
|
|
||||||
|
/* intialise keyboard leds */
|
||||||
|
init_kleds();
|
||||||
|
|
||||||
|
/* create dockapp window. creates windows, allocates memory, etc */
|
||||||
|
make_new_cnslock_dockapp(manager_style);
|
||||||
|
|
||||||
|
/* draw initial background */
|
||||||
|
prepare_backbuffer(selected_background);
|
||||||
|
|
||||||
|
while(1)
|
||||||
|
{
|
||||||
|
while(gdk_events_pending())
|
||||||
|
{
|
||||||
|
event = gdk_event_get();
|
||||||
|
if(event)
|
||||||
|
{
|
||||||
|
switch (event->type)
|
||||||
|
{
|
||||||
|
case GDK_DESTROY:
|
||||||
|
gdk_exit(0);
|
||||||
|
exit(0);
|
||||||
|
break;
|
||||||
|
case GDK_BUTTON_PRESS:
|
||||||
|
/* printf("button press\n"); */
|
||||||
|
break;
|
||||||
|
case GDK_ENTER_NOTIFY:
|
||||||
|
proximity = 1;
|
||||||
|
break;
|
||||||
|
case GDK_LEAVE_NOTIFY:
|
||||||
|
proximity = 0;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
usleep(20000);
|
||||||
|
cnslock_update();
|
||||||
|
|
||||||
|
/* actually draw the rgb buffer to screen */
|
||||||
|
|
||||||
|
if (manager_style==0)
|
||||||
|
gdk_draw_rgb_image(ad.iconwin, ad.gc, XMIN, YMIN, XMAX, YMAX, GDK_RGB_DITHER_NONE, ad.rgb, XMAX * 3);
|
||||||
|
else
|
||||||
|
gdk_draw_rgb_image(ad.win, ad.gc, XMIN, YMIN, XMAX, YMAX, GDK_RGB_DITHER_NONE, ad.rgb, XMAX * 3);
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
} /* main */
|
||||||
|
|
||||||
|
/* update caps, num, scroll lock */
|
||||||
|
void cnslock_update(void)
|
||||||
|
{
|
||||||
|
int status;
|
||||||
|
|
||||||
|
memcpy(&ad.rgb, &ad.bgr, RGBSIZE);
|
||||||
|
|
||||||
|
status = check_kleds();
|
||||||
|
if ((status & 0) == 0)
|
||||||
|
make_rgb_buffer256(ad.rgb,none_data,none_width,none_height,1, *none_cmap);
|
||||||
|
if ((status & 1) == 1)
|
||||||
|
make_rgb_buffer256(ad.rgb,c_data,c_width,c_height,1, *c_cmap);
|
||||||
|
if ((status & 2) == 2)
|
||||||
|
make_rgb_buffer256(ad.rgb,n_data,n_width,n_height,1, *n_cmap);
|
||||||
|
if ((status & 3) == 3)
|
||||||
|
make_rgb_buffer256(ad.rgb,cn_data,cn_width,cn_height,1, *cn_cmap);
|
||||||
|
if ((status & 4) == 4)
|
||||||
|
make_rgb_buffer256(ad.rgb,s_data,s_width,s_height,1, *s_cmap);
|
||||||
|
if ((status & 5) == 5)
|
||||||
|
make_rgb_buffer256(ad.rgb,cs_data,cs_width,cs_height,1, *cs_cmap);
|
||||||
|
if ((status & 6) == 6)
|
||||||
|
make_rgb_buffer256(ad.rgb,ns_data,ns_width,ns_height,1, *ns_cmap);
|
||||||
|
if ((status & 7) == 7)
|
||||||
|
make_rgb_buffer256(ad.rgb,cns_data,cns_width,cns_height,1, *cns_cmap);
|
||||||
|
|
||||||
|
memcpy(&ad.bgr, &ad.rgb, RGBSIZE);
|
||||||
|
}
|
||||||
|
|
||||||
|
void prepare_backbuffer(int solid)
|
||||||
|
{
|
||||||
|
make_rgb_buffer256(ad.rgb,none_data,none_width,none_height,1, *none_cmap);
|
||||||
|
|
||||||
|
/* copy it to the "frequent use" buffer */
|
||||||
|
memcpy(&ad.bgr, &ad.rgb, RGBSIZE);
|
||||||
|
|
||||||
|
} /* prepare_backbuffer */
|
||||||
|
|
||||||
|
void make_rgb_buffer256(unsigned char *target, unsigned char *source, int width, int height, int frames, char *cmap)
|
||||||
|
{
|
||||||
|
int i, j = 0;
|
||||||
|
|
||||||
|
for (i = 0; i < (width * height * frames); i++)
|
||||||
|
{
|
||||||
|
target[j] = cmap[3*source[i]];
|
||||||
|
target[j+1] = cmap[3*source[i]+1];
|
||||||
|
target[j+2] = cmap[3*source[i]+2];
|
||||||
|
j += 3;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void parse_options(int argc, char *argv[])
|
||||||
|
{
|
||||||
|
int c = 0;
|
||||||
|
|
||||||
|
struct option long_options[] = {
|
||||||
|
{"help", no_argument, NULL, 1},
|
||||||
|
{"h", no_argument, NULL, 1},
|
||||||
|
{"version", no_argument, NULL, 2},
|
||||||
|
{"v", no_argument, NULL, 2},
|
||||||
|
{"window", no_argument, NULL, 3},
|
||||||
|
{"w", no_argument, NULL, 3},
|
||||||
|
|
||||||
|
{0, 0, 0, 0}
|
||||||
|
};
|
||||||
|
|
||||||
|
while ((c = getopt_long_only(argc, argv, "", long_options, NULL)) != -1)
|
||||||
|
{
|
||||||
|
switch(c)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
do_help();
|
||||||
|
exit(0);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
do_version();
|
||||||
|
exit(0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
manager_style = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void do_version(void)
|
||||||
|
{
|
||||||
|
printf("\ncnslock applet v%.2f\n\n", VERSION);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
-h,--help Display help
|
||||||
|
-v,--version Display version
|
||||||
|
-w,--window Alternative window system
|
||||||
|
*/
|
||||||
|
|
||||||
|
void do_help(void)
|
||||||
|
{
|
||||||
|
do_version();
|
||||||
|
printf("This is an applet that displays the various states of the CAPS, NUM and SCROLL LOCK keys.\n"
|
||||||
|
"\nUsage: cnslock [options]\n\n"
|
||||||
|
" -h\t--help\t\tShow this message and exit.\n"
|
||||||
|
" -v\t--version\tShow version and exit.\n"
|
||||||
|
" -w\t--window\tUse alternative windowing system.\n\n"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
BIN
cnslock/graphics/.xvpics/caps_num_scroll.h
Normal file
BIN
cnslock/graphics/.xvpics/caps_num_scroll.png
Normal file
BIN
cnslock/graphics/.xvpics/caps_scroll.h
Normal file
BIN
cnslock/graphics/.xvpics/none.h
Normal file
BIN
cnslock/graphics/.xvpics/num.h
Normal file
BIN
cnslock/graphics/.xvpics/num_scroll.h
Normal file
BIN
cnslock/graphics/.xvpics/scroll.h
Normal file
488
cnslock/graphics/caps.h
Normal file
|
@ -0,0 +1,488 @@
|
||||||
|
int c_width = 56;
|
||||||
|
int c_height = 56;
|
||||||
|
|
||||||
|
char c_cmap[256][3] = {
|
||||||
|
{ 0, 0, 0},
|
||||||
|
{ 54, 37, 3},
|
||||||
|
{ 56, 39, 3},
|
||||||
|
{218,150, 13},
|
||||||
|
{ 6, 4, 0},
|
||||||
|
{177,122, 10},
|
||||||
|
{ 97, 67, 6},
|
||||||
|
{ 9, 6, 0},
|
||||||
|
{ 29, 20, 2},
|
||||||
|
{ 26, 18, 2},
|
||||||
|
{ 89, 61, 5},
|
||||||
|
{186,127, 11},
|
||||||
|
{196,134, 11},
|
||||||
|
{123, 85, 7},
|
||||||
|
{236,162, 14},
|
||||||
|
{ 66, 45, 4},
|
||||||
|
{210,144, 12},
|
||||||
|
{ 65, 44, 4},
|
||||||
|
{112, 77, 6},
|
||||||
|
{162,111, 9},
|
||||||
|
{ 49, 34, 3},
|
||||||
|
{ 88, 60, 5},
|
||||||
|
{ 4, 55, 29},
|
||||||
|
{108, 74, 6},
|
||||||
|
{ 50, 34, 3},
|
||||||
|
{ 24, 16, 1},
|
||||||
|
{233,160, 13},
|
||||||
|
{ 41, 28, 2},
|
||||||
|
{136, 93, 8},
|
||||||
|
{138, 95, 8},
|
||||||
|
{ 6, 79, 41},
|
||||||
|
{ 15,195,102},
|
||||||
|
{ 18,232,121},
|
||||||
|
{ 2, 31, 16},
|
||||||
|
{ 90, 62, 5},
|
||||||
|
{225,154, 13},
|
||||||
|
{118, 81, 7},
|
||||||
|
{120, 83, 7},
|
||||||
|
{ 47, 33, 3},
|
||||||
|
{227,156, 13},
|
||||||
|
{ 17, 12, 1},
|
||||||
|
{ 4, 48, 25},
|
||||||
|
{ 13,164, 85},
|
||||||
|
{ 14,184, 96},
|
||||||
|
{ 13,172, 90},
|
||||||
|
{ 3, 43, 23},
|
||||||
|
{ 67, 46, 4},
|
||||||
|
{113, 78, 7},
|
||||||
|
{106, 73, 6},
|
||||||
|
{ 12, 8, 1},
|
||||||
|
{ 1, 0, 0},
|
||||||
|
{168,116, 10},
|
||||||
|
{ 1, 17, 9},
|
||||||
|
{ 10,133, 69},
|
||||||
|
{ 17,215,112},
|
||||||
|
{ 8, 99, 52},
|
||||||
|
{ 10,128, 67},
|
||||||
|
{195,133, 11},
|
||||||
|
{ 74, 50, 4},
|
||||||
|
{ 56, 38, 3},
|
||||||
|
{ 8,102, 53},
|
||||||
|
{ 17,218,113},
|
||||||
|
{ 10,130, 68},
|
||||||
|
{ 1, 14, 8},
|
||||||
|
{ 13,167, 87},
|
||||||
|
{ 1, 7, 4},
|
||||||
|
{ 80, 55, 5},
|
||||||
|
{201,138, 12},
|
||||||
|
{ 7, 5, 0},
|
||||||
|
{ 24, 17, 1},
|
||||||
|
{ 1, 13, 7},
|
||||||
|
{ 12,151, 79},
|
||||||
|
{ 4, 46, 24},
|
||||||
|
{ 5, 70, 37},
|
||||||
|
{ 12,149, 78},
|
||||||
|
{ 14,186, 97},
|
||||||
|
{ 5, 65, 34},
|
||||||
|
{ 0, 6, 3},
|
||||||
|
{ 14,178, 93},
|
||||||
|
{ 6, 77, 40},
|
||||||
|
{ 3, 39, 21},
|
||||||
|
{ 12,155, 81},
|
||||||
|
{ 15,193,100},
|
||||||
|
{ 5, 4, 0},
|
||||||
|
{131, 90, 8},
|
||||||
|
{ 37, 25, 2},
|
||||||
|
{ 10,124, 65},
|
||||||
|
{ 11,142, 74},
|
||||||
|
{ 17,224,117},
|
||||||
|
{ 8,108, 56},
|
||||||
|
{ 1, 8, 4},
|
||||||
|
{ 3, 33, 17},
|
||||||
|
{ 35, 24, 2},
|
||||||
|
{145, 99, 8},
|
||||||
|
{130, 89, 8},
|
||||||
|
{ 3, 36, 19},
|
||||||
|
{ 11,139, 72},
|
||||||
|
{ 2, 23, 12},
|
||||||
|
{ 7, 93, 49},
|
||||||
|
{ 16,209,109},
|
||||||
|
{ 8,107, 56},
|
||||||
|
{241,165, 14},
|
||||||
|
{153,105, 9},
|
||||||
|
{ 32, 22, 2},
|
||||||
|
{ 81, 56, 5},
|
||||||
|
{ 9, 6, 1},
|
||||||
|
{ 9,119, 62},
|
||||||
|
{ 13,170, 89},
|
||||||
|
{ 4, 54, 28},
|
||||||
|
{ 5, 62, 32},
|
||||||
|
{121, 83, 7},
|
||||||
|
{242,166, 14},
|
||||||
|
{170,116, 10},
|
||||||
|
{ 0, 1, 1},
|
||||||
|
{ 16,201,105},
|
||||||
|
{ 7, 85, 44},
|
||||||
|
{ 9,116, 60},
|
||||||
|
{ 25, 17, 1},
|
||||||
|
{193,133, 11},
|
||||||
|
{124, 85, 7},
|
||||||
|
{ 2, 25, 13},
|
||||||
|
{ 15, 10, 1},
|
||||||
|
{ 4, 47, 24},
|
||||||
|
{ 38, 26, 2},
|
||||||
|
{ 48, 33, 3},
|
||||||
|
{104, 72, 6},
|
||||||
|
{ 31, 21, 2},
|
||||||
|
{ 6, 72, 37},
|
||||||
|
{ 14,185, 97},
|
||||||
|
{ 18,228,119},
|
||||||
|
{203,139, 12},
|
||||||
|
{ 69, 48, 4},
|
||||||
|
{ 2, 29, 15},
|
||||||
|
{ 17,225,117},
|
||||||
|
{ 6, 82, 43},
|
||||||
|
{ 8,100, 52},
|
||||||
|
{115, 79, 7},
|
||||||
|
{160,110, 9},
|
||||||
|
{142, 98, 8},
|
||||||
|
{ 64, 44, 4},
|
||||||
|
{ 8,101, 52},
|
||||||
|
{ 7, 84, 44},
|
||||||
|
{103, 71, 6},
|
||||||
|
{ 8, 6, 0},
|
||||||
|
{123, 84, 7},
|
||||||
|
{ 3, 2, 0},
|
||||||
|
{ 2, 22, 11},
|
||||||
|
{ 13,162, 84},
|
||||||
|
{ 6, 73, 38},
|
||||||
|
{ 5, 66, 34},
|
||||||
|
{148,102, 9},
|
||||||
|
{ 4, 50, 26},
|
||||||
|
{ 3, 44, 23},
|
||||||
|
{169,116, 10},
|
||||||
|
{ 71, 49, 4},
|
||||||
|
{ 45, 31, 3},
|
||||||
|
{ 82, 56, 5},
|
||||||
|
{ 39, 27, 2},
|
||||||
|
{111, 76, 6},
|
||||||
|
{ 23, 16, 1},
|
||||||
|
{ 4, 58, 30},
|
||||||
|
{ 20,171,226},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255}
|
||||||
|
};
|
||||||
|
|
||||||
|
char c_data[] = {
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,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0,18,19,0,20,21,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,23,24,25,26,27,0,28,29,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,34,35,36,37,0,38,39,40,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,46,47,48,49,0,50,0,51,48,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,17,16,38,51,57,58,0,59,57,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,11,10,0,0,66,67,19,68,69,0,0,0,0,70,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,6,5,0,0,0,0,0,37,4,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
83,3,84,0,0,0,0,25,26,85,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
92,2,5,11,17,0,0,93,94,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,
|
||||||
|
101,102,103,10,16,102,104,3,105,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,
|
||||||
|
18,110,111,110,0,110,111,112,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,58,67,
|
||||||
|
0,0,103,102,16,10,103,102,16,10,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,57,66,
|
||||||
|
0,0,0,117,111,118,38,0,17,119,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,25,
|
||||||
|
0,0,0,0,110,121,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,123,124,125,0,125,26,
|
||||||
|
18,0,0,103,111,126,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,130,21,131,0,0,27,
|
||||||
|
19,67,66,102,110,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,136,137,0,0,0,0,0,
|
||||||
|
0,58,138,139,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,142,20,0,0,0,0,0,
|
||||||
|
143,144,145,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,15,150,0,0,0,0,0,
|
||||||
|
105,119,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,153,154,0,0,0,0,
|
||||||
|
105,3,155,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,156,130,137,157,0,9,
|
||||||
|
94,93,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0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0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0
|
||||||
|
};
|
488
cnslock/graphics/caps_num.h
Normal file
|
@ -0,0 +1,488 @@
|
||||||
|
int cn_width = 56;
|
||||||
|
int cn_height = 56;
|
||||||
|
|
||||||
|
char cn_cmap[256][3] = {
|
||||||
|
{ 0, 0, 0},
|
||||||
|
{ 54, 37, 3},
|
||||||
|
{ 56, 39, 3},
|
||||||
|
{218,150, 13},
|
||||||
|
{ 6, 4, 0},
|
||||||
|
{177,122, 10},
|
||||||
|
{ 97, 67, 6},
|
||||||
|
{ 9, 6, 0},
|
||||||
|
{ 29, 20, 2},
|
||||||
|
{ 26, 18, 2},
|
||||||
|
{ 89, 61, 5},
|
||||||
|
{186,127, 11},
|
||||||
|
{196,134, 11},
|
||||||
|
{123, 85, 7},
|
||||||
|
{236,162, 14},
|
||||||
|
{ 66, 45, 4},
|
||||||
|
{210,144, 12},
|
||||||
|
{ 65, 44, 4},
|
||||||
|
{112, 77, 6},
|
||||||
|
{162,111, 9},
|
||||||
|
{ 49, 34, 3},
|
||||||
|
{ 88, 60, 5},
|
||||||
|
{ 4, 55, 29},
|
||||||
|
{108, 74, 6},
|
||||||
|
{ 50, 34, 3},
|
||||||
|
{ 24, 16, 1},
|
||||||
|
{233,160, 13},
|
||||||
|
{ 41, 28, 2},
|
||||||
|
{136, 93, 8},
|
||||||
|
{138, 95, 8},
|
||||||
|
{ 6, 79, 41},
|
||||||
|
{ 15,195,102},
|
||||||
|
{ 18,232,121},
|
||||||
|
{ 2, 31, 16},
|
||||||
|
{ 90, 62, 5},
|
||||||
|
{225,154, 13},
|
||||||
|
{118, 81, 7},
|
||||||
|
{120, 83, 7},
|
||||||
|
{ 47, 33, 3},
|
||||||
|
{227,156, 13},
|
||||||
|
{ 17, 12, 1},
|
||||||
|
{ 4, 48, 25},
|
||||||
|
{ 13,164, 85},
|
||||||
|
{ 14,184, 96},
|
||||||
|
{ 13,172, 90},
|
||||||
|
{ 3, 43, 23},
|
||||||
|
{ 67, 46, 4},
|
||||||
|
{113, 78, 7},
|
||||||
|
{106, 73, 6},
|
||||||
|
{ 12, 8, 1},
|
||||||
|
{ 1, 0, 0},
|
||||||
|
{168,116, 10},
|
||||||
|
{ 1, 17, 9},
|
||||||
|
{ 10,133, 69},
|
||||||
|
{ 17,215,112},
|
||||||
|
{ 8, 99, 52},
|
||||||
|
{ 10,128, 67},
|
||||||
|
{195,133, 11},
|
||||||
|
{ 74, 50, 4},
|
||||||
|
{ 56, 38, 3},
|
||||||
|
{ 8,102, 53},
|
||||||
|
{ 17,218,113},
|
||||||
|
{ 10,130, 68},
|
||||||
|
{ 1, 14, 8},
|
||||||
|
{ 13,167, 87},
|
||||||
|
{ 1, 7, 4},
|
||||||
|
{ 80, 55, 5},
|
||||||
|
{201,138, 12},
|
||||||
|
{ 7, 5, 0},
|
||||||
|
{ 24, 17, 1},
|
||||||
|
{ 1, 13, 7},
|
||||||
|
{ 12,151, 79},
|
||||||
|
{ 4, 46, 24},
|
||||||
|
{ 5, 70, 37},
|
||||||
|
{ 12,149, 78},
|
||||||
|
{ 14,186, 97},
|
||||||
|
{ 5, 65, 34},
|
||||||
|
{ 0, 6, 3},
|
||||||
|
{ 14,178, 93},
|
||||||
|
{ 6, 77, 40},
|
||||||
|
{ 3, 39, 21},
|
||||||
|
{ 12,155, 81},
|
||||||
|
{ 15,193,100},
|
||||||
|
{ 5, 4, 0},
|
||||||
|
{131, 90, 8},
|
||||||
|
{ 37, 25, 2},
|
||||||
|
{ 10,124, 65},
|
||||||
|
{ 11,142, 74},
|
||||||
|
{ 17,224,117},
|
||||||
|
{ 8,108, 56},
|
||||||
|
{ 1, 8, 4},
|
||||||
|
{ 3, 33, 17},
|
||||||
|
{ 35, 24, 2},
|
||||||
|
{145, 99, 8},
|
||||||
|
{130, 89, 8},
|
||||||
|
{ 3, 36, 19},
|
||||||
|
{ 11,139, 72},
|
||||||
|
{ 2, 23, 12},
|
||||||
|
{ 7, 93, 49},
|
||||||
|
{ 16,209,109},
|
||||||
|
{ 8,107, 56},
|
||||||
|
{241,165, 14},
|
||||||
|
{153,105, 9},
|
||||||
|
{ 32, 22, 2},
|
||||||
|
{ 81, 56, 5},
|
||||||
|
{ 9, 6, 1},
|
||||||
|
{ 9,119, 62},
|
||||||
|
{ 13,170, 89},
|
||||||
|
{ 4, 54, 28},
|
||||||
|
{ 5, 62, 32},
|
||||||
|
{121, 83, 7},
|
||||||
|
{242,166, 14},
|
||||||
|
{170,116, 10},
|
||||||
|
{ 0, 1, 1},
|
||||||
|
{ 16,201,105},
|
||||||
|
{ 7, 85, 44},
|
||||||
|
{ 9,116, 60},
|
||||||
|
{ 25, 17, 1},
|
||||||
|
{193,133, 11},
|
||||||
|
{124, 85, 7},
|
||||||
|
{ 2, 25, 13},
|
||||||
|
{ 15, 10, 1},
|
||||||
|
{ 4, 47, 24},
|
||||||
|
{ 38, 26, 2},
|
||||||
|
{ 48, 33, 3},
|
||||||
|
{104, 72, 6},
|
||||||
|
{ 31, 21, 2},
|
||||||
|
{ 6, 72, 37},
|
||||||
|
{ 14,185, 97},
|
||||||
|
{ 18,228,119},
|
||||||
|
{203,139, 12},
|
||||||
|
{ 69, 48, 4},
|
||||||
|
{ 2, 29, 15},
|
||||||
|
{ 17,225,117},
|
||||||
|
{ 6, 82, 43},
|
||||||
|
{ 8,100, 52},
|
||||||
|
{115, 79, 7},
|
||||||
|
{160,110, 9},
|
||||||
|
{142, 98, 8},
|
||||||
|
{ 64, 44, 4},
|
||||||
|
{ 8,101, 52},
|
||||||
|
{ 7, 84, 44},
|
||||||
|
{103, 71, 6},
|
||||||
|
{ 8, 6, 0},
|
||||||
|
{123, 84, 7},
|
||||||
|
{ 3, 2, 0},
|
||||||
|
{ 2, 22, 11},
|
||||||
|
{ 13,162, 84},
|
||||||
|
{ 6, 73, 38},
|
||||||
|
{ 5, 66, 34},
|
||||||
|
{148,102, 9},
|
||||||
|
{ 4, 50, 26},
|
||||||
|
{ 3, 44, 23},
|
||||||
|
{169,116, 10},
|
||||||
|
{ 71, 49, 4},
|
||||||
|
{ 45, 31, 3},
|
||||||
|
{ 82, 56, 5},
|
||||||
|
{ 39, 27, 2},
|
||||||
|
{111, 76, 6},
|
||||||
|
{ 23, 16, 1},
|
||||||
|
{ 4, 58, 30},
|
||||||
|
{ 20,171,226},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255}
|
||||||
|
};
|
||||||
|
|
||||||
|
char cn_data[] = {
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0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,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,2,3,4,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,5,6,0,7,8,9,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,10,11,0,0,12,13,14,15,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,16,17,0,18,19,0,20,21,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,22,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,23,24,25,26,27,0,28,29,0,0,0,
|
||||||
|
0,0,0,0,0,30,31,32,33,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,34,35,36,37,0,38,39,40,0,0,0,
|
||||||
|
0,0,0,41,42,43,44,43,45,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,46,47,48,49,0,50,0,51,48,0,0,0,0,
|
||||||
|
0,52,53,54,55,52,56,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,17,16,38,51,57,58,0,59,57,0,0,0,0,0,
|
||||||
|
60,61,62,63,0,64,62,65,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,11,10,0,0,66,67,19,68,69,0,0,0,0,70,
|
||||||
|
71,72,0,0,73,74,0,0,73,75,76,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,6,5,0,0,0,0,0,37,4,0,0,0,0,0,0,
|
||||||
|
0,0,0,77,78,79,80,81,82,79,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
83,3,84,0,0,0,0,25,26,85,0,0,0,0,0,0,
|
||||||
|
0,0,77,86,87,86,88,89,90,91,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
92,2,5,11,17,0,0,93,94,0,0,0,0,0,0,0,
|
||||||
|
0,0,95,32,32,96,97,98,99,100,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,
|
||||||
|
101,102,103,10,16,102,104,3,105,0,0,0,0,0,0,0,
|
||||||
|
0,0,106,107,108,109,78,107,108,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,
|
||||||
|
18,110,111,110,0,110,111,112,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,63,113,53,114,115,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,58,67,
|
||||||
|
0,0,103,102,16,10,103,102,16,10,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,116,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,57,66,
|
||||||
|
0,0,0,117,111,118,38,0,17,119,0,0,0,0,0,0,
|
||||||
|
0,0,0,65,99,108,0,0,0,0,115,114,120,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,25,
|
||||||
|
0,0,0,0,110,121,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,98,107,122,0,108,107,78,109,95,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,123,124,125,0,125,26,
|
||||||
|
18,0,0,103,111,126,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,127,81,128,99,98,97,96,129,73,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,130,21,131,0,0,27,
|
||||||
|
19,67,66,102,110,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,132,133,86,90,89,88,86,134,135,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,136,137,0,0,0,0,0,
|
||||||
|
0,58,138,139,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,120,79,82,81,80,79,82,140,141,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,142,20,0,0,0,0,0,
|
||||||
|
143,144,145,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,146,75,73,91,147,75,73,148,149,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,15,150,0,0,0,0,0,
|
||||||
|
105,119,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,151,60,63,62,61,152,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,153,154,0,0,0,0,
|
||||||
|
105,3,155,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,55,54,53,52,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,156,130,137,157,0,9,
|
||||||
|
94,93,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,120,43,42,41,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,136,14,13,12,
|
||||||
|
158,159,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,160,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,9,8,7,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,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
|
||||||
|
0,0,0,0,0,0,0,0
|
||||||
|
};
|
488
cnslock/graphics/caps_num_scroll.h
Normal file
|
@ -0,0 +1,488 @@
|
||||||
|
int cns_width = 56;
|
||||||
|
int cns_height = 56;
|
||||||
|
|
||||||
|
char cns_cmap[256][3] = {
|
||||||
|
{ 0, 0, 0},
|
||||||
|
{ 54, 37, 3},
|
||||||
|
{ 56, 39, 3},
|
||||||
|
{218,150, 13},
|
||||||
|
{ 6, 4, 0},
|
||||||
|
{177,122, 10},
|
||||||
|
{ 97, 67, 6},
|
||||||
|
{ 9, 6, 0},
|
||||||
|
{ 29, 20, 2},
|
||||||
|
{ 26, 18, 2},
|
||||||
|
{ 89, 61, 5},
|
||||||
|
{186,127, 11},
|
||||||
|
{196,134, 11},
|
||||||
|
{123, 85, 7},
|
||||||
|
{236,162, 14},
|
||||||
|
{ 66, 45, 4},
|
||||||
|
{210,144, 12},
|
||||||
|
{ 65, 44, 4},
|
||||||
|
{112, 77, 6},
|
||||||
|
{162,111, 9},
|
||||||
|
{ 49, 34, 3},
|
||||||
|
{ 88, 60, 5},
|
||||||
|
{ 4, 55, 29},
|
||||||
|
{108, 74, 6},
|
||||||
|
{ 50, 34, 3},
|
||||||
|
{ 24, 16, 1},
|
||||||
|
{233,160, 13},
|
||||||
|
{ 41, 28, 2},
|
||||||
|
{136, 93, 8},
|
||||||
|
{138, 95, 8},
|
||||||
|
{ 6, 79, 41},
|
||||||
|
{ 15,195,102},
|
||||||
|
{ 18,232,121},
|
||||||
|
{ 2, 31, 16},
|
||||||
|
{ 90, 62, 5},
|
||||||
|
{225,154, 13},
|
||||||
|
{118, 81, 7},
|
||||||
|
{120, 83, 7},
|
||||||
|
{ 47, 33, 3},
|
||||||
|
{227,156, 13},
|
||||||
|
{ 17, 12, 1},
|
||||||
|
{ 4, 48, 25},
|
||||||
|
{ 13,164, 85},
|
||||||
|
{ 14,184, 96},
|
||||||
|
{ 13,172, 90},
|
||||||
|
{ 3, 43, 23},
|
||||||
|
{ 67, 46, 4},
|
||||||
|
{113, 78, 7},
|
||||||
|
{106, 73, 6},
|
||||||
|
{ 12, 8, 1},
|
||||||
|
{ 1, 0, 0},
|
||||||
|
{168,116, 10},
|
||||||
|
{ 1, 17, 9},
|
||||||
|
{ 10,133, 69},
|
||||||
|
{ 17,215,112},
|
||||||
|
{ 8, 99, 52},
|
||||||
|
{ 10,128, 67},
|
||||||
|
{195,133, 11},
|
||||||
|
{ 74, 50, 4},
|
||||||
|
{ 56, 38, 3},
|
||||||
|
{ 8,102, 53},
|
||||||
|
{ 17,218,113},
|
||||||
|
{ 10,130, 68},
|
||||||
|
{ 1, 14, 8},
|
||||||
|
{ 13,167, 87},
|
||||||
|
{ 1, 7, 4},
|
||||||
|
{ 80, 55, 5},
|
||||||
|
{201,138, 12},
|
||||||
|
{ 7, 5, 0},
|
||||||
|
{ 24, 17, 1},
|
||||||
|
{ 1, 13, 7},
|
||||||
|
{ 12,151, 79},
|
||||||
|
{ 4, 46, 24},
|
||||||
|
{ 5, 70, 37},
|
||||||
|
{ 12,149, 78},
|
||||||
|
{ 14,186, 97},
|
||||||
|
{ 5, 65, 34},
|
||||||
|
{ 0, 6, 3},
|
||||||
|
{ 14,178, 93},
|
||||||
|
{ 6, 77, 40},
|
||||||
|
{ 3, 39, 21},
|
||||||
|
{ 12,155, 81},
|
||||||
|
{ 15,193,100},
|
||||||
|
{ 5, 4, 0},
|
||||||
|
{131, 90, 8},
|
||||||
|
{ 37, 25, 2},
|
||||||
|
{ 10,124, 65},
|
||||||
|
{ 11,142, 74},
|
||||||
|
{ 17,224,117},
|
||||||
|
{ 8,108, 56},
|
||||||
|
{ 1, 8, 4},
|
||||||
|
{ 3, 33, 17},
|
||||||
|
{ 35, 24, 2},
|
||||||
|
{145, 99, 8},
|
||||||
|
{130, 89, 8},
|
||||||
|
{ 3, 36, 19},
|
||||||
|
{ 11,139, 72},
|
||||||
|
{ 2, 23, 12},
|
||||||
|
{ 7, 93, 49},
|
||||||
|
{ 16,209,109},
|
||||||
|
{ 8,107, 56},
|
||||||
|
{241,165, 14},
|
||||||
|
{153,105, 9},
|
||||||
|
{ 32, 22, 2},
|
||||||
|
{ 81, 56, 5},
|
||||||
|
{ 9, 6, 1},
|
||||||
|
{ 9,119, 62},
|
||||||
|
{ 13,170, 89},
|
||||||
|
{ 4, 54, 28},
|
||||||
|
{ 5, 62, 32},
|
||||||
|
{121, 83, 7},
|
||||||
|
{242,166, 14},
|
||||||
|
{170,116, 10},
|
||||||
|
{ 0, 1, 1},
|
||||||
|
{ 16,201,105},
|
||||||
|
{ 7, 85, 44},
|
||||||
|
{ 9,116, 60},
|
||||||
|
{ 25, 17, 1},
|
||||||
|
{193,133, 11},
|
||||||
|
{124, 85, 7},
|
||||||
|
{ 2, 25, 13},
|
||||||
|
{ 15, 10, 1},
|
||||||
|
{ 4, 47, 24},
|
||||||
|
{ 38, 26, 2},
|
||||||
|
{ 48, 33, 3},
|
||||||
|
{104, 72, 6},
|
||||||
|
{ 31, 21, 2},
|
||||||
|
{ 6, 72, 37},
|
||||||
|
{ 14,185, 97},
|
||||||
|
{ 18,228,119},
|
||||||
|
{203,139, 12},
|
||||||
|
{ 69, 48, 4},
|
||||||
|
{ 2, 29, 15},
|
||||||
|
{ 17,225,117},
|
||||||
|
{ 6, 82, 43},
|
||||||
|
{ 8,100, 52},
|
||||||
|
{115, 79, 7},
|
||||||
|
{160,110, 9},
|
||||||
|
{142, 98, 8},
|
||||||
|
{ 64, 44, 4},
|
||||||
|
{ 8,101, 52},
|
||||||
|
{ 7, 84, 44},
|
||||||
|
{103, 71, 6},
|
||||||
|
{ 8, 6, 0},
|
||||||
|
{123, 84, 7},
|
||||||
|
{ 3, 2, 0},
|
||||||
|
{ 2, 22, 11},
|
||||||
|
{ 13,162, 84},
|
||||||
|
{ 6, 73, 38},
|
||||||
|
{ 5, 66, 34},
|
||||||
|
{148,102, 9},
|
||||||
|
{ 4, 50, 26},
|
||||||
|
{ 3, 44, 23},
|
||||||
|
{169,116, 10},
|
||||||
|
{ 71, 49, 4},
|
||||||
|
{ 45, 31, 3},
|
||||||
|
{ 82, 56, 5},
|
||||||
|
{ 39, 27, 2},
|
||||||
|
{111, 76, 6},
|
||||||
|
{ 23, 16, 1},
|
||||||
|
{ 4, 58, 30},
|
||||||
|
{ 20,171,226},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255}
|
||||||
|
};
|
||||||
|
|
||||||
|
char cns_data[] = {
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
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,0,
|
||||||
|
0,0,0,0,0,0,2,3,4,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,5,6,0,7,8,9,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,10,11,0,0,12,13,14,15,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,16,17,0,18,19,0,20,21,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,22,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,23,24,25,26,27,0,28,29,0,0,0,
|
||||||
|
0,0,0,0,0,30,31,32,33,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,34,35,36,37,0,38,39,40,0,0,0,
|
||||||
|
0,0,0,41,42,43,44,43,45,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,46,47,48,49,0,50,0,51,48,0,0,0,0,
|
||||||
|
0,52,53,54,55,52,56,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,17,16,38,51,57,58,0,59,57,0,0,0,0,0,
|
||||||
|
60,61,62,63,0,64,62,65,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,11,10,0,0,66,67,19,68,69,0,0,0,0,70,
|
||||||
|
71,72,0,0,73,74,0,0,73,75,76,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,6,5,0,0,0,0,0,37,4,0,0,0,0,0,0,
|
||||||
|
0,0,0,77,78,79,80,81,82,79,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
83,3,84,0,0,0,0,25,26,85,0,0,0,0,0,0,
|
||||||
|
0,0,77,86,87,86,88,89,90,91,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
92,2,5,11,17,0,0,93,94,0,0,0,0,0,0,0,
|
||||||
|
0,0,95,32,32,96,97,98,99,100,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,
|
||||||
|
101,102,103,10,16,102,104,3,105,0,0,0,0,0,0,0,
|
||||||
|
0,0,106,107,108,109,78,107,108,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,
|
||||||
|
18,110,111,110,0,110,111,112,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,63,113,53,114,115,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,58,67,
|
||||||
|
0,0,103,102,16,10,103,102,16,10,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,116,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,57,66,
|
||||||
|
0,0,0,117,111,118,38,0,17,119,0,0,0,0,0,0,
|
||||||
|
0,0,0,65,99,108,0,0,0,0,115,114,120,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,25,
|
||||||
|
0,0,0,0,110,121,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,98,107,122,0,108,107,78,109,95,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,123,124,125,0,125,26,
|
||||||
|
18,0,0,103,111,126,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,127,81,128,99,98,97,96,129,73,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,130,21,131,0,0,27,
|
||||||
|
19,67,66,102,110,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,132,133,86,90,89,88,86,134,135,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,136,137,0,0,0,0,0,
|
||||||
|
0,58,138,139,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,120,79,82,81,80,79,82,140,141,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,142,20,0,0,0,0,0,
|
||||||
|
143,144,145,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,146,75,73,91,147,75,73,148,149,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,15,150,0,0,0,0,0,
|
||||||
|
105,119,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,151,60,63,62,61,152,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,153,154,0,0,0,0,
|
||||||
|
105,3,155,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,55,54,53,52,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,156,130,137,157,0,9,
|
||||||
|
94,93,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,120,43,42,41,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,136,14,13,12,
|
||||||
|
158,159,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,160,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,9,8,7,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,161,161,161,0,0,0,0,161,161,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,161,161,161,161,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,161,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,161,0,0,0,0,0,0,0,
|
||||||
|
161,161,161,161,0,0,161,0,161,161,161,0,0,0,161,161,
|
||||||
|
161,161,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,161,0,0,0,0,0,0,161,
|
||||||
|
0,0,0,0,0,0,161,161,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,161,161,161,161,0,0,161,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,161,0,161,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,161,0,161,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,161,0,0,0,0,161,0,161,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,161,161,161,161,0,0,0,
|
||||||
|
161,161,161,161,0,0,161,0,0,0,0,0,0,0,161,161,
|
||||||
|
161,161,0,0,161,161,161,161,161,0,0,161,161,161,161,161,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0
|
||||||
|
};
|
488
cnslock/graphics/caps_scroll.h
Normal file
|
@ -0,0 +1,488 @@
|
||||||
|
int cs_width = 56;
|
||||||
|
int cs_height = 56;
|
||||||
|
|
||||||
|
char cs_cmap[256][3] = {
|
||||||
|
{ 0, 0, 0},
|
||||||
|
{ 54, 37, 3},
|
||||||
|
{ 56, 39, 3},
|
||||||
|
{218,150, 13},
|
||||||
|
{ 6, 4, 0},
|
||||||
|
{177,122, 10},
|
||||||
|
{ 97, 67, 6},
|
||||||
|
{ 9, 6, 0},
|
||||||
|
{ 29, 20, 2},
|
||||||
|
{ 26, 18, 2},
|
||||||
|
{ 89, 61, 5},
|
||||||
|
{186,127, 11},
|
||||||
|
{196,134, 11},
|
||||||
|
{123, 85, 7},
|
||||||
|
{236,162, 14},
|
||||||
|
{ 66, 45, 4},
|
||||||
|
{210,144, 12},
|
||||||
|
{ 65, 44, 4},
|
||||||
|
{112, 77, 6},
|
||||||
|
{162,111, 9},
|
||||||
|
{ 49, 34, 3},
|
||||||
|
{ 88, 60, 5},
|
||||||
|
{ 4, 55, 29},
|
||||||
|
{108, 74, 6},
|
||||||
|
{ 50, 34, 3},
|
||||||
|
{ 24, 16, 1},
|
||||||
|
{233,160, 13},
|
||||||
|
{ 41, 28, 2},
|
||||||
|
{136, 93, 8},
|
||||||
|
{138, 95, 8},
|
||||||
|
{ 6, 79, 41},
|
||||||
|
{ 15,195,102},
|
||||||
|
{ 18,232,121},
|
||||||
|
{ 2, 31, 16},
|
||||||
|
{ 90, 62, 5},
|
||||||
|
{225,154, 13},
|
||||||
|
{118, 81, 7},
|
||||||
|
{120, 83, 7},
|
||||||
|
{ 47, 33, 3},
|
||||||
|
{227,156, 13},
|
||||||
|
{ 17, 12, 1},
|
||||||
|
{ 4, 48, 25},
|
||||||
|
{ 13,164, 85},
|
||||||
|
{ 14,184, 96},
|
||||||
|
{ 13,172, 90},
|
||||||
|
{ 3, 43, 23},
|
||||||
|
{ 67, 46, 4},
|
||||||
|
{113, 78, 7},
|
||||||
|
{106, 73, 6},
|
||||||
|
{ 12, 8, 1},
|
||||||
|
{ 1, 0, 0},
|
||||||
|
{168,116, 10},
|
||||||
|
{ 1, 17, 9},
|
||||||
|
{ 10,133, 69},
|
||||||
|
{ 17,215,112},
|
||||||
|
{ 8, 99, 52},
|
||||||
|
{ 10,128, 67},
|
||||||
|
{195,133, 11},
|
||||||
|
{ 74, 50, 4},
|
||||||
|
{ 56, 38, 3},
|
||||||
|
{ 8,102, 53},
|
||||||
|
{ 17,218,113},
|
||||||
|
{ 10,130, 68},
|
||||||
|
{ 1, 14, 8},
|
||||||
|
{ 13,167, 87},
|
||||||
|
{ 1, 7, 4},
|
||||||
|
{ 80, 55, 5},
|
||||||
|
{201,138, 12},
|
||||||
|
{ 7, 5, 0},
|
||||||
|
{ 24, 17, 1},
|
||||||
|
{ 1, 13, 7},
|
||||||
|
{ 12,151, 79},
|
||||||
|
{ 4, 46, 24},
|
||||||
|
{ 5, 70, 37},
|
||||||
|
{ 12,149, 78},
|
||||||
|
{ 14,186, 97},
|
||||||
|
{ 5, 65, 34},
|
||||||
|
{ 0, 6, 3},
|
||||||
|
{ 14,178, 93},
|
||||||
|
{ 6, 77, 40},
|
||||||
|
{ 3, 39, 21},
|
||||||
|
{ 12,155, 81},
|
||||||
|
{ 15,193,100},
|
||||||
|
{ 5, 4, 0},
|
||||||
|
{131, 90, 8},
|
||||||
|
{ 37, 25, 2},
|
||||||
|
{ 10,124, 65},
|
||||||
|
{ 11,142, 74},
|
||||||
|
{ 17,224,117},
|
||||||
|
{ 8,108, 56},
|
||||||
|
{ 1, 8, 4},
|
||||||
|
{ 3, 33, 17},
|
||||||
|
{ 35, 24, 2},
|
||||||
|
{145, 99, 8},
|
||||||
|
{130, 89, 8},
|
||||||
|
{ 3, 36, 19},
|
||||||
|
{ 11,139, 72},
|
||||||
|
{ 2, 23, 12},
|
||||||
|
{ 7, 93, 49},
|
||||||
|
{ 16,209,109},
|
||||||
|
{ 8,107, 56},
|
||||||
|
{241,165, 14},
|
||||||
|
{153,105, 9},
|
||||||
|
{ 32, 22, 2},
|
||||||
|
{ 81, 56, 5},
|
||||||
|
{ 9, 6, 1},
|
||||||
|
{ 9,119, 62},
|
||||||
|
{ 13,170, 89},
|
||||||
|
{ 4, 54, 28},
|
||||||
|
{ 5, 62, 32},
|
||||||
|
{121, 83, 7},
|
||||||
|
{242,166, 14},
|
||||||
|
{170,116, 10},
|
||||||
|
{ 0, 1, 1},
|
||||||
|
{ 16,201,105},
|
||||||
|
{ 7, 85, 44},
|
||||||
|
{ 9,116, 60},
|
||||||
|
{ 25, 17, 1},
|
||||||
|
{193,133, 11},
|
||||||
|
{124, 85, 7},
|
||||||
|
{ 2, 25, 13},
|
||||||
|
{ 15, 10, 1},
|
||||||
|
{ 4, 47, 24},
|
||||||
|
{ 38, 26, 2},
|
||||||
|
{ 48, 33, 3},
|
||||||
|
{104, 72, 6},
|
||||||
|
{ 31, 21, 2},
|
||||||
|
{ 6, 72, 37},
|
||||||
|
{ 14,185, 97},
|
||||||
|
{ 18,228,119},
|
||||||
|
{203,139, 12},
|
||||||
|
{ 69, 48, 4},
|
||||||
|
{ 2, 29, 15},
|
||||||
|
{ 17,225,117},
|
||||||
|
{ 6, 82, 43},
|
||||||
|
{ 8,100, 52},
|
||||||
|
{115, 79, 7},
|
||||||
|
{160,110, 9},
|
||||||
|
{142, 98, 8},
|
||||||
|
{ 64, 44, 4},
|
||||||
|
{ 8,101, 52},
|
||||||
|
{ 7, 84, 44},
|
||||||
|
{103, 71, 6},
|
||||||
|
{ 8, 6, 0},
|
||||||
|
{123, 84, 7},
|
||||||
|
{ 3, 2, 0},
|
||||||
|
{ 2, 22, 11},
|
||||||
|
{ 13,162, 84},
|
||||||
|
{ 6, 73, 38},
|
||||||
|
{ 5, 66, 34},
|
||||||
|
{148,102, 9},
|
||||||
|
{ 4, 50, 26},
|
||||||
|
{ 3, 44, 23},
|
||||||
|
{169,116, 10},
|
||||||
|
{ 71, 49, 4},
|
||||||
|
{ 45, 31, 3},
|
||||||
|
{ 82, 56, 5},
|
||||||
|
{ 39, 27, 2},
|
||||||
|
{111, 76, 6},
|
||||||
|
{ 23, 16, 1},
|
||||||
|
{ 4, 58, 30},
|
||||||
|
{ 20,171,226},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255}
|
||||||
|
};
|
||||||
|
|
||||||
|
char cs_data[] = {
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,10,11,0,0,12,13,14,15,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,16,17,0,18,19,0,20,21,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,23,24,25,26,27,0,28,29,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,34,35,36,37,0,38,39,40,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,46,47,48,49,0,50,0,51,48,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,17,16,38,51,57,58,0,59,57,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,11,10,0,0,66,67,19,68,69,0,0,0,0,70,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,6,5,0,0,0,0,0,37,4,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
83,3,84,0,0,0,0,25,26,85,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
92,2,5,11,17,0,0,93,94,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,
|
||||||
|
101,102,103,10,16,102,104,3,105,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,
|
||||||
|
18,110,111,110,0,110,111,112,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,58,67,
|
||||||
|
0,0,103,102,16,10,103,102,16,10,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,57,66,
|
||||||
|
0,0,0,117,111,118,38,0,17,119,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,25,
|
||||||
|
0,0,0,0,110,121,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,123,124,125,0,125,26,
|
||||||
|
18,0,0,103,111,126,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,130,21,131,0,0,27,
|
||||||
|
19,67,66,102,110,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,136,137,0,0,0,0,0,
|
||||||
|
0,58,138,139,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,142,20,0,0,0,0,0,
|
||||||
|
143,144,145,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,15,150,0,0,0,0,0,
|
||||||
|
105,119,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,153,154,0,0,0,0,
|
||||||
|
105,3,155,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,156,130,137,157,0,9,
|
||||||
|
94,93,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,136,14,13,12,
|
||||||
|
158,159,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,9,8,7,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,161,161,161,0,0,0,0,161,161,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,161,161,161,161,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,161,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,161,0,0,0,0,0,0,0,
|
||||||
|
161,161,161,161,0,0,161,0,161,161,161,0,0,0,161,161,
|
||||||
|
161,161,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,161,0,0,0,0,0,0,161,
|
||||||
|
0,0,0,0,0,0,161,161,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,161,161,161,161,0,0,161,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,161,0,161,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,161,0,161,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,161,0,0,0,0,161,0,161,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,161,161,161,161,0,0,0,
|
||||||
|
161,161,161,161,0,0,161,0,0,0,0,0,0,0,161,161,
|
||||||
|
161,161,0,0,161,161,161,161,161,0,0,161,161,161,161,161,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0
|
||||||
|
};
|
71
cnslock/graphics/master.xpm
Normal file
|
@ -0,0 +1,71 @@
|
||||||
|
/* XPM */
|
||||||
|
static char * master_xpm[] = {
|
||||||
|
"64 64 4 1",
|
||||||
|
" c None",
|
||||||
|
". c #000000",
|
||||||
|
"+ c #375F87",
|
||||||
|
"@ c #ABBAC6",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" .......................................................... ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" .++++++++++++++++++++++++++++++++++++++++++++++++++++++++@ ",
|
||||||
|
" @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" "};
|
488
cnslock/graphics/none.h
Normal file
|
@ -0,0 +1,488 @@
|
||||||
|
int none_width = 56;
|
||||||
|
int none_height = 56;
|
||||||
|
|
||||||
|
char none_cmap[256][3] = {
|
||||||
|
{ 0, 0, 0},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255}
|
||||||
|
};
|
||||||
|
|
||||||
|
char none_data[] = {
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|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
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0
|
||||||
|
};
|
488
cnslock/graphics/num.h
Normal file
|
@ -0,0 +1,488 @@
|
||||||
|
int n_width = 56;
|
||||||
|
int n_height = 56;
|
||||||
|
|
||||||
|
char n_cmap[256][3] = {
|
||||||
|
{ 0, 0, 0},
|
||||||
|
{ 54, 37, 3},
|
||||||
|
{ 56, 39, 3},
|
||||||
|
{218,150, 13},
|
||||||
|
{ 6, 4, 0},
|
||||||
|
{177,122, 10},
|
||||||
|
{ 97, 67, 6},
|
||||||
|
{ 9, 6, 0},
|
||||||
|
{ 29, 20, 2},
|
||||||
|
{ 26, 18, 2},
|
||||||
|
{ 89, 61, 5},
|
||||||
|
{186,127, 11},
|
||||||
|
{196,134, 11},
|
||||||
|
{123, 85, 7},
|
||||||
|
{236,162, 14},
|
||||||
|
{ 66, 45, 4},
|
||||||
|
{210,144, 12},
|
||||||
|
{ 65, 44, 4},
|
||||||
|
{112, 77, 6},
|
||||||
|
{162,111, 9},
|
||||||
|
{ 49, 34, 3},
|
||||||
|
{ 88, 60, 5},
|
||||||
|
{ 4, 55, 29},
|
||||||
|
{108, 74, 6},
|
||||||
|
{ 50, 34, 3},
|
||||||
|
{ 24, 16, 1},
|
||||||
|
{233,160, 13},
|
||||||
|
{ 41, 28, 2},
|
||||||
|
{136, 93, 8},
|
||||||
|
{138, 95, 8},
|
||||||
|
{ 6, 79, 41},
|
||||||
|
{ 15,195,102},
|
||||||
|
{ 18,232,121},
|
||||||
|
{ 2, 31, 16},
|
||||||
|
{ 90, 62, 5},
|
||||||
|
{225,154, 13},
|
||||||
|
{118, 81, 7},
|
||||||
|
{120, 83, 7},
|
||||||
|
{ 47, 33, 3},
|
||||||
|
{227,156, 13},
|
||||||
|
{ 17, 12, 1},
|
||||||
|
{ 4, 48, 25},
|
||||||
|
{ 13,164, 85},
|
||||||
|
{ 14,184, 96},
|
||||||
|
{ 13,172, 90},
|
||||||
|
{ 3, 43, 23},
|
||||||
|
{ 67, 46, 4},
|
||||||
|
{113, 78, 7},
|
||||||
|
{106, 73, 6},
|
||||||
|
{ 12, 8, 1},
|
||||||
|
{ 1, 0, 0},
|
||||||
|
{168,116, 10},
|
||||||
|
{ 1, 17, 9},
|
||||||
|
{ 10,133, 69},
|
||||||
|
{ 17,215,112},
|
||||||
|
{ 8, 99, 52},
|
||||||
|
{ 10,128, 67},
|
||||||
|
{195,133, 11},
|
||||||
|
{ 74, 50, 4},
|
||||||
|
{ 56, 38, 3},
|
||||||
|
{ 8,102, 53},
|
||||||
|
{ 17,218,113},
|
||||||
|
{ 10,130, 68},
|
||||||
|
{ 1, 14, 8},
|
||||||
|
{ 13,167, 87},
|
||||||
|
{ 1, 7, 4},
|
||||||
|
{ 80, 55, 5},
|
||||||
|
{201,138, 12},
|
||||||
|
{ 7, 5, 0},
|
||||||
|
{ 24, 17, 1},
|
||||||
|
{ 1, 13, 7},
|
||||||
|
{ 12,151, 79},
|
||||||
|
{ 4, 46, 24},
|
||||||
|
{ 5, 70, 37},
|
||||||
|
{ 12,149, 78},
|
||||||
|
{ 14,186, 97},
|
||||||
|
{ 5, 65, 34},
|
||||||
|
{ 0, 6, 3},
|
||||||
|
{ 14,178, 93},
|
||||||
|
{ 6, 77, 40},
|
||||||
|
{ 3, 39, 21},
|
||||||
|
{ 12,155, 81},
|
||||||
|
{ 15,193,100},
|
||||||
|
{ 5, 4, 0},
|
||||||
|
{131, 90, 8},
|
||||||
|
{ 37, 25, 2},
|
||||||
|
{ 10,124, 65},
|
||||||
|
{ 11,142, 74},
|
||||||
|
{ 17,224,117},
|
||||||
|
{ 8,108, 56},
|
||||||
|
{ 1, 8, 4},
|
||||||
|
{ 3, 33, 17},
|
||||||
|
{ 35, 24, 2},
|
||||||
|
{145, 99, 8},
|
||||||
|
{130, 89, 8},
|
||||||
|
{ 3, 36, 19},
|
||||||
|
{ 11,139, 72},
|
||||||
|
{ 2, 23, 12},
|
||||||
|
{ 7, 93, 49},
|
||||||
|
{ 16,209,109},
|
||||||
|
{ 8,107, 56},
|
||||||
|
{241,165, 14},
|
||||||
|
{153,105, 9},
|
||||||
|
{ 32, 22, 2},
|
||||||
|
{ 81, 56, 5},
|
||||||
|
{ 9, 6, 1},
|
||||||
|
{ 9,119, 62},
|
||||||
|
{ 13,170, 89},
|
||||||
|
{ 4, 54, 28},
|
||||||
|
{ 5, 62, 32},
|
||||||
|
{121, 83, 7},
|
||||||
|
{242,166, 14},
|
||||||
|
{170,116, 10},
|
||||||
|
{ 0, 1, 1},
|
||||||
|
{ 16,201,105},
|
||||||
|
{ 7, 85, 44},
|
||||||
|
{ 9,116, 60},
|
||||||
|
{ 25, 17, 1},
|
||||||
|
{193,133, 11},
|
||||||
|
{124, 85, 7},
|
||||||
|
{ 2, 25, 13},
|
||||||
|
{ 15, 10, 1},
|
||||||
|
{ 4, 47, 24},
|
||||||
|
{ 38, 26, 2},
|
||||||
|
{ 48, 33, 3},
|
||||||
|
{104, 72, 6},
|
||||||
|
{ 31, 21, 2},
|
||||||
|
{ 6, 72, 37},
|
||||||
|
{ 14,185, 97},
|
||||||
|
{ 18,228,119},
|
||||||
|
{203,139, 12},
|
||||||
|
{ 69, 48, 4},
|
||||||
|
{ 2, 29, 15},
|
||||||
|
{ 17,225,117},
|
||||||
|
{ 6, 82, 43},
|
||||||
|
{ 8,100, 52},
|
||||||
|
{115, 79, 7},
|
||||||
|
{160,110, 9},
|
||||||
|
{142, 98, 8},
|
||||||
|
{ 64, 44, 4},
|
||||||
|
{ 8,101, 52},
|
||||||
|
{ 7, 84, 44},
|
||||||
|
{103, 71, 6},
|
||||||
|
{ 8, 6, 0},
|
||||||
|
{123, 84, 7},
|
||||||
|
{ 3, 2, 0},
|
||||||
|
{ 2, 22, 11},
|
||||||
|
{ 13,162, 84},
|
||||||
|
{ 6, 73, 38},
|
||||||
|
{ 5, 66, 34},
|
||||||
|
{148,102, 9},
|
||||||
|
{ 4, 50, 26},
|
||||||
|
{ 3, 44, 23},
|
||||||
|
{169,116, 10},
|
||||||
|
{ 71, 49, 4},
|
||||||
|
{ 45, 31, 3},
|
||||||
|
{ 82, 56, 5},
|
||||||
|
{ 39, 27, 2},
|
||||||
|
{111, 76, 6},
|
||||||
|
{ 23, 16, 1},
|
||||||
|
{ 4, 58, 30},
|
||||||
|
{ 20,171,226},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255}
|
||||||
|
};
|
||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31,32,33,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,41,42,43,44,43,45,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,52,53,54,55,52,56,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
60,61,62,63,0,64,62,65,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,70,
|
||||||
|
71,72,0,0,73,74,0,0,73,75,76,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,77,78,79,80,81,82,79,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,77,86,87,86,88,89,90,91,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,95,32,32,96,97,98,99,100,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,106,107,108,109,78,107,108,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,63,113,53,114,115,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,116,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,65,99,108,0,0,0,0,115,114,120,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,98,107,122,0,108,107,78,109,95,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,127,81,128,99,98,97,96,129,73,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,132,133,86,90,89,88,86,134,135,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,120,79,82,81,80,79,82,140,141,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,146,75,73,91,147,75,73,148,149,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,151,60,63,62,61,152,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,55,54,53,52,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,120,43,42,41,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,160,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0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0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0
|
||||||
|
};
|
488
cnslock/graphics/num_scroll.h
Normal file
|
@ -0,0 +1,488 @@
|
||||||
|
int ns_width = 56;
|
||||||
|
int ns_height = 56;
|
||||||
|
|
||||||
|
char ns_cmap[256][3] = {
|
||||||
|
{ 0, 0, 0},
|
||||||
|
{ 54, 37, 3},
|
||||||
|
{ 56, 39, 3},
|
||||||
|
{218,150, 13},
|
||||||
|
{ 6, 4, 0},
|
||||||
|
{177,122, 10},
|
||||||
|
{ 97, 67, 6},
|
||||||
|
{ 9, 6, 0},
|
||||||
|
{ 29, 20, 2},
|
||||||
|
{ 26, 18, 2},
|
||||||
|
{ 89, 61, 5},
|
||||||
|
{186,127, 11},
|
||||||
|
{196,134, 11},
|
||||||
|
{123, 85, 7},
|
||||||
|
{236,162, 14},
|
||||||
|
{ 66, 45, 4},
|
||||||
|
{210,144, 12},
|
||||||
|
{ 65, 44, 4},
|
||||||
|
{112, 77, 6},
|
||||||
|
{162,111, 9},
|
||||||
|
{ 49, 34, 3},
|
||||||
|
{ 88, 60, 5},
|
||||||
|
{ 4, 55, 29},
|
||||||
|
{108, 74, 6},
|
||||||
|
{ 50, 34, 3},
|
||||||
|
{ 24, 16, 1},
|
||||||
|
{233,160, 13},
|
||||||
|
{ 41, 28, 2},
|
||||||
|
{136, 93, 8},
|
||||||
|
{138, 95, 8},
|
||||||
|
{ 6, 79, 41},
|
||||||
|
{ 15,195,102},
|
||||||
|
{ 18,232,121},
|
||||||
|
{ 2, 31, 16},
|
||||||
|
{ 90, 62, 5},
|
||||||
|
{225,154, 13},
|
||||||
|
{118, 81, 7},
|
||||||
|
{120, 83, 7},
|
||||||
|
{ 47, 33, 3},
|
||||||
|
{227,156, 13},
|
||||||
|
{ 17, 12, 1},
|
||||||
|
{ 4, 48, 25},
|
||||||
|
{ 13,164, 85},
|
||||||
|
{ 14,184, 96},
|
||||||
|
{ 13,172, 90},
|
||||||
|
{ 3, 43, 23},
|
||||||
|
{ 67, 46, 4},
|
||||||
|
{113, 78, 7},
|
||||||
|
{106, 73, 6},
|
||||||
|
{ 12, 8, 1},
|
||||||
|
{ 1, 0, 0},
|
||||||
|
{168,116, 10},
|
||||||
|
{ 1, 17, 9},
|
||||||
|
{ 10,133, 69},
|
||||||
|
{ 17,215,112},
|
||||||
|
{ 8, 99, 52},
|
||||||
|
{ 10,128, 67},
|
||||||
|
{195,133, 11},
|
||||||
|
{ 74, 50, 4},
|
||||||
|
{ 56, 38, 3},
|
||||||
|
{ 8,102, 53},
|
||||||
|
{ 17,218,113},
|
||||||
|
{ 10,130, 68},
|
||||||
|
{ 1, 14, 8},
|
||||||
|
{ 13,167, 87},
|
||||||
|
{ 1, 7, 4},
|
||||||
|
{ 80, 55, 5},
|
||||||
|
{201,138, 12},
|
||||||
|
{ 7, 5, 0},
|
||||||
|
{ 24, 17, 1},
|
||||||
|
{ 1, 13, 7},
|
||||||
|
{ 12,151, 79},
|
||||||
|
{ 4, 46, 24},
|
||||||
|
{ 5, 70, 37},
|
||||||
|
{ 12,149, 78},
|
||||||
|
{ 14,186, 97},
|
||||||
|
{ 5, 65, 34},
|
||||||
|
{ 0, 6, 3},
|
||||||
|
{ 14,178, 93},
|
||||||
|
{ 6, 77, 40},
|
||||||
|
{ 3, 39, 21},
|
||||||
|
{ 12,155, 81},
|
||||||
|
{ 15,193,100},
|
||||||
|
{ 5, 4, 0},
|
||||||
|
{131, 90, 8},
|
||||||
|
{ 37, 25, 2},
|
||||||
|
{ 10,124, 65},
|
||||||
|
{ 11,142, 74},
|
||||||
|
{ 17,224,117},
|
||||||
|
{ 8,108, 56},
|
||||||
|
{ 1, 8, 4},
|
||||||
|
{ 3, 33, 17},
|
||||||
|
{ 35, 24, 2},
|
||||||
|
{145, 99, 8},
|
||||||
|
{130, 89, 8},
|
||||||
|
{ 3, 36, 19},
|
||||||
|
{ 11,139, 72},
|
||||||
|
{ 2, 23, 12},
|
||||||
|
{ 7, 93, 49},
|
||||||
|
{ 16,209,109},
|
||||||
|
{ 8,107, 56},
|
||||||
|
{241,165, 14},
|
||||||
|
{153,105, 9},
|
||||||
|
{ 32, 22, 2},
|
||||||
|
{ 81, 56, 5},
|
||||||
|
{ 9, 6, 1},
|
||||||
|
{ 9,119, 62},
|
||||||
|
{ 13,170, 89},
|
||||||
|
{ 4, 54, 28},
|
||||||
|
{ 5, 62, 32},
|
||||||
|
{121, 83, 7},
|
||||||
|
{242,166, 14},
|
||||||
|
{170,116, 10},
|
||||||
|
{ 0, 1, 1},
|
||||||
|
{ 16,201,105},
|
||||||
|
{ 7, 85, 44},
|
||||||
|
{ 9,116, 60},
|
||||||
|
{ 25, 17, 1},
|
||||||
|
{193,133, 11},
|
||||||
|
{124, 85, 7},
|
||||||
|
{ 2, 25, 13},
|
||||||
|
{ 15, 10, 1},
|
||||||
|
{ 4, 47, 24},
|
||||||
|
{ 38, 26, 2},
|
||||||
|
{ 48, 33, 3},
|
||||||
|
{104, 72, 6},
|
||||||
|
{ 31, 21, 2},
|
||||||
|
{ 6, 72, 37},
|
||||||
|
{ 14,185, 97},
|
||||||
|
{ 18,228,119},
|
||||||
|
{203,139, 12},
|
||||||
|
{ 69, 48, 4},
|
||||||
|
{ 2, 29, 15},
|
||||||
|
{ 17,225,117},
|
||||||
|
{ 6, 82, 43},
|
||||||
|
{ 8,100, 52},
|
||||||
|
{115, 79, 7},
|
||||||
|
{160,110, 9},
|
||||||
|
{142, 98, 8},
|
||||||
|
{ 64, 44, 4},
|
||||||
|
{ 8,101, 52},
|
||||||
|
{ 7, 84, 44},
|
||||||
|
{103, 71, 6},
|
||||||
|
{ 8, 6, 0},
|
||||||
|
{123, 84, 7},
|
||||||
|
{ 3, 2, 0},
|
||||||
|
{ 2, 22, 11},
|
||||||
|
{ 13,162, 84},
|
||||||
|
{ 6, 73, 38},
|
||||||
|
{ 5, 66, 34},
|
||||||
|
{148,102, 9},
|
||||||
|
{ 4, 50, 26},
|
||||||
|
{ 3, 44, 23},
|
||||||
|
{169,116, 10},
|
||||||
|
{ 71, 49, 4},
|
||||||
|
{ 45, 31, 3},
|
||||||
|
{ 82, 56, 5},
|
||||||
|
{ 39, 27, 2},
|
||||||
|
{111, 76, 6},
|
||||||
|
{ 23, 16, 1},
|
||||||
|
{ 4, 58, 30},
|
||||||
|
{ 20,171,226},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255}
|
||||||
|
};
|
||||||
|
|
||||||
|
char ns_data[] = {
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,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||||||
|
0,52,53,54,55,52,56,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
60,61,62,63,0,64,62,65,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,70,
|
||||||
|
71,72,0,0,73,74,0,0,73,75,76,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,77,78,79,80,81,82,79,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,77,86,87,86,88,89,90,91,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,95,32,32,96,97,98,99,100,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,106,107,108,109,78,107,108,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,63,113,53,114,115,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,116,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,65,99,108,0,0,0,0,115,114,120,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,98,107,122,0,108,107,78,109,95,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,127,81,128,99,98,97,96,129,73,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,132,133,86,90,89,88,86,134,135,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,120,79,82,81,80,79,82,140,141,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,146,75,73,91,147,75,73,148,149,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,151,60,63,62,61,152,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,55,54,53,52,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,120,43,42,41,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,160,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,161,161,161,0,0,0,0,161,161,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,161,161,161,161,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,161,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,161,0,0,0,0,0,0,0,
|
||||||
|
161,161,161,161,0,0,161,0,161,161,161,0,0,0,161,161,
|
||||||
|
161,161,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,161,0,0,0,0,0,0,161,
|
||||||
|
0,0,0,0,0,0,161,161,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,161,161,161,161,0,0,161,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,161,0,161,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,161,0,161,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,161,0,0,0,0,161,0,161,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,161,161,161,161,0,0,0,
|
||||||
|
161,161,161,161,0,0,161,0,0,0,0,0,0,0,161,161,
|
||||||
|
161,161,0,0,161,161,161,161,161,0,0,161,161,161,161,161,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0
|
||||||
|
};
|
BIN
cnslock/graphics/pngs/.xvpics/caps.h
Normal file
BIN
cnslock/graphics/pngs/.xvpics/caps.png
Normal file
BIN
cnslock/graphics/pngs/.xvpics/caps_num.h
Normal file
BIN
cnslock/graphics/pngs/.xvpics/caps_num.png
Normal file
BIN
cnslock/graphics/pngs/.xvpics/caps_num_scroll.h
Normal file
BIN
cnslock/graphics/pngs/.xvpics/caps_num_scroll.png
Normal file
BIN
cnslock/graphics/pngs/.xvpics/caps_scroll.h
Normal file
BIN
cnslock/graphics/pngs/.xvpics/caps_scroll.png
Normal file
BIN
cnslock/graphics/pngs/.xvpics/none.png
Normal file
BIN
cnslock/graphics/pngs/.xvpics/num.h
Normal file
BIN
cnslock/graphics/pngs/.xvpics/num.png
Normal file
BIN
cnslock/graphics/pngs/.xvpics/num_scroll.h
Normal file
BIN
cnslock/graphics/pngs/.xvpics/num_scroll.png
Normal file
BIN
cnslock/graphics/pngs/.xvpics/scroll.h
Normal file
BIN
cnslock/graphics/pngs/.xvpics/scroll.png
Normal file
BIN
cnslock/graphics/pngs/caps.png
Normal file
After Width: | Height: | Size: 898 B |
BIN
cnslock/graphics/pngs/caps_num.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
cnslock/graphics/pngs/caps_num_scroll.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
cnslock/graphics/pngs/caps_scroll.png
Normal file
After Width: | Height: | Size: 955 B |
BIN
cnslock/graphics/pngs/none.png
Normal file
After Width: | Height: | Size: 142 B |
BIN
cnslock/graphics/pngs/num.png
Normal file
After Width: | Height: | Size: 827 B |
BIN
cnslock/graphics/pngs/num_scroll.png
Normal file
After Width: | Height: | Size: 889 B |
BIN
cnslock/graphics/pngs/scroll.png
Normal file
After Width: | Height: | Size: 696 B |
488
cnslock/graphics/scroll.h
Normal file
|
@ -0,0 +1,488 @@
|
||||||
|
int s_width = 56;
|
||||||
|
int s_height = 56;
|
||||||
|
|
||||||
|
char s_cmap[256][3] = {
|
||||||
|
{ 0, 0, 0},
|
||||||
|
{ 54, 37, 3},
|
||||||
|
{ 56, 39, 3},
|
||||||
|
{218,150, 13},
|
||||||
|
{ 6, 4, 0},
|
||||||
|
{177,122, 10},
|
||||||
|
{ 97, 67, 6},
|
||||||
|
{ 9, 6, 0},
|
||||||
|
{ 29, 20, 2},
|
||||||
|
{ 26, 18, 2},
|
||||||
|
{ 89, 61, 5},
|
||||||
|
{186,127, 11},
|
||||||
|
{196,134, 11},
|
||||||
|
{123, 85, 7},
|
||||||
|
{236,162, 14},
|
||||||
|
{ 66, 45, 4},
|
||||||
|
{210,144, 12},
|
||||||
|
{ 65, 44, 4},
|
||||||
|
{112, 77, 6},
|
||||||
|
{162,111, 9},
|
||||||
|
{ 49, 34, 3},
|
||||||
|
{ 88, 60, 5},
|
||||||
|
{ 4, 55, 29},
|
||||||
|
{108, 74, 6},
|
||||||
|
{ 50, 34, 3},
|
||||||
|
{ 24, 16, 1},
|
||||||
|
{233,160, 13},
|
||||||
|
{ 41, 28, 2},
|
||||||
|
{136, 93, 8},
|
||||||
|
{138, 95, 8},
|
||||||
|
{ 6, 79, 41},
|
||||||
|
{ 15,195,102},
|
||||||
|
{ 18,232,121},
|
||||||
|
{ 2, 31, 16},
|
||||||
|
{ 90, 62, 5},
|
||||||
|
{225,154, 13},
|
||||||
|
{118, 81, 7},
|
||||||
|
{120, 83, 7},
|
||||||
|
{ 47, 33, 3},
|
||||||
|
{227,156, 13},
|
||||||
|
{ 17, 12, 1},
|
||||||
|
{ 4, 48, 25},
|
||||||
|
{ 13,164, 85},
|
||||||
|
{ 14,184, 96},
|
||||||
|
{ 13,172, 90},
|
||||||
|
{ 3, 43, 23},
|
||||||
|
{ 67, 46, 4},
|
||||||
|
{113, 78, 7},
|
||||||
|
{106, 73, 6},
|
||||||
|
{ 12, 8, 1},
|
||||||
|
{ 1, 0, 0},
|
||||||
|
{168,116, 10},
|
||||||
|
{ 1, 17, 9},
|
||||||
|
{ 10,133, 69},
|
||||||
|
{ 17,215,112},
|
||||||
|
{ 8, 99, 52},
|
||||||
|
{ 10,128, 67},
|
||||||
|
{195,133, 11},
|
||||||
|
{ 74, 50, 4},
|
||||||
|
{ 56, 38, 3},
|
||||||
|
{ 8,102, 53},
|
||||||
|
{ 17,218,113},
|
||||||
|
{ 10,130, 68},
|
||||||
|
{ 1, 14, 8},
|
||||||
|
{ 13,167, 87},
|
||||||
|
{ 1, 7, 4},
|
||||||
|
{ 80, 55, 5},
|
||||||
|
{201,138, 12},
|
||||||
|
{ 7, 5, 0},
|
||||||
|
{ 24, 17, 1},
|
||||||
|
{ 1, 13, 7},
|
||||||
|
{ 12,151, 79},
|
||||||
|
{ 4, 46, 24},
|
||||||
|
{ 5, 70, 37},
|
||||||
|
{ 12,149, 78},
|
||||||
|
{ 14,186, 97},
|
||||||
|
{ 5, 65, 34},
|
||||||
|
{ 0, 6, 3},
|
||||||
|
{ 14,178, 93},
|
||||||
|
{ 6, 77, 40},
|
||||||
|
{ 3, 39, 21},
|
||||||
|
{ 12,155, 81},
|
||||||
|
{ 15,193,100},
|
||||||
|
{ 5, 4, 0},
|
||||||
|
{131, 90, 8},
|
||||||
|
{ 37, 25, 2},
|
||||||
|
{ 10,124, 65},
|
||||||
|
{ 11,142, 74},
|
||||||
|
{ 17,224,117},
|
||||||
|
{ 8,108, 56},
|
||||||
|
{ 1, 8, 4},
|
||||||
|
{ 3, 33, 17},
|
||||||
|
{ 35, 24, 2},
|
||||||
|
{145, 99, 8},
|
||||||
|
{130, 89, 8},
|
||||||
|
{ 3, 36, 19},
|
||||||
|
{ 11,139, 72},
|
||||||
|
{ 2, 23, 12},
|
||||||
|
{ 7, 93, 49},
|
||||||
|
{ 16,209,109},
|
||||||
|
{ 8,107, 56},
|
||||||
|
{241,165, 14},
|
||||||
|
{153,105, 9},
|
||||||
|
{ 32, 22, 2},
|
||||||
|
{ 81, 56, 5},
|
||||||
|
{ 9, 6, 1},
|
||||||
|
{ 9,119, 62},
|
||||||
|
{ 13,170, 89},
|
||||||
|
{ 4, 54, 28},
|
||||||
|
{ 5, 62, 32},
|
||||||
|
{121, 83, 7},
|
||||||
|
{242,166, 14},
|
||||||
|
{170,116, 10},
|
||||||
|
{ 0, 1, 1},
|
||||||
|
{ 16,201,105},
|
||||||
|
{ 7, 85, 44},
|
||||||
|
{ 9,116, 60},
|
||||||
|
{ 25, 17, 1},
|
||||||
|
{193,133, 11},
|
||||||
|
{124, 85, 7},
|
||||||
|
{ 2, 25, 13},
|
||||||
|
{ 15, 10, 1},
|
||||||
|
{ 4, 47, 24},
|
||||||
|
{ 38, 26, 2},
|
||||||
|
{ 48, 33, 3},
|
||||||
|
{104, 72, 6},
|
||||||
|
{ 31, 21, 2},
|
||||||
|
{ 6, 72, 37},
|
||||||
|
{ 14,185, 97},
|
||||||
|
{ 18,228,119},
|
||||||
|
{203,139, 12},
|
||||||
|
{ 69, 48, 4},
|
||||||
|
{ 2, 29, 15},
|
||||||
|
{ 17,225,117},
|
||||||
|
{ 6, 82, 43},
|
||||||
|
{ 8,100, 52},
|
||||||
|
{115, 79, 7},
|
||||||
|
{160,110, 9},
|
||||||
|
{142, 98, 8},
|
||||||
|
{ 64, 44, 4},
|
||||||
|
{ 8,101, 52},
|
||||||
|
{ 7, 84, 44},
|
||||||
|
{103, 71, 6},
|
||||||
|
{ 8, 6, 0},
|
||||||
|
{123, 84, 7},
|
||||||
|
{ 3, 2, 0},
|
||||||
|
{ 2, 22, 11},
|
||||||
|
{ 13,162, 84},
|
||||||
|
{ 6, 73, 38},
|
||||||
|
{ 5, 66, 34},
|
||||||
|
{148,102, 9},
|
||||||
|
{ 4, 50, 26},
|
||||||
|
{ 3, 44, 23},
|
||||||
|
{169,116, 10},
|
||||||
|
{ 71, 49, 4},
|
||||||
|
{ 45, 31, 3},
|
||||||
|
{ 82, 56, 5},
|
||||||
|
{ 39, 27, 2},
|
||||||
|
{111, 76, 6},
|
||||||
|
{ 23, 16, 1},
|
||||||
|
{ 4, 58, 30},
|
||||||
|
{ 20,171,226},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255},
|
||||||
|
{255,255,255}
|
||||||
|
};
|
||||||
|
|
||||||
|
char s_data[] = {
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0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|
0,0,0,0,0,0,0,0,0,161,161,161,161,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,161,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,161,0,0,0,0,0,0,0,
|
||||||
|
161,161,161,161,0,0,161,0,161,161,161,0,0,0,161,161,
|
||||||
|
161,161,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,161,0,0,0,0,0,0,161,
|
||||||
|
0,0,0,0,0,0,161,161,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,161,161,161,161,0,0,161,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,161,0,161,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,161,0,161,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,161,0,0,0,0,161,0,161,
|
||||||
|
0,0,0,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,161,0,0,0,161,0,0,0,0,0,0,161,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,161,161,161,161,0,0,0,
|
||||||
|
161,161,161,161,0,0,161,0,0,0,0,0,0,0,161,161,
|
||||||
|
161,161,0,0,161,161,161,161,161,0,0,161,161,161,161,161,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||||
|
0,0,0,0,0,0,0,0
|
||||||
|
};
|
2
cnslock/include/applet.h
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
void make_new_cnslock_dockapp(int);
|
35
cnslock/include/cnslock.h
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
#ifndef CNSLOCK_H_
|
||||||
|
#define CNSLOCK_H_
|
||||||
|
|
||||||
|
#include <gdk/gdk.h>
|
||||||
|
#include <gdk/gdkx.h>
|
||||||
|
#include "defines.h"
|
||||||
|
|
||||||
|
/* this is the max size of the RGB buffer: 56 * 56 * 3
|
||||||
|
* used for memcpy, memset, etc operations */
|
||||||
|
#define RGBSIZE (XMAX * YMAX * 3)
|
||||||
|
|
||||||
|
/* main dockapp info structure. windows, buffers, etc */
|
||||||
|
typedef struct {
|
||||||
|
Display *display; /* X11 display */
|
||||||
|
GdkWindow *win; /* main window */
|
||||||
|
GdkWindow *iconwin; /* icon window */
|
||||||
|
GdkGC *gc; /* drawing GC */
|
||||||
|
GdkPixmap *pixmap; /* main dockapp pixmap */
|
||||||
|
GdkBitmap *mask; /* dockapp mask */
|
||||||
|
|
||||||
|
/* main image buffer */
|
||||||
|
unsigned char rgb[RGBSIZE];
|
||||||
|
|
||||||
|
/* back buffer - stores things we dont want to redraw all the time */
|
||||||
|
unsigned char bgr[RGBSIZE];
|
||||||
|
|
||||||
|
} AppletData;
|
||||||
|
|
||||||
|
extern AppletData ad;
|
||||||
|
extern int posx;
|
||||||
|
extern int posy;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
20
cnslock/include/defines.h
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
#ifndef DEFINES_H
|
||||||
|
#define DEFINES_H
|
||||||
|
|
||||||
|
/* Below this line, there are only defines that users don't have to
|
||||||
|
care about normally.
|
||||||
|
-----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
/* perform clipping outside this range, also this is the size of the
|
||||||
|
* drawing area */
|
||||||
|
|
||||||
|
#define XMIN 4
|
||||||
|
#define XMAX 56
|
||||||
|
#define YMIN 4
|
||||||
|
#define YMAX 56
|
||||||
|
|
||||||
|
#define WINDOWSIZE_X 64
|
||||||
|
#define WINDOWSIZE_Y 64
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
2
cnslock/include/kleds.h
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
void init_kleds(void);
|
||||||
|
int check_kleds(void);
|
37
cnslock/kleds.c
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
/*
|
||||||
|
This code is based upon some lines(actually two lines :-)
|
||||||
|
in E-Leds by Mathias Meisfjordskar<mathiasm@ifi.uio.no>
|
||||||
|
Released under GPL.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <X11/XKBlib.h>
|
||||||
|
|
||||||
|
#include "include/defines.h"
|
||||||
|
#include "include/kleds.h"
|
||||||
|
|
||||||
|
Display *display;
|
||||||
|
|
||||||
|
/*
|
||||||
|
Returns the turned on leds:
|
||||||
|
Bit 0 is Capslock
|
||||||
|
Bit 1 is Numlock
|
||||||
|
Bit 2 is Scrollock
|
||||||
|
*/
|
||||||
|
|
||||||
|
int check_kleds()
|
||||||
|
{
|
||||||
|
unsigned int states;
|
||||||
|
|
||||||
|
if (XkbGetIndicatorState(display, XkbUseCoreKbd, &states) != Success)
|
||||||
|
{
|
||||||
|
perror("Error while reading Indicator status\n");
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
return (states & 0x7);
|
||||||
|
}
|
||||||
|
|
||||||
|
void init_kleds()
|
||||||
|
{
|
||||||
|
display = XOpenDisplay(NULL);
|
||||||
|
}
|