From a1b3a5cda3e2a86f9e8e8f4d3b36ecf80f2fec58 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 7 May 2008 19:21:50 +0000 Subject: [PATCH] Add 16x16 paint palette icon for changing the color of a sticky note. Not yet functional. --- webcit/README.txt | 4 ++++ webcit/notes.c | 7 +++++++ webcit/static/8paint16.gif | Bin 0 -> 1033 bytes webcit/static/webcit.css | 2 +- 4 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 webcit/static/8paint16.gif diff --git a/webcit/README.txt b/webcit/README.txt index d864e81d1..c82017bdc 100644 --- a/webcit/README.txt +++ b/webcit/README.txt @@ -36,6 +36,10 @@ [http://cerca.html.it/cgi-bin/cerca.cgi?q=nifty+corners]. This component is licensed to you under the terms of the GNU General Public License. + One or more icons are from Milosz Wlazlo [http://miloszwl.deviantart.com] + whose license explicitly allows inclusion in open source projects on the + condition of this attribution. + The Citadel logo was designed by Lisa Aurigemma. diff --git a/webcit/notes.c b/webcit/notes.c index e77982d2e..e3589b2ae 100644 --- a/webcit/notes.c +++ b/webcit/notes.c @@ -34,6 +34,12 @@ void display_vnote_div(struct vnote *v) { wprintf("\">"); wprintf(""); + + wprintf(""); + wprintf(""); // nothing in the title bar, it's just for dragging wprintf("
"); + wprintf(""); + wprintf(""); @@ -208,6 +214,7 @@ void ajax_update_note(void) { return; } msgnum = atol(&buf[4]); + lprintf(9, "Note msg = %ld\n", msgnum); // Was this request a delete operation? If so, nuke it... if (havebstr("deletenote")) { diff --git a/webcit/static/8paint16.gif b/webcit/static/8paint16.gif new file mode 100644 index 0000000000000000000000000000000000000000..5c2b48fe012d6780b5829d33c56761f46a3d4231 GIT binary patch literal 1033 zcmZ?wbhEHb6krfwc;3vwGLh+-+fs%(tPBOW_lq&y-KhEY{a0FOJaDo$D$>g{qE`D^Ef$o_2?((!Wb&998zMqx69z`$HgZdL$Vi&UEL6{ zvRUTjmf*>G;>(JeW~MP5o6fy|j{f8fj+vQk+o$Pu#xV3}2^?Bycy*h@n@cW7f>h_# zDExmIb8?mS`R&n<&PTm{n)QDa3`7Vh{$ybkVffFW!vF-JJi);6jNw1$A92+#W_Hg> zJTX7=IV743l#a~wXniQq&bgsRQHh0ZuC)Sd6Qgo_Bd?x9gv`rFi+TBE1pf7=2s}C> z$z#_g6XEFCJatB(h=hRS12;Z##;6sJo1e3`%;0<0^T2p1I~S)>Psqp1PoCSe3*K3h z7<}+Bn=r4=lnc%5OfnV?Gj^OTe(EJACC}n;@iU9lBrC%`Iu#5p$K_?S88kR2Gd6K) zm7Oq=3}#^D)bz;WxbnuLq_Jtl9JO aa@*nA^9{xAWc_R`4%Z*;<>ujFum%7L_Mt!k literal 0 HcmV?d00001 diff --git a/webcit/static/webcit.css b/webcit/static/webcit.css index 3015ad70e..f30283460 100644 --- a/webcit/static/webcit.css +++ b/webcit/static/webcit.css @@ -1351,7 +1351,7 @@ li.event_unread span, a.event_read_title { .stickynote_titlebar { position: relative; width: 100%; - height: 15px; + height: 16px; top: 0px; left: 0px; background-color: #888800; -- 2.30.2