fix warnings
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@363 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
c531bf45a0
commit
913a0e0136
8 changed files with 57 additions and 3 deletions
|
|
@ -14,12 +14,19 @@ static int get_first_entry(MwListBox lb) {
|
|||
|
||||
static void vscroll_changed(MwWidget handle, void* user, void* call) {
|
||||
MwListBox lb = handle->parent->internal;
|
||||
|
||||
(void)user;
|
||||
(void)call;
|
||||
|
||||
MwForceRender(lb->frame);
|
||||
}
|
||||
|
||||
static void frame_mouse_down(MwWidget handle, void* user, void* call) {
|
||||
MwListBox lb = handle->parent->internal;
|
||||
MwLLMouse* m = call;
|
||||
|
||||
(void)user;
|
||||
|
||||
if(m->button == MwLLMouseLeft) {
|
||||
int st = 0;
|
||||
int i;
|
||||
|
|
@ -47,6 +54,9 @@ static void frame_mouse_down(MwWidget handle, void* user, void* call) {
|
|||
static void frame_mouse_up(MwWidget handle, void* user, void* call) {
|
||||
MwListBox lb = handle->parent->internal;
|
||||
MwLLMouse* m = call;
|
||||
|
||||
(void)user;
|
||||
|
||||
if(m->button == MwLLMouseLeft) {
|
||||
lb->pressed = 0;
|
||||
}
|
||||
|
|
@ -55,6 +65,9 @@ static void frame_mouse_up(MwWidget handle, void* user, void* call) {
|
|||
static void frame_mouse_move(MwWidget handle, void* user, void* call) {
|
||||
MwListBox lb = handle->parent->internal;
|
||||
MwPoint* p = call;
|
||||
|
||||
(void)user;
|
||||
|
||||
if(lb->pressed) {
|
||||
int st = 0;
|
||||
int i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue