[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] clarification of render_obj.c and gradient themes



in render_obj.c at line 136 there is a #define in the middle of a
struct definition

struct theme
{
	struct xa_data_hdr h;

#define NAES3D			1
	unsigned long rflags;


also at the bottom of that same struct #if WITH_GRADIENTS there are
some (default?) gradients structs defined starting with:
 static struct xa_gradient menu_gradient =

the first seven (7) of which are also defined in each gradient file
(last 7 in each file), however the next three (3) structs are missing
from all gradient files:
static struct xa_gradient box_gradient =
static struct xa_gradient box_gradient2 =
static struct xa_gradient text_gradient =

those last 3 should (also?) be in each gradient file for theming continuity

Lastly, some clarification of individual gradients...

what are the ".._grey_gradient" used for in the interface?
 otop_grey_gradient
 utop_grey_gradient

whats the applied (visual) definition of:
 menu_gradient = menu background ?
 sel_title_gradient = title bar when selected/clicked ?
 sel_popent_gradient = menu item/entry ?
 indbutt_gradient = (all) buttons ?
 sel_indbutt_gradient = button when selected (default?) ?
 actbutt_gradient = active button ? (when clicked?)
 popbkg_gradient = popup menu background ?
 box_gradient = (any) box area background ? (including window?)
 box_gradient2 = (different type of) box background ?
 text_gradient = any text area/entry/box background ?


I'll put the resulting info (along with gradient method types and
options) into a doc that can then be used to build a (visual) config
tool, and help people understand how t change themes more thoroughly
(in the meantime)

I thought I outlined the gradient methods in a text file that used to
be in "./xaaes/km.src/" but is no longer there. Only the IMG info from
that is present in the wiki, not the gradient info

Cheers

Paul