-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 873610a
Showing
8 changed files
with
2,332 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,19 @@ | |||
// Guitor.winxhead | |||
|
|||
// Declarations for Guitor | |||
|
|||
$include "GuitorConstants.winxhead"; | |||
|
|||
namespace Guitor | |||
{ | |||
|
|||
class Display; | |||
class Event; | |||
|
|||
class Controller; | |||
class TopLevelWindow; | |||
class ChildWindow; | |||
|
|||
} | |||
|
|||
// End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,37 @@ | |||
// GuitorConstants.winxhead | |||
|
|||
// Declarations for Guitor | |||
// Xlib constants commonly used | |||
|
|||
namespace Guitor | |||
{ | |||
|
|||
namespace Events | |||
{ | |||
|
|||
// Event selection masks | |||
const int KeyPressMask = 0x00000001; | |||
const int KeyReleaseMask = 0x00000002; | |||
const int ButtonPressMask = 0x00000004; | |||
const int ButtonReleaseMask = 0x00000008; | |||
const int EnterWindowMask = 0x00000010; | |||
const int LeaveWindowMask = 0x00000020; | |||
const int PointerMotionMask = 0x00000040; | |||
const int ExposureMask = 0x00008000; | |||
const int StructureNotifyMask = 0x00020000; | |||
// Event types | |||
const int KeyPress = 2; | |||
const int KeyRelease = 3; | |||
const int ButtonPress = 4; | |||
const int ButtonRelease = 5; | |||
const int MotionNotify = 6; | |||
const int Expose = 12; | |||
const int DestroyNotify = 17; | |||
const int ConfigureNotify = 22; | |||
const int ClientMessage = 33; | |||
|
|||
} | |||
|
|||
} | |||
|
|||
// End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,7 @@ | |||
Guitor (C) 2011 Julián Albo | |||
|
|||
Guitor is a parrot module for building GUI using Xlib. | |||
|
|||
Use the Makefile or seetup winxed | |||
|
|||
Under development. Tested only with Linux amd64. |
Oops, something went wrong.