Rev 7806 | Rev 7910 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7806 | Rev 7863 | ||
---|---|---|---|
Line 320... | Line 320... | ||
320 | //useful for list of controls which goes one after one |
320 | //useful for list of controls which goes one after one |
321 | :struct incn |
321 | :struct incn |
322 | { |
322 | { |
323 | dword n; |
323 | dword n; |
324 | dword inc(dword _addition); |
324 | dword inc(dword _addition); |
- | 325 | dword set(dword _new_val); |
|
325 | }; |
326 | }; |
Line 326... | Line 327... | ||
326 | 327 | ||
327 | :dword incn::inc(dword _addition) |
328 | :dword incn::inc(dword _addition) |
328 | { |
329 | { |
329 | n+=_addition; |
330 | n += _addition; |
330 | return n; |
331 | return n; |
Line -... | Line 332... | ||
- | 332 | } |
|
- | 333 | ||
- | 334 | :dword incn::set(dword _new_val) |
|
- | 335 | { |
|
- | 336 | n =_new_val; |
|
- | 337 | return n; |
|
331 | } |
338 | } |
332 | 339 | ||
333 | //block with hover |
340 | //block with hover |
334 | struct block { |
341 | struct block { |
335 | int x,y,w,h; |
342 | int x,y,w,h; |