Rev 5542 | Rev 5674 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5542 | Rev 5598 | ||
---|---|---|---|
Line -... | Line 1... | ||
- | 1 | #ifndef INCLUDE_GUI_H |
|
- | 2 | #define INCLUDE_GUI_H |
|
- | 3 | ||
- | 4 | #ifndef INCLUDE_KOLIBRI_H |
|
- | 5 | #include "../lib/kolibri.h" |
|
- | 6 | #endif |
|
- | 7 | ||
- | 8 | #ifndef INCLUDE_STRING_H |
|
1 | //#include "strings.h" |
9 | #include "../lib/strings.h" |
- | 10 | #endif |
|
Line 2... | Line 11... | ||
2 | 11 | ||
3 | :void DrawRectangle(dword x,y,w,h,color1) |
12 | :void DrawRectangle(dword x,y,w,h,color1) |
4 | { |
13 | { |
5 | if (w<=0) || (h<=0) return; |
14 | if (w<=0) || (h<=0) return; |
Line 167... | Line 176... | ||
167 | { |
176 | { |
168 | col = strength * DSBYTE[color_image] / 10; |
177 | col = strength * DSBYTE[color_image] / 10; |
169 | DSBYTE[color_image] = col; |
178 | DSBYTE[color_image] = col; |
170 | } |
179 | } |
171 | }>>=100) |
180 | } |
172 | >=0)>=0)>>=0)>=0)>=0)>=0)> |
181 | |
- | 182 | #endif>>=100) |
|
- | 183 | >=0)>=0)>>=0)>=0)>=0)>=0)> |
|
173 | 184 |