[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] some gem question
Exactly how do you try to resize the window? Which AES are you testing
with? I dont see no reason for this to be a problem.
Ok, I found the bug. So, for the next generations :)
tree[ROOT].ob_height += 20; /* dialog box */
g_winDialogs[WD_PLUGIN]->work.g_h += 20; /* window height */
wind_calc_grect (WC_BORDER, g_winDialogs[WD_PLUGIN]->win_kind,
&g_winDialogs[WD_PLUGIN]->work, &temp );
wind_set_grect( g_winDialogs[WD_PLUGIN]->win_handle, WF_CURRXYWH, &temp );
I missed that wind_calc & wind_set in my resize routine. Now I've got a
problem it works only with the original tree and not with the new one I
want to use but this has nothing to do with aes.
I'm in the process of implementing decent keyboard navigation to XaAES
(similar to what is found on other GUI's like KDE, Windows...), but I'm
disappointed discovering how few apps this is gonna work with because of
the "I'll do this here myself, I dont give a shit about the OS"
mentality. For this keyboard navigation only apps that use form_button
(), form_keyboard() in their form handler function will work.
This isn't my goal, to make aes-ignoring application but imagine you
want to do completely skinable dialog... so you will have nice sliders,
windows and... stupid system slider where you can change max. the
background colour (IIRC). What to do then?
--
----------------------------------------------------------------------------
MiKRO Atari XE/XL/Mega STE/Falcon060 http://mikro.atari.org
----------------------------------------------------------------------------