public inbox for xconq-cvs@sourceware.org
help / color / mirror / Atom feed
From: shebs@sourceware.cygnus.com
To: xconq-cvs@sourceware.cygnus.com
Subject: xconq ./ChangeLog sdl/sdlcmd.c sdl/sdlconq.h s ...
Date: Mon, 26 Mar 2001 09:14:00 -0000	[thread overview]
Message-ID: <20010326171411.4710.qmail@sourceware.cygnus.com> (raw)

CVSROOT:	/cvs/xconq
Module name:	xconq
Changes by:	shebs@sources.redhat.com	2001-03-26 09:14:11

Modified files:
	.              : ChangeLog 
	sdl            : sdlcmd.c sdlconq.h sdlmain.c sdlscreen.c 

Log message:
	Add buttons to SDL interface, use for construction.  Also
	allow panels to be transparent, add mouseover help.
	* sdlconq.h (Panel overlay, label, buttons, numbuttons): New
	fields.
	(Button): New structure.
	* sdlmain.c (handle_mouse_down_in_panel): New function.
	(handle_mouse_down): Use it.
	* sdlscreen.c (create_panel): Add screen argument.
	(open_screen): Move panel_specific code to create_panel,
	add panel labels.
	(create_panel): Add a group of buttons.
	(set_panel_sizes): Account for transparent panels.
	(draw_panel): Only draw background if not transparent, tweak
	position of expand/contract button, draw buttons.
	(struct protobutton): New structure, info about possible
	buttons.
	(protobuttons, num_protobuttons, button_offset): New globals.
	(prev_button_fn, next_button_fn, build_button_fn): New functions.
	(update_unit_info): Fill in the bottom panel button with
	construction actions.
	(create_button, draw_button): New functions.
	(draw_world_map): Change calc to area to clear.
	* sdlcmd.c (impl_build): Make extern.
	
	* sdlmain.c (screen_oneliner): New function.
	(update_mouseover): Use it.
	* sdlscreen.c (draw_mouseover_panel): Ditto.


             reply	other threads:[~2001-03-26  9:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-26  9:14 shebs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-03-16  5:16 shebs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010326171411.4710.qmail@sourceware.cygnus.com \
    --to=shebs@sourceware.cygnus.com \
    --cc=xconq-cvs@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).