Move updateLayerStates() and getActiveLayer() into the newly created layer.c

This commit is contained in:
László Monda
2017-11-03 18:53:17 +01:00
parent aeb325a09f
commit e169627cde
3 changed files with 88 additions and 69 deletions

View File

@@ -1,6 +1,10 @@
#ifndef __LAYER_H__
#define __LAYER_H__
// Includes:
#include "fsl_common.h"
// Macros:
#define LAYER_COUNT 4
@@ -14,4 +18,13 @@
LayerId_Mouse,
} layer_id_t;
// Variables:
extern layer_id_t PreviousHeldLayer;
// Functions:
layer_id_t GetActiveLayer();
#endif