mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-22 09:12:22 -05:00
added support for op+3 icons
This commit is contained in:
parent
64f1a43d07
commit
da43158772
@ -34,6 +34,7 @@
|
||||
GdkPixbuf *pix_xchat;
|
||||
GdkPixbuf *pix_book;
|
||||
|
||||
GdkPixbuf *pix_orange;
|
||||
GdkPixbuf *pix_purple;
|
||||
GdkPixbuf *pix_red;
|
||||
GdkPixbuf *pix_op;
|
||||
@ -127,6 +128,7 @@ pixmaps_init (void)
|
||||
|
||||
/* userlist icons, with inlined defaults */
|
||||
pix_hop = load_pixmap ("hop", hoppng, 1);
|
||||
pix_orange = load_pixmap ("orange", orangepng, 1);
|
||||
pix_purple = load_pixmap ("purple", purplepng, 1);
|
||||
pix_red = load_pixmap ("red", redpng, 1);
|
||||
pix_op = load_pixmap ("op", oppng, 1);
|
||||
|
@ -1,5 +1,6 @@
|
||||
extern GdkPixbuf *pix_book;
|
||||
extern GdkPixbuf *pix_hop;
|
||||
extern GdkPixbuf *pix_orange;
|
||||
extern GdkPixbuf *pix_purple;
|
||||
extern GdkPixbuf *pix_red;
|
||||
extern GdkPixbuf *pix_op;
|
||||
|
@ -96,8 +96,9 @@ get_user_icon (server *serv, struct User *user)
|
||||
{
|
||||
case 0: return pix_red; /* 1 level above op */
|
||||
case 1: return pix_purple; /* 2 levels above op */
|
||||
case 2: return pix_orange; /* 3 levels above op */
|
||||
}
|
||||
break; /* 3+, no icons */
|
||||
break; /* 4+, no icons */
|
||||
}
|
||||
level++;
|
||||
if (pre == serv->nick_prefixes)
|
||||
|
@ -6,6 +6,7 @@ LIST = traymsgpng $(srcdir)/message.png \
|
||||
bookpng $(srcdir)/book.png \
|
||||
hoppng $(srcdir)/hop.png \
|
||||
oppng $(srcdir)/op.png \
|
||||
orangepng $(srcdir)/orange.png \
|
||||
purplepng $(srcdir)/purple.png \
|
||||
redpng $(srcdir)/red.png \
|
||||
voicepng $(srcdir)/voice.png \
|
||||
@ -15,7 +16,7 @@ LIST = traymsgpng $(srcdir)/message.png \
|
||||
utilpng $(srcdir)/util.png \
|
||||
hexchatpng $(srcdir)/../../hexchat.png
|
||||
|
||||
PNGS = message.png highlight.png fileoffer.png book.png hop.png op.png purple.png red.png voice.png channel.png dialog.png server.png util.png
|
||||
PNGS = message.png highlight.png fileoffer.png book.png hop.png op.png orange.png purple.png red.png voice.png channel.png dialog.png server.png util.png
|
||||
noinst_HEADERS = inline_pngs.h
|
||||
CLEANFILES = $(noinst_HEADERS)
|
||||
EXTRA_DIST = $(PNGS)
|
||||
|
BIN
src/pixmaps/orange.png
Normal file
BIN
src/pixmaps/orange.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 788 B |
@ -101,6 +101,7 @@
|
||||
<None Include="hop.png" />
|
||||
<None Include="message.png" />
|
||||
<None Include="op.png" />
|
||||
<None Include="orange.png" />
|
||||
<None Include="purple.png" />
|
||||
<None Include="red.png" />
|
||||
<None Include="server.png" />
|
||||
|
@ -25,6 +25,9 @@
|
||||
<None Include="op.png">
|
||||
<Filter>Resource Files</Filter>
|
||||
</None>
|
||||
<None Include="orange.png">
|
||||
<Filter>Resource Files</Filter>
|
||||
</None>
|
||||
<None Include="purple.png">
|
||||
<Filter>Resource Files</Filter>
|
||||
</None>
|
||||
|
@ -98,6 +98,7 @@
|
||||
<None Include="hop.png" />
|
||||
<None Include="message.png" />
|
||||
<None Include="op.png" />
|
||||
<None Include="orange.png" />
|
||||
<None Include="purple.png" />
|
||||
<None Include="red.png" />
|
||||
<None Include="server.png" />
|
||||
|
@ -25,6 +25,9 @@
|
||||
<None Include="op.png">
|
||||
<Filter>Resource Files</Filter>
|
||||
</None>
|
||||
<None Include="orange.png">
|
||||
<Filter>Resource Files</Filter>
|
||||
</None>
|
||||
<None Include="purple.png">
|
||||
<Filter>Resource Files</Filter>
|
||||
</None>
|
||||
|
@ -34,7 +34,7 @@
|
||||
<PythonOutput>hcpython</PythonOutput>
|
||||
<Glib>$(DepsRoot)\include\glib-2.0;$(DepsRoot)\lib\glib-2.0\include;$(DepsRoot)\include\libxml2</Glib>
|
||||
<Gtk>$(DepsRoot)\include\gtk-2.0;$(DepsRoot)\lib\gtk-2.0\include;$(DepsRoot)\include\atk-1.0;$(DepsRoot)\include\cairo;$(DepsRoot)\include\pango-1.0;$(DepsRoot)\include\gdk-pixbuf-2.0</Gtk>
|
||||
<Pixmaps>bookpng "$(SolutionDir)\..\src\pixmaps\book.png" hoppng "$(SolutionDir)\..\src\pixmaps\hop.png" oppng "$(SolutionDir)\..\src\pixmaps\op.png" purplepng "$(SolutionDir)\..\src\pixmaps\purple.png" redpng "$(SolutionDir)\..\src\pixmaps\red.png" trayfilepng "$(SolutionDir)\..\src\pixmaps\fileoffer.png" trayhilightpng "$(SolutionDir)\..\src\pixmaps\highlight.png" traymsgpng "$(SolutionDir)\..\src\pixmaps\message.png" voicepng "$(SolutionDir)\..\src\pixmaps\voice.png" channelpng "$(SolutionDir)\..\src\pixmaps\channel.png" dialogpng "$(SolutionDir)\..\src\pixmaps\dialog.png" serverpng "$(SolutionDir)\..\src\pixmaps\server.png" utilpng "$(SolutionDir)\..\src\pixmaps\util.png" hexchatpng "$(SolutionDir)\..\hexchat.png"</Pixmaps>
|
||||
<Pixmaps>bookpng "$(SolutionDir)\..\src\pixmaps\book.png" hoppng "$(SolutionDir)\..\src\pixmaps\hop.png" oppng "$(SolutionDir)\..\src\pixmaps\op.png" orangepng "$(SolutionDir)\..\src\pixmaps\orange.png" purplepng "$(SolutionDir)\..\src\pixmaps\purple.png" redpng "$(SolutionDir)\..\src\pixmaps\red.png" trayfilepng "$(SolutionDir)\..\src\pixmaps\fileoffer.png" trayhilightpng "$(SolutionDir)\..\src\pixmaps\highlight.png" traymsgpng "$(SolutionDir)\..\src\pixmaps\message.png" voicepng "$(SolutionDir)\..\src\pixmaps\voice.png" channelpng "$(SolutionDir)\..\src\pixmaps\channel.png" dialogpng "$(SolutionDir)\..\src\pixmaps\dialog.png" serverpng "$(SolutionDir)\..\src\pixmaps\server.png" utilpng "$(SolutionDir)\..\src\pixmaps\util.png" hexchatpng "$(SolutionDir)\..\hexchat.png"</Pixmaps>
|
||||
<DepLibs>gtk-win32-2.0.lib;gdk-win32-2.0.lib;atk-1.0.lib;gio-2.0.lib;gdk_pixbuf-2.0.lib;pangowin32-1.0.lib;pangocairo-1.0.lib;pango-1.0.lib;cairo.lib;gobject-2.0.lib;gmodule-2.0.lib;glib-2.0.lib;intl.lib;libxml2.lib;libeay32.lib;ssleay32.lib;wininet.lib;winmm.lib;ws2_32.lib</DepLibs>
|
||||
<HexChatBuild>$(SolutionDir)build-xp</HexChatBuild>
|
||||
<HexChatBin>$(HexChatBuild)\$(PlatformName)\bin\</HexChatBin>
|
||||
|
@ -36,7 +36,7 @@
|
||||
<PythonOutput>hcpython</PythonOutput>
|
||||
<Glib>$(DepsRoot)\include\glib-2.0;$(DepsRoot)\lib\glib-2.0\include;$(DepsRoot)\include\libxml2</Glib>
|
||||
<Gtk>$(DepsRoot)\include\gtk-2.0;$(DepsRoot)\lib\gtk-2.0\include;$(DepsRoot)\include\atk-1.0;$(DepsRoot)\include\cairo;$(DepsRoot)\include\pango-1.0;$(DepsRoot)\include\gdk-pixbuf-2.0</Gtk>
|
||||
<Pixmaps>bookpng "$(SolutionDir)\..\src\pixmaps\book.png" hoppng "$(SolutionDir)\..\src\pixmaps\hop.png" oppng "$(SolutionDir)\..\src\pixmaps\op.png" purplepng "$(SolutionDir)\..\src\pixmaps\purple.png" redpng "$(SolutionDir)\..\src\pixmaps\red.png" trayfilepng "$(SolutionDir)\..\src\pixmaps\fileoffer.png" trayhilightpng "$(SolutionDir)\..\src\pixmaps\highlight.png" traymsgpng "$(SolutionDir)\..\src\pixmaps\message.png" voicepng "$(SolutionDir)\..\src\pixmaps\voice.png" channelpng "$(SolutionDir)\..\src\pixmaps\channel.png" dialogpng "$(SolutionDir)\..\src\pixmaps\dialog.png" serverpng "$(SolutionDir)\..\src\pixmaps\server.png" utilpng "$(SolutionDir)\..\src\pixmaps\util.png" hexchatpng "$(SolutionDir)\..\hexchat.png"</Pixmaps>
|
||||
<Pixmaps>bookpng "$(SolutionDir)\..\src\pixmaps\book.png" hoppng "$(SolutionDir)\..\src\pixmaps\hop.png" oppng "$(SolutionDir)\..\src\pixmaps\op.png" orangepng "$(SolutionDir)\..\src\pixmaps\orange.png" purplepng "$(SolutionDir)\..\src\pixmaps\purple.png" redpng "$(SolutionDir)\..\src\pixmaps\red.png" trayfilepng "$(SolutionDir)\..\src\pixmaps\fileoffer.png" trayhilightpng "$(SolutionDir)\..\src\pixmaps\highlight.png" traymsgpng "$(SolutionDir)\..\src\pixmaps\message.png" voicepng "$(SolutionDir)\..\src\pixmaps\voice.png" channelpng "$(SolutionDir)\..\src\pixmaps\channel.png" dialogpng "$(SolutionDir)\..\src\pixmaps\dialog.png" serverpng "$(SolutionDir)\..\src\pixmaps\server.png" utilpng "$(SolutionDir)\..\src\pixmaps\util.png" hexchatpng "$(SolutionDir)\..\hexchat.png"</Pixmaps>
|
||||
<DepLibs>gtk-win32-2.0.lib;gdk-win32-2.0.lib;atk-1.0.lib;gio-2.0.lib;gdk_pixbuf-2.0.lib;pangowin32-1.0.lib;pangocairo-1.0.lib;pango-1.0.lib;cairo.lib;gobject-2.0.lib;gmodule-2.0.lib;glib-2.0.lib;libintl.lib;libxml2.lib;libeay32.lib;ssleay32.lib;wininet.lib;winmm.lib;ws2_32.lib</DepLibs>
|
||||
<HexChatBuild>$(SolutionDir)build</HexChatBuild>
|
||||
<HexChatBin>$(HexChatBuild)\$(PlatformName)\bin\</HexChatBin>
|
||||
|
Loading…
Reference in New Issue
Block a user