From owner-svn-soc-all@FreeBSD.ORG Fri Jul 25 00:07:12 2014 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0B03FB4F for ; Fri, 25 Jul 2014 00:07:12 +0000 (UTC) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50:2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EB27E28C8 for ; Fri, 25 Jul 2014 00:07:11 +0000 (UTC) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6P07B2k090050 for ; Fri, 25 Jul 2014 00:07:11 GMT (envelope-from seiya@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.14.8/8.14.8/Submit) id s6P07Bu4089994 for svn-soc-all@FreeBSD.org; Fri, 25 Jul 2014 00:07:11 GMT (envelope-from seiya@FreeBSD.org) Date: Fri, 25 Jul 2014 00:07:11 GMT Message-Id: <201407250007.s6P07Bu4089994@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to seiya@FreeBSD.org using -f From: seiya@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r271351 - soc2014/seiya/bootsplash/sys/dev/fb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2014 00:07:12 -0000 Author: seiya Date: Fri Jul 25 00:07:11 2014 New Revision: 271351 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=271351 Log: tiny enhancement Modified: soc2014/seiya/bootsplash/sys/dev/fb/bsplash.c Modified: soc2014/seiya/bootsplash/sys/dev/fb/bsplash.c ============================================================================== --- soc2014/seiya/bootsplash/sys/dev/fb/bsplash.c Thu Jul 24 23:14:03 2014 (r271350) +++ soc2014/seiya/bootsplash/sys/dev/fb/bsplash.c Fri Jul 25 00:07:11 2014 (r271351) @@ -52,20 +52,14 @@ static video_adapter_t *adp = NULL; static BMP_INFO bmp_info; -static int background_y_origin = -1; -static int background_enabled = 1; -static int animation_y_origin = -1; -static int animation_y = -1; -static int animation_x = -1; -static int animation_width = -1; -static int animation_height = -1; +static int background_enabled = 1; // 1:enabled, 0:disabled +static int background_y_origin; static int animation_enabled = 1; // 1:enabled, 0:disabled -static int progress_bar_y_origin = -1; -static int progress_bar_y = -1; -static int progress_bar_x = -1; -static int progress_bar_width = -1; -static int progress_bar_height = -1; +static int animation_y_origin, animation_y, animation_x; +static int animation_width, animation_height; static int progress_bar_enabled = 1; // 1:enabled, 0:disabled +static int progress_bar_y_origin, progress_bar_y, progress_bar_x; +static int progress_bar_width, progress_bar_height; int