Mercurial > dwindows
comparison gtk/dw.c @ 561:c0a708e2cba3
Removed dw_percent_get_range() to simplify coding. The range is now always
0 to 100 no matter what platform or widget size.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 21 Apr 2004 05:33:51 +0000 |
parents | 05060ce4d6ae |
children | d7c61755a57b |
comparison
equal
deleted
inserted
replaced
560:7ca86c417a58 | 561:c0a708e2cba3 |
---|---|
4628 DW_MUTEX_UNLOCK; | 4628 DW_MUTEX_UNLOCK; |
4629 #endif | 4629 #endif |
4630 } | 4630 } |
4631 | 4631 |
4632 /* | 4632 /* |
4633 * Returns the range of the percent bar. | |
4634 * Parameters: | |
4635 * handle: Handle to the percent bar to be queried. | |
4636 */ | |
4637 unsigned int dw_percent_get_range(HWND handle) | |
4638 { | |
4639 return 100; | |
4640 } | |
4641 | |
4642 /* | |
4643 * Sets the percent bar position. | 4633 * Sets the percent bar position. |
4644 * Parameters: | 4634 * Parameters: |
4645 * handle: Handle to the percent bar to be set. | 4635 * handle: Handle to the percent bar to be set. |
4646 * position: Position of the percent bar withing the range. | 4636 * position: Position of the percent bar withing the range. |
4647 */ | 4637 */ |