GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: a tiny graphical app kit for ruby
Homepage: http://code.whytheluckystiff.net/shoes
Clone URL: git://github.com/why/shoes.git
* shoes/appwin32.ico: the 16x16 to 64x64 icon for windows, larger version 
on its way soon.
why (author)
Tue Aug 21 21:39:17 -0700 2007
commit  15aaaeeb13d1c877590bc04390044f5b06991d7f
tree    c612f0067418ee63c5117c45e183d5f5bae5afb6
parent  2d5cadce51257b20a1681d48e503b143643fe207
...
108
109
110
 
111
112
113
...
108
109
110
111
112
113
114
0
@@ -108,6 +108,7 @@ task :build => :build_os do
0
     `echo -n 'APPL????' > "#{APPNAME}.app/Contents/PkgInfo"`
0
   when /win32/
0
     cp "platform/msw/shoes.exe.manifest", "dist"
0
+ cp "dist/zlib1.dll", "dist/zlib.dll"
0
   end
0
 end
0
 
...
1070
1071
1072
1073
1074
 
 
1075
1076
1077
...
1070
1071
1072
 
 
1073
1074
1075
1076
1077
0
@@ -1070,8 +1070,8 @@ shoes_app_open(shoes_app *app)
0
   app->kit.classex.lpfnWndProc = shoes_app_win32proc;
0
   app->kit.classex.style = CS_HREDRAW | CS_VREDRAW;
0
   app->kit.classex.cbSize = sizeof(WNDCLASSEX);
0
- app->kit.classex.hIcon = LoadIcon(NULL, IDI_APPLICATION);
0
- app->kit.classex.hIconSm = LoadIcon(NULL, IDI_APPLICATION);
0
+ app->kit.classex.hIcon = LoadIcon(app->kit.instance, IDI_APPLICATION);
0
+ app->kit.classex.hIconSm = LoadIcon(app->kit.instance, IDI_APPLICATION);
0
   app->kit.classex.hCursor = LoadCursor(NULL, IDC_ARROW);
0
   app->kit.classex.lpszMenuName = NULL;
0
   app->kit.classex.cbClsExtra = 0;
...
1
2
3
 
 
 
4
5
6
...
1
2
3
4
5
6
7
8
9
0
@@ -1,6 +1,9 @@
0
 #include <windows.h>
0
 #include "shoes/appwin32.h"
0
 
0
+IDI_APPLICATION ICON
0
+"appwin32.ico"
0
+
0
 ASKDLG DIALOG 20, 20, 299, 79
0
 STYLE DS_SETFONT |DS_MODALFRAME |WS_POPUP |WS_VISIBLE |WS_SYSMENU |WS_CAPTION
0
 CAPTION "Shoes asks:"

Comments

    No one has commented yet.