xaizek / vifm-pdcurses (License: mostly public domain) (since 2019-03-20)
PDCurses 3.4 with vifm-specific patches applied (a couple were upstreamed)
<root> / x11 / ScrollBox.h (58258627449650f6c0c3411919dbb70b050f0f5f) (2,270B) (mode 100644) [raw]
/*
 * Copyright 1989 O'Reilly and Associates, Inc.

     The X Consortium, and any party obtaining a copy of these files from
     the X Consortium, directly or indirectly, is granted, free of charge, a
     full and unrestricted irrevocable, world-wide, paid up, royalty-free,
     nonexclusive right and license to deal in this software and
     documentation files (the "Software"), including without limitation the
     rights to use, copy, modify, merge, publish, distribute, sublicense,
     and/or sell copies of the Software, and to permit persons who receive
     copies from any such party to do so.  This license includes without
     limitation a license to do the foregoing actions under any patents of
     the party supplying this software to the X Consortium.

     $Id: ScrollBox.h,v 1.4 2008/07/14 04:24:52 wmcbrine Exp $
 */

#ifndef _XORAscrollBox_h
#define _XORAscrollBox_h

/************************************************************************
 *                                                                      *
 * scrollBox Widget (subclass of CompositeClass)                        *
 *                                                                      *
 ************************************************************************/

/* Parameters:

 Name               Class              RepType      Default Value
 ----               -----              -------      -------------
 background         Background         Pixel        XtDefaultBackground
 border             BorderColor        Pixel        XtDefaultForeground
 borderWidth        BorderWidth        Dimension    1
 destroyCallback    Callback           Pointer      NULL
 hSpace             HSpace             Dimension    4
 height             Height             Dimension    0
 mappedWhenManaged  MappedWhenManaged  Boolean      True
 vSpace             VSpace             Dimension    4
 width              Width              Dimension    0
 x                  Position           Position     0
 y                  Position           Position     0

*/


/* Class record constants */

extern WidgetClass scrollBoxWidgetClass;

typedef struct _ScrollBoxClassRec *ScrollBoxWidgetClass;
typedef struct _ScrollBoxRec      *ScrollBoxWidget;

#endif /* _XORAscrollBox_h */
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm-pdcurses

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm-pdcurses

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master